]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
mips: enable syscalls prlimit64, process_vm_readv, process_vm_writev
authorPetar Jovanovic <mips32r2@gmail.com>
Tue, 14 May 2013 14:13:15 +0000 (14:13 +0000)
committerPetar Jovanovic <mips32r2@gmail.com>
Tue, 14 May 2013 14:13:15 +0000 (14:13 +0000)
Enable wrappers for syscalls prlimit64, process_vm_readv, process_vm_writev,
needed by the following tests:

- none/tests/rlimit64_nofile and
- none/tests/process_vm_readv_writev.

The change also adds definitions for several system calls for MIPS64.

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

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

index 23f2c4d5123382c7434a016d38d6c9c4ed69f8fa..d72e4de1495a9a04b6202fe5faeca6faa758d4fb 100644 (file)
@@ -913,7 +913,10 @@ static SyscallTableEntry syscall_main_table[] = {
    LINXY (__NR_timerfd_create, sys_timerfd_create),
    LINXY (__NR_timerfd_gettime, sys_timerfd_gettime),
    LINXY (__NR_timerfd_settime, sys_timerfd_settime),
-   LINXY (__NR_newfstatat, sys_newfstatat)
+   LINXY (__NR_newfstatat, sys_newfstatat),
+   LINXY (__NR_prlimit64, sys_prlimit64),
+   LINXY (__NR_process_vm_readv, sys_process_vm_readv),
+   LINX_ (__NR_process_vm_writev, sys_process_vm_writev)
 };
 
 SyscallTableEntry * ML_(get_linux_syscall_entry) ( UInt sysno )
index b08483886a2eb41a3b1187f0ccfc7d94f8573337..2dcae99edb50c20e99ea72b5675be5e2a8342026 100644 (file)
 #define __NR_rt_tgsigqueueinfo      (__NR_Linux + 291)
 #define __NR_perf_event_open        (__NR_Linux + 292)
 #define __NR_accept4                (__NR_Linux + 293)
+#define __NR_recvmmsg               (__NR_Linux + 294)
+#define __NR_fanotify_init          (__NR_Linux + 295)
+#define __NR_fanotify_mark          (__NR_Linux + 296)
+#define __NR_prlimit64              (__NR_Linux + 297)
+#define __NR_name_to_handle_at      (__NR_Linux + 298)
+#define __NR_open_by_handle_at      (__NR_Linux + 299)
+#define __NR_clock_adjtime          (__NR_Linux + 300)
+#define __NR_syncfs                 (__NR_Linux + 301)
+#define __NR_sendmmsg               (__NR_Linux + 302)
+#define __NR_setns                  (__NR_Linux + 303)
+#define __NR_process_vm_readv       (__NR_Linux + 304)
+#define __NR_process_vm_writev      (__NR_Linux + 305)
 
 #endif /* __VKI_SCNUMS_MIPS64_LINUX_H */