Only system call that was missing while running our software through
valgrind.
The diff is against CVS HEAD.
bob
Index: coregrind/vg_syscalls.c
===================================================================
RCS file: /cvsroot/valgrind/valgrind/coregrind/vg_syscalls.c,v
retrieving revision 1.42
diff -u -r1.42 vg_syscalls.c
--- coregrind/vg_syscalls.c 26 Aug 2003 17:36:26 -0000 1.42
+++ coregrind/vg_syscalls.c 5 Sep 2003 17:27:38 -0000
@@ -954,6 +954,18 @@
KERNEL_DO_SYSCALL(tid,res);
break;
+# if defined(__NR_adjtimex)
+ case __NR_adjtimex: /* syscall 124 */
+ /* int adjtimex(struct timex *buf) */
+ MAYBE_PRINTF("adjtimex ( %p )\n",arg1);
+ SYSCALL_TRACK( pre_mem_write, tst, "adjtimex(buf)",
+ arg1, sizeof(struct timex) );
+ KERNEL_DO_SYSCALL(tid,res);
+ if (!VG_(is_kerror)(res))
+ VG_TRACK( post_mem_write, arg1, sizeof(struct timex) );
+ break;
+# endif
+
/* !!!!!!!!!! New, untested syscalls, 14 Mar 02 !!!!!!!!!! */
# if defined(__NR_setresgid32)
Index: coregrind/vg_unsafe.h
===================================================================
RCS file: /cvsroot/valgrind/valgrind/coregrind/vg_unsafe.h,v
retrieving revision 1.14
diff -u -r1.14 vg_unsafe.h
--- coregrind/vg_unsafe.h 12 Jun 2003 20:43:20 -0000 1.14
+++ coregrind/vg_unsafe.h 5 Sep 2003 17:27:38 -0000
@@ -57,6 +57,7 @@
#include <linux/cdrom.h> /* for cd-rom ioctls */
#include <sys/user.h> /* for struct user_regs_struct et al */
#include <signal.h> /* for siginfo_t */
+#include <sys/timex.h> /* for struct timex */
#define __USE_LARGEFILE64
#include <sys/stat.h> /* for struct stat */
|