This way a possible clash between FAULT_* and KERN_* numbering is avoided, and panics checks for fault_status confusion become more efficient.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
and panics checks for fault_status confusion become more efficient.
I'm not sure what you mean here?
Comment Actions
switches with the key by fault_status enum or Mach error have the default: case with panic. If code confuses the enum with Mach error, now it should reliably hit the panic case instead of randomly interpret the value from different namespace.