Page MenuHomeFreeBSD

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

Authored by jhb on Apr 17 2020, 7:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Sep 28, 1:25 PM
Unknown Object (File)
Fri, Sep 26, 3:20 PM
Unknown Object (File)
Fri, Sep 26, 10:15 AM
Unknown Object (File)
Fri, Sep 26, 5:50 AM
Unknown Object (File)
Thu, Sep 25, 10:08 PM
Unknown Object (File)
Mon, Sep 22, 5:30 PM
Unknown Object (File)
Fri, Sep 19, 7:30 PM
Unknown Object (File)
Jul 31 2025, 3:29 PM
Subscribers

Details

Summary

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>
Obtained from: CheriBSD

Test Plan
  • has been in cheribsd for 3 weeks now

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable