Searched refs:hidepid (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/fs/proc/ |
H A D | root.c | 35 enum proc_hidepid hidepid; member 48 fsparam_string("hidepid", Opt_hidepid), 64 struct fs_parameter_spec hidepid_u32_spec = fsparam_u32("hidepid", Opt_hidepid); in proc_parse_hidepid_param() 69 return invalf(fc, "proc: unexpected type of hidepid value\n"); in proc_parse_hidepid_param() 73 return invalf(fc, "proc: unknown value of hidepid - %s\n", param->string); in proc_parse_hidepid_param() 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 in proc_parse_hidepid_param() [all...] |
/kernel/linux/linux-6.6/fs/proc/ |
H A D | root.c | 32 enum proc_hidepid hidepid; member 45 fsparam_string("hidepid", Opt_hidepid), 61 struct fs_parameter_spec hidepid_u32_spec = fsparam_u32("hidepid", Opt_hidepid); in proc_parse_hidepid_param() 66 return invalf(fc, "proc: unexpected type of hidepid value\n"); in proc_parse_hidepid_param() 70 return invalf(fc, "proc: unknown value of hidepid - %s\n", param->string); in proc_parse_hidepid_param() 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 in proc_parse_hidepid_param() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/proc/ |
H A D | proc-fsconfig-hidepid.c | 36 int hidepid = 2; in main() local 40 ret = fsconfig(fsfd, FSCONFIG_SET_BINARY, "hidepid", &hidepid, 0); in main() 44 assert(!fsconfig(fsfd, FSCONFIG_SET_STRING, "hidepid", "2", 0)); in main() 45 assert(!fsconfig(fsfd, FSCONFIG_SET_STRING, "hidepid", "invisible", 0)); in main()
|
H A D | Makefile | 23 TEST_GEN_PROGS += proc-fsconfig-hidepid
|
/kernel/linux/linux-6.6/tools/testing/selftests/proc/ |
H A D | proc-fsconfig-hidepid.c | 36 int hidepid = 2; in main() local 40 ret = fsconfig(fsfd, FSCONFIG_SET_BINARY, "hidepid", &hidepid, 0); in main() 44 assert(!fsconfig(fsfd, FSCONFIG_SET_STRING, "hidepid", "2", 0)); in main() 45 assert(!fsconfig(fsfd, FSCONFIG_SET_STRING, "hidepid", "invisible", 0)); in main()
|
H A D | Makefile | 27 TEST_GEN_PROGS += proc-fsconfig-hidepid
|
Completed in 3 milliseconds