aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2016-09-11 01:11:47 +0000
committerEd Maste <emaste@FreeBSD.org>2016-09-11 01:11:47 +0000
commitf14f55d6221e8a1bba3eddfbe1079518536d074c (patch)
treef29cb4d5b17745d6592aeef30a1b2b9df2b5fd41 /lib
parent2fb194c9686dd47b08131a5cf5363c0a8a102d35 (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/cap_enter.27
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/sys/cap_enter.2 b/lib/libc/sys/cap_enter.2
index 807d7eda46223..6879b4b57821e 100644
--- a/lib/libc/sys/cap_enter.2
+++ b/lib/libc/sys/cap_enter.2
@@ -28,7 +28,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd March 27, 2014
+.Dd September 10, 2016
.Dt CAP_ENTER 2
.Os
.Sh NAME
@@ -84,6 +84,11 @@ to create a runtime environment inside the sandbox that has as few implicitly
acquired rights as possible.
.Sh RETURN VALUES
.Rv -std cap_enter cap_getmode
+.Pp
+When the process is in capability mode,
+.Fn cap_getmode
+sets the flag to a non-zero value.
+A zero value means the process is not in capability mode.
.Sh ERRORS
The
.Fn cap_enter