Files
AnyPS5/docs/dev
GruzzberryandClaude Sonnet 5.5 0dd9641bab fix(libkernel): fail a vm.overcommit write with EPERM
vm.overcommit is a read-write sysctl without CTLFLAG_PRISON, so FreeBSD 11.4 sysctl_root asks priv_check for PRIV_SYSCTL_WRITE before the handler runs, and prison_priv_check denies it to a jailed root. Under the credential model agreed on #11216 a write through sysctlbyname now fails with EPERM, whatever the value or its length, instead of throwing.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-11-02 10:48:01 +00:00
..