unicorn/qemu/util
Roman Bolshakov 03beb4f15a
qemu-thread: Don't block SEGV, ILL and FPE
If any of these signals happen on macOS, they are not delivered to other
threads and signalfd_compat receives nothing. Indeed, POSIX reference
and sigprocmask(2) note that an attempt to block the signals results in
undefined behaviour. SEGV and FPE can't also be received by signalfd(2)
on Linux.

An ability to retrieve SIGBUS via signalfd(2) is used by QEMU for
memory preallocation therefore we can't unblock it without consequences.
But it's important to leave a remark that the signal is lost on macOS.

Backports commit 21a43af0f18335af4abb1959aa28ee9d159a2d43 from qemu
2019-01-13 19:50:32 -05:00
..
bitmap.c
bitops.c i386: Fix up the Node id for CPUID_8000_001E 2018-07-03 00:31:38 -04:00
cacheinfo.c
crc32c.c
cutils.c cutils: Fix qemu_strtosz() & friends to reject non-finite sizes 2018-12-18 04:48:12 -05:00
error.c
getauxval.c
host-utils.c
log.c
Makefile.objs membarrier: add --enable-membarrier 2018-03-17 19:30:43 -04:00
mmap-alloc.c
module.c
oslib-posix.c Haiku support patches (#989) 2018-09-03 07:55:51 -04:00
oslib-win32.c
qemu-error.c
qemu-thread-posix.c qemu-thread: Don't block SEGV, ILL and FPE 2019-01-13 19:50:32 -05:00
qemu-thread-win32.c qemu-thread-win32: Prevent null pointer dereference in win32_start_routine 2018-03-21 12:42:44 -04:00
qemu-timer-common.c
range.c
sys_membarrier.c membarrier: add --enable-membarrier 2018-03-17 19:30:43 -04:00