diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2010-04-02 22:02:22 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2010-04-02 22:02:22 +0800 |
commit | 1d68712ba2e439f36874c4ed1e3d9ffec177a06c (patch) | |
tree | efa2f787551e5d4c40cca5bb615991cc84b1f863 /src/mkbuiltins | |
parent | Release 0.5.6. (diff) | |
download | dash-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