freopen(), access()
Charles Bryant
ch at dce.ie
Fri Feb 1 23:57:13 AEST 1991
In article <14944 at smoke.brl.mil> gwyn at smoke.brl.mil (Doug Gwyn) writes:
>I suspect that whatever code is using access() already has a bug, since
>access() rarely does what any sensible application would want it to do.
>(This is a design deficiency in the semantics for access().)
Is this bug that the programs use it when checking effective UID access,
or that they are setuid programs which have a window between checking
permissions and opening the file in which the file could be switched?
--
Charles Bryant (ch at dce.ie)
--
/usr/ch/.signature: Block device required
More information about the Comp.lang.c
mailing list