Module Name: src Committed By: wiz Date: Sat Dec 1 20:46:54 UTC 2012
Modified Files: src/lib/libc/sys: access.2 Log Message: New sentence, new line. Add articles. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/lib/libc/sys/access.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/sys/access.2 diff -u src/lib/libc/sys/access.2:1.28 src/lib/libc/sys/access.2:1.29 --- src/lib/libc/sys/access.2:1.28 Sat Dec 1 20:45:01 2012 +++ src/lib/libc/sys/access.2 Sat Dec 1 20:46:54 2012 @@ -1,4 +1,4 @@ -.\" $NetBSD: access.2,v 1.28 2012/12/01 20:45:01 wiz Exp $ +.\" $NetBSD: access.2,v 1.29 2012/12/01 20:46:54 wiz Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)access.2 8.2 (Berkeley) 4/1/94 .\" -.Dd May 3, 2010 +.Dd November 18, 2012 .Dt ACCESS 2 .Os .Sh NAME @@ -74,28 +74,29 @@ works the same way as .Fn access except if .Fa path -is relative. In that case, it is looked up from a directory whose file +is relative. +In that case, it is looked up from a directory whose file descriptor was passed as .Fa fd . Search permission is required on .Fa fd -except if that file descriptor was open with +except if that file descriptor was opened with the .Dv O_SEARCH -option. +flag. .Fa fd can be set to .Dv AT_FDCWD -in order to specify current directory. +in order to specify the current directory. .Pp The real user ID is used in place of the effective user ID and the real group access list (including the real group ID) are used in place of the effective ID for verifying permission. .Fn faccessat -can use +can use the effective user ID and effective group ID if the .Dv AT_EACCESS -is passed in +flag is passed in .Fa flag . .Pp If a process has super-user privileges and indicates success for