summaryrefslogtreecommitdiff
path: root/exp-ptrcheck/h_main.c
diff options
context:
space:
mode:
authorsewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9>2009-01-26 00:09:08 +0000
committersewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9>2009-01-26 00:09:08 +0000
commit33c57f23131e434e28cd7993f17e5efbafff5db0 (patch)
tree52787a4f662eb9313f5d522031c652215670865f /exp-ptrcheck/h_main.c
parent7e98c03c14ced31df09fa665ba3151ef9e551272 (diff)
Minor refinements:
* h_main.c: handle a few more syscalls * exp-ptrcheck.supp: ignore errors in glibc's getenv -- is highly optimised * pc_common.c: fix small error in error message printing --> 3_4_BRANCH git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9061 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'exp-ptrcheck/h_main.c')
-rw-r--r--exp-ptrcheck/h_main.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/exp-ptrcheck/h_main.c b/exp-ptrcheck/h_main.c
index 8d937937..9c71f370 100644
--- a/exp-ptrcheck/h_main.c
+++ b/exp-ptrcheck/h_main.c
@@ -2215,6 +2215,7 @@ static void setup_post_syscall_table ( void )
ADD(0, __NR_fcntl64);
# endif
ADD(0, __NR_fdatasync);
+ ADD(0, __NR_flock);
ADD(0, __NR_fstat);
# if defined(__NR_fstat64)
ADD(0, __NR_fstat64);
@@ -2269,6 +2270,7 @@ static void setup_post_syscall_table ( void )
ADD(0, __NR_inotify_init);
ADD(0, __NR_inotify_rm_watch);
ADD(0, __NR_ioctl); // ioctl -- assuming no pointers returned
+ ADD(0, __NR_ioprio_get);
ADD(0, __NR_kill);
ADD(0, __NR_link);
# if defined(__NR_listen)
@@ -2281,6 +2283,7 @@ static void setup_post_syscall_table ( void )
# endif
ADD(0, __NR_madvise);
ADD(0, __NR_mkdir);
+ ADD(0, __NR_mlock);
ADD(0, __NR_mprotect);
ADD(0, __NR_munmap); // die_mem_munmap already called, segment remove);
ADD(0, __NR_nanosleep);
@@ -2312,6 +2315,15 @@ static void setup_post_syscall_table ( void )
ADD(0, __NR_sched_setscheduler);
ADD(0, __NR_sched_yield);
ADD(0, __NR_select);
+# if defined(__NR_semctl)
+ ADD(0, __NR_semctl);
+# endif
+# if defined(__NR_semget)
+ ADD(0, __NR_semget);
+# endif
+# if defined(__NR_semop)
+ ADD(0, __NR_semop);
+# endif
# if defined(__NR_sendto)
ADD(0, __NR_sendto);
# endif