• 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
..
tests Loading commit data...
__init__.py Loading commit data...
_bigfile.c Loading commit data...
file_file.py Loading commit data...
file_zodb.py Loading commit data...
pagefault.c Loading commit data...
pagemap.c Loading commit data...
ram.c Loading commit data...
ram_hugetlbfs.c Loading commit data...
ram_shmfs.c Loading commit data...
virtmem.c Loading commit data...