PERFORCE change 148029 for review

Robert Watson rwatson at FreeBSD.org
Thu Aug 21 19:17:39 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=148029

Change 148029 by rwatson at rwatson_freebsd_capabilities on 2008/08/21 19:17:29

	Fix and update description of CAP_LSEEK.
	
	Remove now-unnecessary description of CAP_GETDIRENTRIES.

Affected files ...

.. //depot/projects/trustedbsd/capabilities/src/lib/libc/sys/cap_new.2#2 edit

Differences ...

==== //depot/projects/trustedbsd/capabilities/src/lib/libc/sys/cap_new.2#2 (text+ko) ====

@@ -126,7 +126,11 @@
 is also required.
 .It Dv CAP_SEEK
 Permit operations that seek on the file descriptor, such as
-.Pr lseek .
+.Xr lseek 2 ,
+but also required for I/O system calls that modify the file offset, such as
+.Xr read 2
+and
+.Xr write 2 .
 .It Dv CAP_GETPEERNAME
 Permit
 .Xr getpeername 2 .
@@ -182,14 +186,6 @@
 Permit
 .Xr flock 2
 and related calls.
-.It Dv CAP_GETDIRENTRIES
-Permit
-.Xr getdents ,
-.Xr getdireentries ,
-and related calls.
-Note that
-.Dv CAP_READ
-may also be relevant in controlling these rights.
 .It Dv CAP_FSTATFS
 Permit
 .Xr fstatfs 2 .


More information about the p4-projects mailing list