aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
Diffstat (limited to 'nptl')
-rw-r--r--nptl/tst-cleanup2.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/nptl/tst-cleanup2.c b/nptl/tst-cleanup2.c
index 65af0f2..519ec79 100644
--- a/nptl/tst-cleanup2.c
+++ b/nptl/tst-cleanup2.c
@@ -52,6 +52,12 @@ do_test (void)
exit (1);
}
+ if (sigaction (SIGILL, &sa, 0))
+ {
+ perror ("installing SIGILL handler\n");
+ exit (1);
+ }
+
puts ("Attempting to sprintf to null ptr");
if (setjmp (jmpbuf))
{