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
F166088375: D57755.id180329.diff
Tue, Aug 11, 3:27 PM
F166077611: D57755.id180329.diff
Tue, Aug 11, 1:52 PM
F166077500: D57755.diff
Tue, Aug 11, 1:51 PM
Unknown Object (File)
Mon, Aug 10, 3:11 AM
Unknown Object (File)
Sun, Aug 9, 8:15 PM
Unknown Object (File)
Sun, Aug 9, 7:39 AM
Unknown Object (File)
Sun, Aug 9, 4:38 AM
Unknown Object (File)
Sat, Aug 8, 4:13 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