diff options
author | 2009-02-15 00:28:09 -0500 | |
---|---|---|
committer | 2009-02-15 00:28:09 -0500 | |
commit | 41621f114dcf879c45ae982c8c9796c4b050d4db (patch) | |
tree | 5c93506cd0920afbb866d9d9941e8ec35497039e /tests/mknod-0.c | |
parent | libsandbox: simplify clean_env_entries a bit (diff) | |
download | sandbox-41621f114dcf879c45ae982c8c9796c4b050d4db.tar.gz sandbox-41621f114dcf879c45ae982c8c9796c4b050d4db.tar.bz2 sandbox-41621f114dcf879c45ae982c8c9796c4b050d4db.zip |
libsandbox: make sure all mknod symbols are wrapped
The mknodat() symbol on glibc is rewritten to __xmknodat(), so we need to
wrap that and check for all of them in the check_access() code.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'tests/mknod-0.c')
-rw-r--r-- | tests/mknod-0.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/mknod-0.c b/tests/mknod-0.c index faef6a8..235c636 100644 --- a/tests/mknod-0.c +++ b/tests/mknod-0.c @@ -1,3 +1,5 @@ +/* strace -e raw=mknod mknod ... */ + #define FUNC mknod #define SFUNC "mknod" #define FUNC_STR "\"%s\", %o, %x" |