From: Tom Hughes Date: Tue, 27 Oct 2009 09:01:43 +0000 (+0000) Subject: Update linux system calls lists to match 2.6.31.5 kernel. X-Git-Tag: svn/VALGRIND_3_6_0~503 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d32144bb8d7e451aa814e9faccfb49aaa1e67409;p=thirdparty%2Fvalgrind.git Update linux system calls lists to match 2.6.31.5 kernel. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10906 --- diff --git a/coregrind/m_syswrap/syswrap-amd64-linux.c b/coregrind/m_syswrap/syswrap-amd64-linux.c index 605d844d56..1e405c117e 100644 --- a/coregrind/m_syswrap/syswrap-amd64-linux.c +++ b/coregrind/m_syswrap/syswrap-amd64-linux.c @@ -1376,6 +1376,11 @@ const SyscallTableEntry ML_(syscall_table)[] = { // (__NR_dup3, sys_ni_syscall) // 292 LINXY(__NR_pipe2, sys_pipe2) // 293 // (__NR_inotify_init1, sys_ni_syscall) // 294 + + // (__NR_preadv, sys_ni_syscall) // 295 + // (__NR_pwritev, sys_ni_syscall) // 296 + // (__NR_rt_tgsigqueueinfo, sys_ni_syscall) // 297 + // (__NR_perf_counter_open, sys_ni_syscall) // 298 }; const UInt ML_(syscall_table_size) = diff --git a/coregrind/m_syswrap/syswrap-ppc32-linux.c b/coregrind/m_syswrap/syswrap-ppc32-linux.c index d56eda52ea..d4f15c7beb 100644 --- a/coregrind/m_syswrap/syswrap-ppc32-linux.c +++ b/coregrind/m_syswrap/syswrap-ppc32-linux.c @@ -1868,6 +1868,10 @@ const SyscallTableEntry ML_(syscall_table)[] = { // (__NR_dup3, sys_ni_syscall) // 316 LINXY(__NR_pipe2, sys_pipe2) // 317 // (__NR_inotify_init1, sys_ni_syscall) // 318 + // (__NR_perf_counter_open, sys_ni_syscall) // 319 + // (__NR_preadv, sys_ni_syscall) // 320 + // (__NR_pwritev, sys_ni_syscall) // 321 + // (__NR_rt_tgsigqueueinfo, sys_ni_syscall) // 322 }; const UInt ML_(syscall_table_size) = diff --git a/coregrind/m_syswrap/syswrap-ppc64-linux.c b/coregrind/m_syswrap/syswrap-ppc64-linux.c index 52441bcda6..bfb930159d 100644 --- a/coregrind/m_syswrap/syswrap-ppc64-linux.c +++ b/coregrind/m_syswrap/syswrap-ppc64-linux.c @@ -1508,6 +1508,10 @@ const SyscallTableEntry ML_(syscall_table)[] = { // (__NR_dup3, sys_ni_syscall) // 316 LINXY(__NR_pipe2, sys_pipe2) // 317 // (__NR_inotify_init1, sys_ni_syscall) // 318 + // (__NR_perf_counter_open, sys_ni_syscall) // 319 + // (__NR_preadv, sys_ni_syscall) // 320 + // (__NR_pwritev, sys_ni_syscall) // 321 + // (__NR_rt_tgsigqueueinfo, sys_ni_syscall) // 322 }; const UInt ML_(syscall_table_size) = diff --git a/coregrind/m_syswrap/syswrap-x86-linux.c b/coregrind/m_syswrap/syswrap-x86-linux.c index 90eb51290d..57720dd126 100644 --- a/coregrind/m_syswrap/syswrap-x86-linux.c +++ b/coregrind/m_syswrap/syswrap-x86-linux.c @@ -2255,6 +2255,11 @@ const SyscallTableEntry ML_(syscall_table)[] = { // (__NR_dup3, sys_ni_syscall) // 330 LINXY(__NR_pipe2, sys_pipe2) // 331 // (__NR_inotify_init1, sys_ni_syscall) // 332 + // (__NR_preadv, sys_ni_syscall) // 333 + // (__NR_pwritev, sys_ni_syscall) // 334 + + // (__NR_rt_tgsigqueueinfo, sys_ni_syscall) // 335 + // (__NR_perf_counter_open, sys_ni_syscall) // 336 }; const UInt ML_(syscall_table_size) = diff --git a/include/vki/vki-scnums-amd64-linux.h b/include/vki/vki-scnums-amd64-linux.h index d4b3fd7da2..1a2125f104 100644 --- a/include/vki/vki-scnums-amd64-linux.h +++ b/include/vki/vki-scnums-amd64-linux.h @@ -376,6 +376,10 @@ #define __NR_dup3 292 #define __NR_pipe2 293 #define __NR_inotify_init1 294 +#define __NR_preadv 295 +#define __NR_pwritev 296 +#define __NR_rt_tgsigqueueinfo 297 +#define __NR_perf_counter_open 298 #endif /* __VKI_SCNUMS_AMD64_LINUX_H */ diff --git a/include/vki/vki-scnums-ppc32-linux.h b/include/vki/vki-scnums-ppc32-linux.h index 7ae5b23571..29f00e79c4 100644 --- a/include/vki/vki-scnums-ppc32-linux.h +++ b/include/vki/vki-scnums-ppc32-linux.h @@ -361,6 +361,10 @@ #define __NR_dup3 316 #define __NR_pipe2 317 #define __NR_inotify_init1 318 +#define __NR_perf_counter_open 319 +#define __NR_preadv 320 +#define __NR_pwritev 321 +#define __NR_rt_tgsigqueueinfo 322 #endif /* __VKI_SCNUMS_PPC32_LINUX_H */ diff --git a/include/vki/vki-scnums-ppc64-linux.h b/include/vki/vki-scnums-ppc64-linux.h index 1123a4e77d..f46a02c051 100644 --- a/include/vki/vki-scnums-ppc64-linux.h +++ b/include/vki/vki-scnums-ppc64-linux.h @@ -353,6 +353,10 @@ #define __NR_dup3 316 #define __NR_pipe2 317 #define __NR_inotify_init1 318 +#define __NR_perf_counter_open 319 +#define __NR_preadv 320 +#define __NR_pwritev 321 +#define __NR_rt_tgsigqueueinfo 322 #endif /* __VKI_SCNUMS_PPC64_LINUX_H */ diff --git a/include/vki/vki-scnums-x86-linux.h b/include/vki/vki-scnums-x86-linux.h index 165b07e2f0..a20dcaf965 100644 --- a/include/vki/vki-scnums-x86-linux.h +++ b/include/vki/vki-scnums-x86-linux.h @@ -367,6 +367,10 @@ #define __NR_dup3 330 #define __NR_pipe2 331 #define __NR_inotify_init1 332 +#define __NR_preadv 333 +#define __NR_pwritev 334 +#define __NR_rt_tgsigqueueinfo 335 +#define __NR_perf_counter_open 336 #endif /* __VKI_SCNUMS_X86_LINUX_H */