mirror of
https://github.com/torvalds/linux.git
synced 2024-12-12 22:23:55 +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>
24 lines
668 B
Makefile
24 lines
668 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
CFLAGS += -Wall -O2 -Wno-unused-function
|
|
CFLAGS += -D_GNU_SOURCE
|
|
|
|
TEST_GEN_PROGS :=
|
|
TEST_GEN_PROGS += fd-001-lookup
|
|
TEST_GEN_PROGS += fd-002-posix-eq
|
|
TEST_GEN_PROGS += fd-003-kthread
|
|
TEST_GEN_PROGS += proc-loadavg-001
|
|
TEST_GEN_PROGS += proc-pid-vm
|
|
TEST_GEN_PROGS += proc-self-map-files-001
|
|
TEST_GEN_PROGS += proc-self-map-files-002
|
|
TEST_GEN_PROGS += proc-self-syscall
|
|
TEST_GEN_PROGS += proc-self-wchan
|
|
TEST_GEN_PROGS += proc-uptime-001
|
|
TEST_GEN_PROGS += proc-uptime-002
|
|
TEST_GEN_PROGS += read
|
|
TEST_GEN_PROGS += self
|
|
TEST_GEN_PROGS += setns-dcache
|
|
TEST_GEN_PROGS += setns-sysvipc
|
|
TEST_GEN_PROGS += thread-self
|
|
|
|
include ../lib.mk
|