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
F170003192: D57755.id.diff
Thu, Sep 3, 5:43 AM
Unknown Object (File)
Wed, Sep 2, 1:28 PM
Unknown Object (File)
Wed, Sep 2, 12:32 PM
Unknown Object (File)
Wed, Sep 2, 9:16 AM
Unknown Object (File)
Tue, Sep 1, 7:16 PM
Unknown Object (File)
Tue, Sep 1, 1:38 PM
Unknown Object (File)
Tue, Sep 1, 9:29 AM
Unknown Object (File)
Mon, Aug 31, 8:47 PM
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