This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]