Usefulness of access(2) - (nf)
SHAWN%mit-ml at sri-unix.UUCP
SHAWN%mit-ml at sri-unix.UUCP
Thu Sep 29 12:08:00 AEST 1983
From: Shawn F. McKay <SHAWN at mit-ml>
For one thing, if the program is SETUID root, just 'try to access the file'
does not work. (i.e. you will allways win, less the files not there).
Then again, I am not so sure that access would be much more useful if
you were root, but I think its clear how it would be useful to have
some system call that takes uid, and gid as args, when running
from a setuid program.
Yours In Hacking(c),
-Shawn
CopyRight 1983, All Rights Reserved,
More information about the Comp.unix.wizards
mailing list