• Kirill Smelkov's avatar
    bigfile/virtmem: When restoring SIGSEGV, don't change procmask for other signals · d7c33cd7
    Kirill Smelkov authored
    We factored out SIGSEGV block/restore from fileh_dirty_writeout() to all
    functions in cb7a7055 (bigfile/virtmem: Block/restore SIGSEGV in
    non-pagefault-handling function). The restoration however just sets
    whole thread sigmask.
    
    It could be possible that between block/restore calls procmask for other
    signals could be changed, and this way - setting procmask directly - we
    will overwrite them.
    
    So be careful, and when restoring SIGSEGV mask, touch mask bit for only
    that signal.
    
    ( we need xsigismember helper to get this done, which is also introduced
      in this patch )
    d7c33cd7
Name
Last commit
Last update
3rdparty Loading commit data...
bigarray Loading commit data...
bigfile Loading commit data...
demo Loading commit data...
include/wendelin Loading commit data...
lib Loading commit data...
t Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
CHANGES Loading commit data...
COPYING Loading commit data...
Makefile Loading commit data...
setup.py Loading commit data...
tox.ini Loading commit data...
wendelin.py Loading commit data...