From: Julian Seward Date: Mon, 23 Feb 2009 16:56:15 +0000 (+0000) Subject: - handle a couple more syscalls, sys_fallocate and sys_getresuid32 X-Git-Tag: svn/VALGRIND_3_5_0~932 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b9ab0bb0b024fce1ad581d1daac636887261be92;p=thirdparty%2Fvalgrind.git - handle a couple more syscalls, sys_fallocate and sys_getresuid32 - make suppressions for ld.so be a bit more aggressive git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9243 --- 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 49ccd1b4d4..a0333f2cb7 100644 --- a/exp-ptrcheck/h_main.c +++ b/exp-ptrcheck/h_main.c @@ -2214,6 +2214,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) @@ -2261,6 +2262,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)