MFC rev 1.20 access.2
Make the warning a bit less 'broad' then it used to be. The access is seems to be a problem for SUID applications, which we like to prevent as much as possible. PR: docs/39530 Submitted by: Soren Spies <sspies at apple dot com> MFC After: 3 days
This commit is contained in:
parent
137eeab45b
commit
20e200691c
@ -32,7 +32,7 @@
|
||||
.\" @(#)access.2 8.2 (Berkeley) 4/1/94
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd September 21, 2001
|
||||
.Dd December 8, 2007
|
||||
.Dt ACCESS 2
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -144,6 +144,15 @@ The
|
||||
.Fn eaccess
|
||||
system call
|
||||
likewise may be subject to races if used inappropriately.
|
||||
.Pp
|
||||
.Fn access
|
||||
remains useful for providing clues to users as to whether operations
|
||||
make sense for particular filesystem objects (e.g. 'delete' menu
|
||||
item only highlighted in a writable folder ... avoiding interpretation
|
||||
of the st_mode bits that the application might not understand --
|
||||
e.g. in the case of AFS). It also allows a cheaper file existance
|
||||
test than
|
||||
.Ns Xr stat 2 .
|
||||
.Sh SEE ALSO
|
||||
.Xr chmod 2 ,
|
||||
.Xr intro 2 ,
|
||||
|
Loading…
x
Reference in New Issue
Block a user