diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-06-04 00:19:20 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-06-04 00:19:20 -0400 |
commit | 70f148095b7b9acd4e8329da0766aadc88b017d8 (patch) | |
tree | f9c69308721da245f85bf0f09dfffc6234d9ab61 /libsandbox/wrapper-funcs/unlink.c | |
parent | libsandbox: make sure fopen64 uses 64bit funcs (diff) | |
download | sandbox-70f148095b7b9acd4e8329da0766aadc88b017d8.tar.gz sandbox-70f148095b7b9acd4e8329da0766aadc88b017d8.tar.bz2 sandbox-70f148095b7b9acd4e8329da0766aadc88b017d8.zip |
libsandbox: add pre checks to static tracing
The normal wrapped functions go through some "pre checks" where certain
normal conditions are not flagged as problematic. The static tracing
lacked those pre checks though.
URL: http://bugs.gentoo.org/265885
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Reported-by: Daniel Robbins <drobbins@funtoo.org>
Diffstat (limited to 'libsandbox/wrapper-funcs/unlink.c')
-rw-r--r-- | libsandbox/wrapper-funcs/unlink.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libsandbox/wrapper-funcs/unlink.c b/libsandbox/wrapper-funcs/unlink.c index 79cab10..4f26de1 100644 --- a/libsandbox/wrapper-funcs/unlink.c +++ b/libsandbox/wrapper-funcs/unlink.c @@ -1,13 +1,11 @@ /* * unlink() wrapper. * - * Copyright 1999-2008 Gentoo Foundation + * Copyright 1999-2009 Gentoo Foundation * Licensed under the GPL-2 */ #define WRAPPER_ARGS_PROTO const char *pathname #define WRAPPER_ARGS pathname #define WRAPPER_SAFE() SB_SAFE(pathname) -#define sb_unlinkat_pre_check sb_unlink_pre_check #include "unlinkat.c" -#undef sb_unlinkat_pre_check |