aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/clone3/Makefile
diff options
context:
space:
mode:
authorChristian Brauner <christian.brauner@ubuntu.com>2019-10-14 12:45:38 +0200
committerChristian Brauner <christian.brauner@ubuntu.com>2019-10-21 21:47:04 +0200
commitde5287235631cc561716d85f984614ef9598a5cc (patch)
treea1c5c0eb769b5835230ab53bf39cfbbfe673b205 /tools/testing/selftests/clone3/Makefile
parentclone3: add CLONE_CLEAR_SIGHAND (diff)
downloadwireguard-linux-de5287235631cc561716d85f984614ef9598a5cc.tar.xz
wireguard-linux-de5287235631cc561716d85f984614ef9598a5cc.zip
tests: test CLONE_CLEAR_SIGHAND
Test that CLONE_CLEAR_SIGHAND resets signal handlers to SIG_DFL for the child process and that CLONE_CLEAR_SIGHAND and CLONE_SIGHAND are mutually exclusive. Cc: Florian Weimer <fweimer@redhat.com> Cc: libc-alpha@sourceware.org Cc: linux-api@vger.kernel.org Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com> Link: https://lore.kernel.org/r/20191014104538.3096-2-christian.brauner@ubuntu.com
Diffstat (limited to 'tools/testing/selftests/clone3/Makefile')
-rw-r--r--tools/testing/selftests/clone3/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/testing/selftests/clone3/Makefile b/tools/testing/selftests/clone3/Makefile
new file mode 100644
index 000000000000..e6f259321e16
--- /dev/null
+++ b/tools/testing/selftests/clone3/Makefile
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0-only
+CFLAGS += -g -I../../../../usr/include/
+
+TEST_GEN_PROGS := clone3_clear_sighand
+
+include ../lib.mk