mirror of
https://github.com/torvalds/linux.git
synced 2024-12-05 02:23:16 +00:00
1c6c4d112e
The hidepid parameter values are becoming more and more and it becomes difficult to remember what each new magic number means. Backward compatibility is preserved since it is possible to specify numerical value for the hidepid parameter. This does not break the fsconfig since it is not possible to specify a numerical value through it. All numeric values are converted to a string. The type FSCONFIG_SET_BINARY cannot be used to indicate a numerical value. Selftest has been added to verify this behavior. Suggested-by: Andy Lutomirski <luto@kernel.org> Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com> Reviewed-by: Alexey Dobriyan <adobriyan@gmail.com> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> |
||
---|---|---|
.. | ||
.gitignore | ||
config | ||
fd-001-lookup.c | ||
fd-002-posix-eq.c | ||
fd-003-kthread.c | ||
Makefile | ||
proc-fsconfig-hidepid.c | ||
proc-loadavg-001.c | ||
proc-multiple-procfs.c | ||
proc-pid-vm.c | ||
proc-self-map-files-001.c | ||
proc-self-map-files-002.c | ||
proc-self-syscall.c | ||
proc-self-wchan.c | ||
proc-uptime-001.c | ||
proc-uptime-002.c | ||
proc-uptime.h | ||
proc.h | ||
read.c | ||
self.c | ||
setns-dcache.c | ||
setns-sysvipc.c | ||
thread-self.c |