aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-06-04 00:19:20 -0400
committerMike Frysinger <vapier@gentoo.org>2009-06-04 00:19:20 -0400
commit70f148095b7b9acd4e8329da0766aadc88b017d8 (patch)
treef9c69308721da245f85bf0f09dfffc6234d9ab61 /tests/openat_static-2.sh
parentlibsandbox: make sure fopen64 uses 64bit funcs (diff)
downloadsandbox-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 'tests/openat_static-2.sh')
-rwxr-xr-xtests/openat_static-2.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/openat_static-2.sh b/tests/openat_static-2.sh
index f2f4152..00a948e 100755
--- a/tests/openat_static-2.sh
+++ b/tests/openat_static-2.sh
@@ -9,5 +9,5 @@ openat_static-0 3 AT_FDCWD ok O_RDONLY 0666 || exit 1
export SANDBOX_LOG=$PWD/sb.log
mkdir deny || exit 1
adddeny $PWD/deny
-openat_static-0 -1 AT_FDCWD $PWD/deny/not-ok O_WRONLY 0666
+openat_static-0 -1 AT_FDCWD $PWD/deny/not-ok "O_WRONLY|O_CREAT" 0666
test -e sb.log