CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2025/02/17 06:28:26

Modified files:
        sys/arch/amd64/amd64: db_trace.c 
        sys/arch/i386/i386: db_trace.c 

Log message:
Disable pagefault handling when unwinding userland stack.

When collecting userland stacktraces with dt(4), the probe may run in an
interrupt routine at IPL_VM or higher.  Resolving pagefaults in this case
might result in panic or corrupt UVM data structures.  Userland stack frames
cannot be trusted, a bogus frame pointer may force us into a page fault.

>From Christian Ludwig, ok kettenis@

Reply via email to