In message <[EMAIL PROTECTED]> "David O'Brien" writes:
: On Sun, Apr 01, 2001 at 10:55:23AM +1000, Greg Black wrote:
: > Many years ago I implemented a new interface that I called
: > eaccess() which replicated the work of access, but tested
: > against the effective uid and gid.  I'd like to see that
: > introduced more widely.
: 
: That still isn't suffient (and even more scary) unless the parameter is a
: file handle or FILE pointer.  We need an faccess() call, plain and
: simple.

faccess is also dangarous.  When you open the file at elevated privs,
you run the risk of side effects, such as a tape rewinding on close.
facecss won't change that problem.

Warner

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to