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
Reviewer
markj
Differential Revision
D24478: Handle non-dtrace-triggered kernel breakpoint traps in mips.
Parents
rS360167: Abort transfer if fseeko() fails.
Branches
Unknown
Tags
Unknown