mirror of
https://github.com/torvalds/linux.git
synced 2024-12-13 22:53:20 +00:00
7dbbade1f2
I thought that /proc/sysvipc has the same bug as /proc/net
commit 1fde6f21d9
proc: fix /proc/net/* after setns(2)
However, it doesn't! /proc/sysvipc files do
get_ipc_ns(current->nsproxy->ipc_ns);
in their open() hook and avoid the problem.
Keep the test, maybe /proc/sysvipc will become broken someday :-\
Link: http://lkml.kernel.org/r/20190706180146.GA21015@avx2
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
17 lines
253 B
Plaintext
17 lines
253 B
Plaintext
/fd-001-lookup
|
|
/fd-002-posix-eq
|
|
/fd-003-kthread
|
|
/proc-loadavg-001
|
|
/proc-pid-vm
|
|
/proc-self-map-files-001
|
|
/proc-self-map-files-002
|
|
/proc-self-syscall
|
|
/proc-self-wchan
|
|
/proc-uptime-001
|
|
/proc-uptime-002
|
|
/read
|
|
/self
|
|
/setns-dcache
|
|
/setns-sysvipc
|
|
/thread-self
|