HomeFreeBSD

Handle non-dtrace-triggered kernel breakpoint traps in mips.

Description

Handle non-dtrace-triggered kernel breakpoint traps in mips.

If DTRACE is enabled at compile time, all kernel breakpoint traps are
first given to dtrace to see if they are triggered by a FBT probe.
Previously if dtrace didn't recognize the trap, it was silently
ignored breaking the handling of other kernel breakpoint traps such as
the debug.kdb.enter sysctl. This only returns early from the trap
handler if dtrace recognizes the trap and handles it.

Submitted by: Nicolò Mazzucato <nicomazz97@gmail.com>
Reviewed by: markj
Obtained from: CheriBSD
Differential Revision: https://reviews.freebsd.org/D24478

Details

Provenance
jhbAuthored on Apr 21 2020, 5:38 PM
Parents
rG0c0119856bca: Abort transfer if fseeko() fails.
Branches
Unknown
Tags
Unknown

Event Timeline