[PATCH] [BZ #18433] Check file access/existence before forking.

Roland McGrath roland@hack.frob.com
Fri Sep 11 20:18:00 GMT 2015


access has the wrong semantics.  You could use euidaccess.  But then that
will has the wrong semantics if POSIX_SPAWN_RESETIDS was used.  It quickly
gets quite hairy.  Trying to match the semantics that execve will use after
everything that posix_spawn might be doing in the child side is a losing
battle.



More information about the Libc-alpha mailing list