about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--nptl/tst-cleanup2.c6
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1f673d3226..a6a2851500 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-11-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+	* nptl/tst-cleanup2.c (do_test): Handle SIGILL as well.
+
 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
 
 	* malloc/hooks.c (memalign_check): Add alignment rounding.
diff --git a/nptl/tst-cleanup2.c b/nptl/tst-cleanup2.c
index 65af0f2018..519ec79c79 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))
     {