|
From: <sv...@va...> - 2012-07-16 14:35:36
|
petarj 2012-07-16 15:35:26 +0100 (Mon, 16 Jul 2012)
New Revision: 12752
Log:
Add some missing syscall numbers for MIPS.
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.
Modified files:
trunk/coregrind/m_syswrap/syswrap-mips32-linux.c
trunk/include/vki/vki-scnums-mips32-linux.h
Modified: trunk/coregrind/m_syswrap/syswrap-mips32-linux.c (+2 -1)
===================================================================
--- trunk/coregrind/m_syswrap/syswrap-mips32-linux.c 2012-07-16 15:07:47 +01:00 (rev 12751)
+++ trunk/coregrind/m_syswrap/syswrap-mips32-linux.c 2012-07-16 15:35:26 +01:00 (rev 12752)
@@ -1738,7 +1738,8 @@
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)
Modified: trunk/include/vki/vki-scnums-mips32-linux.h (+8 -0)
===================================================================
--- trunk/include/vki/vki-scnums-mips32-linux.h 2012-07-16 15:07:47 +01:00 (rev 12751)
+++ trunk/include/vki/vki-scnums-mips32-linux.h 2012-07-16 15:35:26 +01:00 (rev 12752)
@@ -372,6 +372,14 @@
#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
|