Aurelien Jarno <email@example.com> (19/07/2009): > Actually this file is not used, euidaccess() from the GNU libc is > used. OK, I looked really quickly and I hope you would step in. :) > It calls in turn access() which is mapped to the syscall. And here > comes the portability issue: > > | If the calling process has appropriate privileges (i.e., is > | superuser), POSIX.1-2001 permits implementation to indicate success > | for an X_OK check even if none of the execute file permission bits > | are set. Linux does not do this. > > OTOH POSIX 2008 says: > | New implementations are discouraged from returning X_OK unless at least > | one execution permission bit is set. > > Maybe we should fix that in our glibc? I think it'd be welcome. Mraw, KiBi.
Description: Digital signature