Home
last modified time | relevance | path

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

/Linux-v6.1/fs/proc/
Droot.c32 enum proc_hidepid hidepid; member
71 ctx->hidepid = result.uint_32; in proc_parse_hidepid_param()
76 ctx->hidepid = HIDEPID_OFF; in proc_parse_hidepid_param()
78 ctx->hidepid = HIDEPID_NO_ACCESS; in proc_parse_hidepid_param()
80 ctx->hidepid = HIDEPID_INVISIBLE; in proc_parse_hidepid_param()
82 ctx->hidepid = HIDEPID_NOT_PTRACEABLE; in proc_parse_hidepid_param()
154 fs_info->hide_pid = ctx->hidepid; in proc_apply_options()
/Linux-v6.1/tools/testing/selftests/proc/
Dproc-fsconfig-hidepid.c36 int hidepid = 2; in main() local
40 ret = fsconfig(fsfd, FSCONFIG_SET_BINARY, "hidepid", &hidepid, 0); in main()
D.gitignore5 /proc-fsconfig-hidepid
DMakefile27 TEST_GEN_PROGS += proc-fsconfig-hidepid
/Linux-v6.1/Documentation/filesystems/
Dproc.rst2161 hidepid= Set /proc/<pid>/ access mode.
2166 hidepid=off or hidepid=0 means classic mode - everybody may access all
2169 hidepid=noaccess or hidepid=1 means users may not access any /proc/<pid>/
2177 hidepid=invisible or hidepid=2 means hidepid=1 plus all /proc/<pid>/ will be
2186 hidepid=ptraceable or hidepid=4 means that procfs should only contain
2190 prohibited by hidepid=. If you use some daemon like identd which needs to learn
2207 proc /proc proc rw,relatime,hidepid=2 0 0
2209 # strace -e mount mount -o hidepid=1 -t proc proc /tmp/proc
2210 mount("proc", "/tmp/proc", "proc", 0, "hidepid=1") = 0
2214 proc /proc proc rw,relatime,hidepid=2 0 0
[all …]