]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Add some missing syscall numbers for MIPS.
authorPetar Jovanovic <mips32r2@gmail.com>
Mon, 16 Jul 2012 14:35:26 +0000 (14:35 +0000)
committerPetar Jovanovic <mips32r2@gmail.com>
Mon, 16 Jul 2012 14:35:26 +0000 (14:35 +0000)
The header file has been extended with the missing syscall numbers for MIPS,
and sys_prlimit64 has been enabled. This will make none/tests/rlimit64_nofile
pass.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12752

coregrind/m_syswrap/syswrap-mips32-linux.c
include/vki/vki-scnums-mips32-linux.h

index e4db8c6be16490b437c197fe61eb96205c72d198..184a2bff869ac794332eb4f4b19965c5ed5ffc0c 100644 (file)
@@ -1738,7 +1738,8 @@ static SyscallTableEntry syscall_main_table[] = {
   LINXY (__NR_signalfd4, sys_signalfd4),       // 324
   LINX_ (__NR_eventfd2, sys_eventfd2), // 325
   LINXY (__NR_pipe2, sys_pipe2),       // 328
-  LINXY (__NR_inotify_init1, sys_inotify_init1)        // 329
+  LINXY (__NR_inotify_init1, sys_inotify_init1),       // 329
+  LINXY (__NR_prlimit64, sys_prlimit64) // 338
 };
 
 SyscallTableEntry* ML_(get_linux_syscall_entry) (UInt sysno)
index 49c24a1a7191183b54856acc61ecdc6074b30e9e..cdcac7ba79a327308553a53d328958f4f0ecfc6f 100644 (file)
 #define __NR_rt_tgsigqueueinfo          (__NR_Linux + 332)
 #define __NR_perf_event_open            (__NR_Linux + 333)
 #define __NR_accept4                    (__NR_Linux + 334)
+#define __NR_recvmmsg                   (__NR_Linux + 335)
+#define __NR_fanotify_init              (__NR_Linux + 336)
+#define __NR_fanotify_mark              (__NR_Linux + 337)
+#define __NR_prlimit64                  (__NR_Linux + 338)
+#define __NR_name_to_handle_at          (__NR_Linux + 339)
+#define __NR_open_by_handle_at          (__NR_Linux + 340)
+#define __NR_clock_adjtime              (__NR_Linux + 341)
+#define __NR_syncfs                     (__NR_Linux + 342)
 
 /*
  * Offset of the last Linux o32 flavoured syscall