-
Marius Gerbershagen authored
If a thread is interrupted while interrupts are disabled by C, then the signal is queued and the environment is write protected by mprotect. If another thread then calls queue_signal, it will try to write in the protected environment, leading to a segmentation fault. Since mprotect can only protect whole memory pages, we need to allocate the pending interrupts and the signal queue in a separate struct.
f5a503c8