summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/timens/Makefile
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@gmail.com>2022-10-13 10:31:54 -0700
committerKees Cook <keescook@chromium.org>2022-10-25 15:15:52 -0700
commitaf4fddffbe95855ef3b413158fa8e6e95899f2b2 (patch)
treebc01dfc41b8289f4365b9d9ef40880225c77ba9d /tools/testing/selftests/timens/Makefile
parent2b5f9dad32ed19e8db3b0f10a84aa824a219803b (diff)
selftests/timens: add a test for vfork+exit
* check that a child process is in parent's time namespace after vfork. * check that a child process is in the target namespace after exec. Output on success: 1..4 ok 1 parent before vfork ok 2 child after exec ok 3 wait for child ok 4 parent after vfork # Totals: pass:4 fail:0 xfail:0 xpass:0 skip:0 error:0 Signed-off-by: Andrei Vagin <avagin@gmail.com> Signed-off-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/r/20221013173154.291597-1-avagin@google.com
Diffstat (limited to 'tools/testing/selftests/timens/Makefile')
-rw-r--r--tools/testing/selftests/timens/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/timens/Makefile b/tools/testing/selftests/timens/Makefile
index 3a5936cc10ab..f0d51d4d2c87 100644
--- a/tools/testing/selftests/timens/Makefile
+++ b/tools/testing/selftests/timens/Makefile
@@ -1,4 +1,4 @@
-TEST_GEN_PROGS := timens timerfd timer clock_nanosleep procfs exec futex
+TEST_GEN_PROGS := timens timerfd timer clock_nanosleep procfs exec futex vfork_exec
TEST_GEN_PROGS_EXTENDED := gettime_perf
CFLAGS := -Wall -Werror -pthread