cap_enter.2: describe flag returned by cap_getmode

Previously the flag returned by cap_getmode was not described explicitly
in the man page.

Reviewed by:	wblock
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D7822
This commit is contained in:
Ed Maste 2016-09-11 01:11:47 +00:00
parent 2fb194c968
commit f14f55d622
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=305690

View File

@ -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