Home
last modified time | relevance | path

Searched refs:hidepid (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/kernel/fs/proc/
H A Droot.c35 enum proc_hidepid hidepid; member
74 ctx->hidepid = result.uint_32; in proc_parse_hidepid_param()
79 ctx->hidepid = HIDEPID_OFF; in proc_parse_hidepid_param()
81 ctx->hidepid = HIDEPID_NO_ACCESS; in proc_parse_hidepid_param()
83 ctx->hidepid = HIDEPID_INVISIBLE; in proc_parse_hidepid_param()
85 ctx->hidepid = HIDEPID_NOT_PTRACEABLE; in proc_parse_hidepid_param()
157 fs_info->hide_pid = ctx->hidepid; in proc_apply_options()
/OK3568_Linux_fs/kernel/tools/testing/selftests/proc/
H A Dproc-fsconfig-hidepid.c36 int hidepid = 2; in main() local
40 ret = fsconfig(fsfd, FSCONFIG_SET_BINARY, "hidepid", &hidepid, 0); in main()
H A D.gitignore5 /proc-fsconfig-hidepid
H A DMakefile23 TEST_GEN_PROGS += proc-fsconfig-hidepid
/OK3568_Linux_fs/kernel/Documentation/filesystems/
H A Dproc.rst2172 hidepid= Set /proc/<pid>/ access mode.
2177 hidepid=off or hidepid=0 means classic mode - everybody may access all
2180 hidepid=noaccess or hidepid=1 means users may not access any /proc/<pid>/
2188 hidepid=invisible or hidepid=2 means hidepid=1 plus all /proc/<pid>/ will be
2197 hidepid=ptraceable or hidepid=4 means that procfs should only contain
2201 prohibited by hidepid=. If you use some daemon like identd which needs to learn
2218 proc /proc proc rw,relatime,hidepid=2 0 0
2220 # strace -e mount mount -o hidepid=1 -t proc proc /tmp/proc
2221 mount("proc", "/tmp/proc", "proc", 0, "hidepid=1") = 0
2225 proc /proc proc rw,relatime,hidepid=2 0 0
[all …]