Page MenuHomeFreeBSD

bsdinstall: add a hardening knob for unprivileged kenv access
ClosedPublic

Authored by kevans on Jun 22 2026, 8:27 PM.
Tags
None
Referenced Files
F170604105: D57755.diff
Sat, Sep 5, 2:47 PM
F170603141: D57755.id.diff
Sat, Sep 5, 2:40 PM
F170483170: D57755.id180329.diff
Sat, Sep 5, 1:06 AM
Unknown Object (File)
Fri, Sep 4, 7:18 PM
Unknown Object (File)
Fri, Sep 4, 5:23 PM
Unknown Object (File)
Fri, Sep 4, 3:03 PM
Unknown Object (File)
Fri, Sep 4, 12:40 PM
Unknown Object (File)
Thu, Sep 3, 5:43 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 74118
Build 71001: arc lint + arc unit

Event Timeline

Ping- this is relatively simple, so I may just commit it later this week, unless someone has time to give it a once-over.

Implementation-wise it seems reasonable, but every time bsdinstall hardening gains an option the security world cries out in pain over having sensible defaults and good UX :')

Implementation-wise it seems reasonable, but every time bsdinstall hardening gains an option the security world cries out in pain over having sensible defaults and good UX :')

Ah shit, sorry, I should have added you as well. My hope is that I can MFC the original change and this one, then try to convince -arch@ that this should just be the default behavior for 16.0 and the knob can go away again.

This revision is now accepted and ready to land.Jun 30 2026, 1:58 AM