There are plans to change how /proc/self result is calculated, for that a test is necessary. Use direct system call because of this whole getpid caching story. Link: http://lkml.kernel.org/r/20180627195103.GB18113@avx2 Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Cc: Shuah Khan <shuahkh@osg.samsung.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
19 lines
505 B
Makefile
19 lines
505 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
|
|
|
|
include ../lib.mk
|