• Kirill Smelkov's avatar
    bigfile/virtmem: Block/restore SIGSEGV in non-pagefault-handling function · cb7a7055
    Kirill Smelkov authored
    Non on-pagefault code should not access any not-mmapped memory.
    
    Here we just refactor the code we already had to block/restore
    SIGSEGV from fileh_dirty_writeout() and use it in all functions called
    from non-pagefaulting context, as promised.
    
    This way, if there is an error in virtmem implementation which
    incorrectly accesses prepared for BigFile maps memory, we'll just die
    with coredump instead of trying to incorrectly handle the pagefault.
    cb7a7055
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...