In CheriBSD we had a conflict in the KERN_PROC OID space and didn't
notice for some time. Let's panic instead to make such conflicts easier
to detect. Note that this doesn't affect conflicts arising from name
collisions in OID_AUTO sysctls, which happen sometimes due to driver
bugs.
Details
Details
- Reviewers
jhb kib brooks - Commits
- rGd35c4cfad580: sysctl: Panic on OID reuse
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable