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, Mar 2, 11:08 PM
Unknown Object (File)
Mon, Feb 3, 3:03 AM
Unknown Object (File)
Jan 27 2025, 5:33 AM
Unknown Object (File)
Jan 25 2025, 9:53 PM
Unknown Object (File)
Dec 18 2024, 8:29 AM
Unknown Object (File)
Dec 9 2024, 2:00 PM
Unknown Object (File)
Nov 23 2024, 7:12 AM
Unknown Object (File)
Nov 15 2024, 5:10 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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 30569
Build 28314: arc lint + arc unit