Blame SOURCES/glibc-rh1579730-2.patch
|
|
147e83 |
commit 4d76d3e59d31aa690f148fc0c95cc0c581aed3e8
|
|
|
147e83 |
Author: Florian Weimer <fweimer@redhat.com>
|
|
|
147e83 |
Date: Thu Mar 29 11:42:24 2018 +0200
|
|
|
147e83 |
|
|
|
147e83 |
Linux i386: tst-bz21269 triggers SIGBUS on some kernels
|
|
|
147e83 |
|
|
|
147e83 |
In addition to SIGSEGV and SIGILL, SIGBUS is also a possible signal
|
|
|
147e83 |
generated by the kernel.
|
|
|
147e83 |
|
|
|
147e83 |
diff --git a/sysdeps/unix/sysv/linux/i386/tst-bz21269.c b/sysdeps/unix/sysv/linux/i386/tst-bz21269.c
|
|
|
147e83 |
index 353e36507dce92ea..6ee3fc62be0d3312 100644
|
|
|
147e83 |
--- a/sysdeps/unix/sysv/linux/i386/tst-bz21269.c
|
|
|
147e83 |
+++ b/sysdeps/unix/sysv/linux/i386/tst-bz21269.c
|
|
|
147e83 |
@@ -177,6 +177,8 @@ do_test (void)
|
|
|
147e83 |
xsethandler (SIGSEGV, sigsegv_handler, 0);
|
|
|
147e83 |
/* 32-bit kernels send SIGILL instead of SIGSEGV on IRET faults. */
|
|
|
147e83 |
xsethandler (SIGILL, sigsegv_handler, 0);
|
|
|
147e83 |
+ /* Some kernels send SIGBUS instead. */
|
|
|
147e83 |
+ xsethandler (SIGBUS, sigsegv_handler, 0);
|
|
|
147e83 |
|
|
|
147e83 |
thread = xpthread_create (0, threadproc, 0);
|
|
|
147e83 |
|