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.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12752
This commit is contained in:
Petar Jovanovic 2012-07-16 14:35:26 +00:00
parent 27fdf23181
commit e24ea886e5
2 changed files with 10 additions and 1 deletions

View 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)

View File

@ -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