diff options
author | 2009-02-18 01:53:16 -0500 | |
---|---|---|
committer | 2009-02-18 02:33:20 -0500 | |
commit | 111add353415f7ec08207ef1654327c19887e189 (patch) | |
tree | bb11408b9f6e04999c28f5b20c40931da5329f57 /libsandbox/wrappers.h | |
parent | libsandbox: convert internal open func to sb_unwrapped_foo style (diff) | |
download | sandbox-111add353415f7ec08207ef1654327c19887e189.tar.gz sandbox-111add353415f7ec08207ef1654327c19887e189.tar.bz2 sandbox-111add353415f7ec08207ef1654327c19887e189.zip |
libsandbox: avoid recursion by using sb_unwrapped_access()
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libsandbox/wrappers.h')
-rw-r--r-- | libsandbox/wrappers.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libsandbox/wrappers.h b/libsandbox/wrappers.h index 9524d70..1b32662 100644 --- a/libsandbox/wrappers.h +++ b/libsandbox/wrappers.h @@ -17,6 +17,8 @@ void *get_dlsym(const char *, const char *); /* Wrapper for internal use of functions in libsandbox. Should really * autogenerate this header ... */ +#define sb_unwrapped_access sb_unwrapped_access_DEFAULT +attribute_hidden int sb_unwrapped_access (const char *, int); #define sb_unwrapped_getcwd sb_unwrapped_getcwd_DEFAULT attribute_hidden char *sb_unwrapped_getcwd (char *, size_t); #define sb_unwrapped_open sb_unwrapped_open_DEFAULT |