mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-20 17:44:33 +08:00
0658a0961b
If a task exits concurrently, task_pid_nr_ns may return 0. [akpm@linux-foundation.org: coding style tweaks] [adobriyan@gmail.com: test that /proc/*/task doesn't contain "0"] Link: https://lkml.kernel.org/r/YV88AnVzHxPafQ9o@localhost.localdomain Link: https://lkml.kernel.org/r/8735pn5dx7.fsf@oldenburg.str.redhat.com Signed-off-by: Florian Weimer <fweimer@redhat.com> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Acked-by: Christian Brauner <christian.brauner@ubuntu.com> Reviewed-by: Alexey Dobriyan <adobriyan@gmail.com> Cc: Kees Cook <keescook@chromium.org> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
.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-subset-pid.c | ||
proc-tid0.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 |