Searched refs:hidepid (Results 1 - 3 of 3) sorted by relevance
/linux-master/tools/testing/selftests/proc/ |
H A D | proc-fsconfig-hidepid.c | 36 int hidepid = 2; local 40 ret = fsconfig(fsfd, FSCONFIG_SET_BINARY, "hidepid", &hidepid, 0); 44 assert(!fsconfig(fsfd, FSCONFIG_SET_STRING, "hidepid", "2", 0)); 45 assert(!fsconfig(fsfd, FSCONFIG_SET_STRING, "hidepid", "invisible", 0));
|
H A D | Makefile | 27 TEST_GEN_PROGS += proc-fsconfig-hidepid
|
/linux-master/fs/proc/ |
H A D | root.c | 32 enum proc_hidepid hidepid; member in struct:proc_fs_context 45 fsparam_string("hidepid", Opt_hidepid), 61 struct fs_parameter_spec hidepid_u32_spec = fsparam_u32("hidepid", Opt_hidepid); 66 return invalf(fc, "proc: unexpected type of hidepid value\n"); 70 return invalf(fc, "proc: unknown value of hidepid - %s\n", param->string); 71 ctx->hidepid = result.uint_32; 76 ctx->hidepid = HIDEPID_OFF; 78 ctx->hidepid = HIDEPID_NO_ACCESS; 80 ctx->hidepid = HIDEPID_INVISIBLE; 82 ctx->hidepid [all...] |
Completed in 136 milliseconds