PERFORCE change 164359 for review
Robert Watson
rwatson at FreeBSD.org
Sun Jun 14 17:50:26 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=164359
Change 164359 by rwatson at rwatson_freebsd_capabilities on 2009/06/14 17:50:21
Reference close(2) in description of cap_limitfd(3).
Affected files ...
.. //depot/projects/trustedbsd/capabilities/src/lib/libcapability/libcapability.3#17 edit
Differences ...
==== //depot/projects/trustedbsd/capabilities/src/lib/libcapability/libcapability.3#17 (text+ko) ====
@@ -106,9 +106,10 @@
.Sh CAPABILITY API
.Fn lc_limitfd
is a wrapper around
-.Xr cap_new 2
+.Xr cap_new 2 ,
+.Xr dup2 2 ,
and
-.Xr dup2 2
+.Xr close 2 .
which takes an existing file descriptor and replaces it with a capability
with the requested rights mask.
.Sh HOST API
@@ -193,6 +194,7 @@
.Xr rpcgen 1 ,
.Xr cap_enter 2 ,
.Xr cap_new 2 ,
+.Xr close 2 ,
.Xr dup2 2 ,
.Xr libcapability_io 3 ,
.Xr unix 4
More information about the p4-projects
mailing list