CVSROOT:        /cvs
Module name:    src
Changes by:     kette...@cvs.openbsd.org        2023/01/13 16:02:44

Modified files:
        sys/kern       : kern_exec.c exec_elf.c 
        sys/uvm        : uvm_unix.c 

Log message:
Since the signal trampoline is now execute-only we no longer write it
into core dumps.  As a result backtraces through signal handlers no
longer work in gdb and other debuggers.

Fix this by keeping a read-only mapping of the signal trampoline in the
kernel and writing it into the core dump at the virtual address where it
is mapped in the process.

ok deraadt@, tb@

Reply via email to