mirror of
git://sourceware.org/git/glibc.git
synced 2025-04-06 14:10:30 +08:00
Linux i386: tst-bz21269 triggers SIGBUS on some kernels
In addition to SIGSEGV and SIGILL, SIGBUS is also a possible signal generated by the kernel.
This commit is contained in:
parent
d39c0a459e
commit
4d76d3e59d
@ -1,3 +1,8 @@
|
||||
2018-03-29 Florian Weimer <fweimer@redhat.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
|
||||
capture SIGBUS.
|
||||
|
||||
2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
|
||||
|
||||
* sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
|
||||
|
@ -177,6 +177,8 @@ do_test (void)
|
||||
xsethandler (SIGSEGV, sigsegv_handler, 0);
|
||||
/* 32-bit kernels send SIGILL instead of SIGSEGV on IRET faults. */
|
||||
xsethandler (SIGILL, sigsegv_handler, 0);
|
||||
/* Some kernels send SIGBUS instead. */
|
||||
xsethandler (SIGBUS, sigsegv_handler, 0);
|
||||
|
||||
thread = xpthread_create (0, threadproc, 0);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user