From 06a43c7d3fb2092da1b11fc0b0a9c86905be7f13 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Mon, 23 Feb 2009 17:18:58 +0000 Subject: [PATCH] merge r9243: (exp-ptrcheck) handle sys_fallocate and sys_getresuid32, and make suppressions for ld.so be a bit more aggressive git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_4_BRANCH@9244 --- exp-ptrcheck.supp | 2 -- exp-ptrcheck/h_main.c | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/exp-ptrcheck.supp b/exp-ptrcheck.supp index 2b51ca3c9b..1e5cc36adc 100644 --- a/exp-ptrcheck.supp +++ b/exp-ptrcheck.supp @@ -17,7 +17,6 @@ exp-ptrcheck:Arith obj:/*lib*/ld-2.*so* obj:/*lib*/ld-2.*so* - obj:/*lib*/ld-2.*so* } { @@ -40,7 +39,6 @@ exp-ptrcheck:Heap obj:/*lib*/ld-2.*so* obj:/*lib*/ld-2.*so* - obj:/*lib*/ld-2.*so* } { diff --git a/exp-ptrcheck/h_main.c b/exp-ptrcheck/h_main.c index a293c45f2e..ad5fd0fc0c 100644 --- a/exp-ptrcheck/h_main.c +++ b/exp-ptrcheck/h_main.c @@ -2205,6 +2205,7 @@ static void setup_post_syscall_table ( void ) ADD(0, __NR_exit); /* hmm, why are we still alive? */ ADD(0, __NR_exit_group); ADD(0, __NR_fadvise64); + ADD(0, __NR_fallocate); ADD(0, __NR_fchmod); ADD(0, __NR_fchown); # if defined(__NR_fchown32) @@ -2252,6 +2253,9 @@ static void setup_post_syscall_table ( void ) ADD(0, __NR_getppid); ADD(0, __NR_getresgid); ADD(0, __NR_getresuid); +# if defined(__NR_getresuid32) + ADD(0, __NR_getresuid32); +# endif ADD(0, __NR_getrlimit); ADD(0, __NR_getrusage); # if defined(__NR_getsockname) -- 2.47.2