mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 06:35:04 +07:00
1fde6f21d9
/proc entries under /proc/net/* can't be cached into dcache because
setns(2) can change current net namespace.
[akpm@linux-foundation.org: coding-style fixes]
[akpm@linux-foundation.org: avoid vim miscolorization]
[adobriyan@gmail.com: write test, add dummy ->d_revalidate hook: necessary if /proc/net/* is pinned at setns time]
Link: http://lkml.kernel.org/r/20190108192350.GA12034@avx2
Link: http://lkml.kernel.org/r/20190107162336.GA9239@avx2
Fixes: 1da4d377f9
("proc: revalidate misc dentries")
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Reported-by: Mateusz Stępień <mateusz.stepien@netrounds.com>
Reported-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
21 lines
566 B
Makefile
21 lines
566 B
Makefile
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-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 += thread-self
|
|
|
|
include ../lib.mk
|