Home
last modified time | relevance | path

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

/linux/fs/proc/
H A Droot.c32 enum proc_hidepid hidepid; member
73 ctx->hidepid = result.uint_32; in proc_parse_hidepid_param()
78 ctx->hidepid = HIDEPID_OFF; in proc_parse_hidepid_param()
80 ctx->hidepid = HIDEPID_NO_ACCESS; in proc_parse_hidepid_param()
82 ctx->hidepid = HIDEPID_INVISIBLE; in proc_parse_hidepid_param()
84 ctx->hidepid = HIDEPID_NOT_PTRACEABLE; in proc_parse_hidepid_param()
235 fs_info->hide_pid = ctx->hidepid; in proc_apply_options()
/linux/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.gitignore6 /proc-fsconfig-hidepid
H A DMakefile31 TEST_GEN_PROGS += proc-fsconfig-hidepid
/linux/Documentation/filesystems/
H A Dproc.rst2370 hidepid= Set /proc/<pid>/ access mode.
2376 hidepid=off or hidepid=0 means classic mode - everybody may access all
2379 hidepid=noaccess or hidepid=1 means users may not access any /proc/<pid>/
2387 hidepid=invisible or hidepid=2 means hidepid=1 plus all /proc/<pid>/ will be
2396 hidepid=ptraceable or hidepid=4 means that procfs should only contain
2400 prohibited by hidepid=. If you use some daemon like identd which needs to learn
2424 proc /proc proc rw,relatime,hidepid=2 0 0
2426 # strace -e mount mount -o hidepid=1 -t proc proc /tmp/proc
2427 mount("proc", "/tmp/proc", "proc", 0, "hidepid=1") = 0
2431 proc /proc proc rw,relatime,hidepid=2 0 0
[all …]