aboutsummaryrefslogtreecommitdiff
path: root/lib
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 /lib
parent88deb1cff92cb3620c248f32fa6e7bdbc5301213 (diff)
Diffstat (limited to 'lib')
-rw-r--r--lib/libsys/kenv.27
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libsys/kenv.2 b/lib/libsys/kenv.2
index 9f179ff2faa6..bdf4dd7f1386 100644
--- a/lib/libsys/kenv.2
+++ b/lib/libsys/kenv.2
@@ -24,7 +24,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
.\" DAMAGE.
.\"
-.Dd June 20, 2021
+.Dd June 22, 2026
.Dt KENV 2
.Os
.Sh NAME
@@ -161,6 +161,11 @@ The kernel is configured to destroy these environments by default.
.It Bq Er EPERM
A user other than the superuser attempted to set or unset a kernel
environment variable.
+.It Bq Er EPERM
+A user other than the superuser attempted to get a variable from or dump the
+kernel environment, and the
+.Va security.bsd.unprivileged_kenv_read
+sysctl is set to 0.
.It Bq Er EFAULT
A bad address was encountered while attempting to copy in user arguments
or copy out value(s).