summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLauri Aarnio <Lauri.Aarnio@iki.fi>2008-01-29 07:02:03 +0200
committerLauri Leukkunen <lle@rahina.org>2008-01-31 10:12:16 +0200
commit79e5131f3d04b38fbba227a6e3057032b863a111 (patch)
tree673b37233a0849c669d0c4761bdee9b6085c6f66
parentefe07798f16741d9941e2dc73ac632950b972571 (diff)
Bugfix: added wrapper for eaccess()
- wrapper for eaccess() was missing, and that caused the built-in "test" of bash to fail.
-rw-r--r--preload/interface.master2
1 files changed, 2 insertions, 0 deletions
diff --git a/preload/interface.master b/preload/interface.master
index 1c613dc..67ab208 100644
--- a/preload/interface.master
+++ b/preload/interface.master
@@ -155,6 +155,8 @@ WRAP: void *dlmopen(Lmid_t nsid, const char *filename, int flag) : map(filename)
#endif
WRAP: void *dlopen(const char *filename, int flag) : map(filename)
WRAP: int euidaccess(const char *pathname, int mode) : map(pathname)
+-- eaccess() is same as euidaccess(), provided for compatibility
+WRAP: int eaccess(const char *pathname, int mode) : map(pathname)
WRAP: int faccessat(int dirfd, const char *pathname, int mode, int flags) : map_at(dirfd,pathname)
WRAP: int fchmodat(int dirfd, const char *pathname, mode_t mode, int flags) : map_at(dirfd,pathname)
WRAP: int fchownat(int dirfd, const char *pathname, uid_t owner, gid_t group, int flags) : map_at(dirfd,pathname)