Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/sys New sentence, new line. Add articles.
details: https://anonhg.NetBSD.org/src/rev/33a8f29bbad8
branches: trunk
changeset: 783018:33a8f29bbad8
user: wiz <wiz%NetBSD.org@localhost>
date: Sat Dec 01 20:46:54 2012 +0000
description:
New sentence, new line. Add articles.
diffstat:
lib/libc/sys/access.2 | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
diffs (54 lines):
diff -r b3b48d3ed703 -r 33a8f29bbad8 lib/libc/sys/access.2
--- a/lib/libc/sys/access.2 Sat Dec 01 20:45:01 2012 +0000
+++ b/lib/libc/sys/access.2 Sat Dec 01 20:46:54 2012 +0000
@@ -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 @@
.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
Home |
Main Index |
Thread Index |
Old Index