tests: test CLONE_CLEAR_SIGHAND
authorChristian Brauner <christian.brauner@ubuntu.com>
Mon, 14 Oct 2019 10:45:38 +0000 (12:45 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Mon, 21 Oct 2019 19:47:04 +0000 (21:47 +0200)
commitde5287235631cc561716d85f984614ef9598a5cc
treea1c5c0eb769b5835230ab53bf39cfbbfe673b205
parentb612e5df4587c934bd056bf05f4a1deca4de4f75
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
MAINTAINERS
tools/testing/selftests/Makefile
tools/testing/selftests/clone3/.gitignore [new file with mode: 0644]
tools/testing/selftests/clone3/Makefile [new file with mode: 0644]
tools/testing/selftests/clone3/clone3_clear_sighand.c [new file with mode: 0644]