aboutsummaryrefslogtreecommitdiff
path: root/include/protocols
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2026-06-22 20:22:25 +0000
committerKyle Evans <kevans@FreeBSD.org>2026-06-22 20:22:25 +0000
commit4fd518fcb2bbee4c8c41215d6993b923ef57a0e5 (patch)
tree8e0ce3cb444cec3910f99cf664b9f9c1e924b120 /include/protocols
parent88deb1cff92cb3620c248f32fa6e7bdbc5301213 (diff)
kern: add a security knob to disable unprivileged access to kenv
We sometimes store sensitive things in the kenv that get zapped, but we really shouldn't rely on that zapping to actually happen. Most unprivileged processes don't really need to read from the kernel environment in the first place, so add a knob that allows it to be disabled. Note that we consider jailed root to be unprivileged from this perspective; they have their own meta/env concepts and we should encourage users to take advantage of those for passing information to jails. "Hey we should do something about that": dch Reviewed by: imp, ziaee, zlei (all slightly previous version) Differential Revision: https://reviews.freebsd.org/D57697
Diffstat (limited to 'include/protocols')
0 files changed, 0 insertions, 0 deletions