summary refs log tree commit diff
path: root/src/mkbuiltins
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2010-04-02 22:02:22 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2010-04-02 22:02:22 +0800
commit1d68712ba2e439f36874c4ed1e3d9ffec177a06c (patch)
treeefa2f787551e5d4c40cca5bb615991cc84b1f863 /src/mkbuiltins
parentRelease 0.5.6. (diff)
downloaddash-1d68712ba2e439f36874c4ed1e3d9ffec177a06c.tar.gz
dash-1d68712ba2e439f36874c4ed1e3d9ffec177a06c.zip
[BUILTIN] Use faccessat if available
Eric Blake suggested that we should use faccessat so that ACLs
and other corner cases are handled correctly.  This patch does
exactly that.

Note that faccessat doesn't handle ACLs when euid != uid, as
this case is currently implemented by glibc instead of the kernel,
using code similar to the existing dash test.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'src/mkbuiltins')
0 files changed, 0 insertions, 0 deletions