summaryrefslogtreecommitdiffstats
path: root/lib/libposix1e
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2000-06-04 22:14:10 +0000
committerrwatson <rwatson@FreeBSD.org>2000-06-04 22:14:10 +0000
commitd12b21d070a6d9a5c3302da4f67d8662c4df30ae (patch)
tree3e7c460970312d5b324b06a048ef9e2715fcb687 /lib/libposix1e
parentde14938f8d861d01eddc51ddedcaa8790981ab38 (diff)
downloadFreeBSD-src-d12b21d070a6d9a5c3302da4f67d8662c4df30ae.zip
FreeBSD-src-d12b21d070a6d9a5c3302da4f67d8662c4df30ae.tar.gz
o Fix incorrect descriptions of cap_get_flag() and cap_set_flag() in
capabilities summary manpage, cap(3). Obtained from: TrustedBSD Project
Diffstat (limited to 'lib/libposix1e')
-rw-r--r--lib/libposix1e/cap.330
1 files changed, 18 insertions, 12 deletions
diff --git a/lib/libposix1e/cap.3 b/lib/libposix1e/cap.3
index b36aced..b01d2c5 100644
--- a/lib/libposix1e/cap.3
+++ b/lib/libposix1e/cap.3
@@ -71,25 +71,31 @@ This function is described in
.Xr cap_free 3 ,
and may be used to free a capability structure.
.Pp
-.Fn cap_get_flag ,
-.Fn cap_get_proc
+.Fn cap_get_flag
.Pp
-These functions, described in
+This function, described in
.Xr cap_get_flag 3 ,
-and
+allows retrieval of a capability flag value from capability state in
+working store.
+.Pp
+.Fn cap_get_proc
+.Pp
+this function, described in
.Xr cap_get_proc 3 ,
-allow retrieval of capability flags from a file, and capability state from
-the current process.
+allows retrieval of capability state for the current process.
.Pp
-.Fn cap_set_flag ,
-.Fn cap_set_proc
+.Fn cap_set_flag
.Pp
-These functions, described in
+This function, described in
.Xr cap_set_flag 3 ,
-and
+allows setting of capability flag values in a capability structure held
+in the working store.
+.Pp
+.Fn cap_set_proc
+.Pp
+This function, described in
.Xr cap_set_proc 3 ,
-allow setting of the capability flags for a file, and capability state for
-the current process.
+allows setting of the current process capability state.
Documentation of the internal kernel interfaces backing these calls may
be found in
OpenPOWER on IntegriCloud