From: Tom Hughes Date: Thu, 9 Feb 2012 11:38:10 +0000 (+0000) Subject: Update linux system call lists. X-Git-Tag: svn/VALGRIND_3_8_0~483 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f65fa07cc9d015fc0f0228ef2a64d9c866711531;p=thirdparty%2Fvalgrind.git Update linux system call lists. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12370 --- diff --git a/include/vki/vki-scnums-amd64-linux.h b/include/vki/vki-scnums-amd64-linux.h index 81db2398d9..2285fb9a3d 100644 --- a/include/vki/vki-scnums-amd64-linux.h +++ b/include/vki/vki-scnums-amd64-linux.h @@ -32,7 +32,7 @@ #ifndef __VKI_SCNUMS_AMD64_LINUX_H #define __VKI_SCNUMS_AMD64_LINUX_H -// From linux-2.6.9/include/asm-x86_64/unistd.h +// Derived from linux-2.6/arch/x86/syscalls/syscall_64.tbl #define __NR_read 0 #define __NR_write 1 @@ -390,6 +390,9 @@ #define __NR_syncfs 306 #define __NR_sendmmsg 307 #define __NR_setns 308 +#define __NR_getcpu 309 +#define __NR_process_vm_readv 310 +#define __NR_process_vm_writev 311 #endif /* __VKI_SCNUMS_AMD64_LINUX_H */ diff --git a/include/vki/vki-scnums-arm-linux.h b/include/vki/vki-scnums-arm-linux.h index 0a184fa249..f2a1da1b0e 100644 --- a/include/vki/vki-scnums-arm-linux.h +++ b/include/vki/vki-scnums-arm-linux.h @@ -32,7 +32,7 @@ #ifndef __VKI_SCNUMS_ARM_LINUX_H #define __VKI_SCNUMS_ARM_LINUX_H -// From linux-2.6.26.2/include/asm-arm/unistd.h +// From linux-2.6/arch/arm/include/asm/unistd.h #define __NR_restart_syscall 0 #define __NR_exit 1 @@ -412,6 +412,8 @@ #define __NR_syncfs 373 #define __NR_sendmmsg 374 #define __NR_setns 375 +#define __NR_process_vm_readv 376 +#define __NR_process_vm_writev 377 diff --git a/include/vki/vki-scnums-ppc32-linux.h b/include/vki/vki-scnums-ppc32-linux.h index 3eb20bae59..a13e483119 100644 --- a/include/vki/vki-scnums-ppc32-linux.h +++ b/include/vki/vki-scnums-ppc32-linux.h @@ -32,7 +32,7 @@ #ifndef __VKI_SCNUMS_PPC32_LINUX_H #define __VKI_SCNUMS_PPC32_LINUX_H -// From linux-2.6.9/include/asm-ppc/unistd.h +// From linux-2.6/arc/powerpc/include/asm/unistd.h #define __NR_restart_syscall 0 #define __NR_exit 1 @@ -393,6 +393,8 @@ #define __NR_syncfs 348 #define __NR_sendmmsg 349 #define __NR_setns 350 +#define __NR_process_vm_readv 351 +#define __NR_process_vm_writev 352 #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 75c5b82c18..08b1f5c077 100644 --- a/include/vki/vki-scnums-ppc64-linux.h +++ b/include/vki/vki-scnums-ppc64-linux.h @@ -32,7 +32,7 @@ #ifndef __VKI_SCNUMS_PPC64_LINUX_H #define __VKI_SCNUMS_PPC64_LINUX_H -// From linux-2.6.16-rc4/include/asm-powerpc/unistd.h +// From linux-2.6/arc/powerpc/include/asm/unistd.h #define __NR_restart_syscall 0 #define __NR_exit 1 @@ -385,6 +385,8 @@ #define __NR_syncfs 348 #define __NR_sendmmsg 349 #define __NR_setns 350 +#define __NR_process_vm_readv 351 +#define __NR_process_vm_writev 352 #endif /* __VKI_SCNUMS_PPC64_LINUX_H */ diff --git a/include/vki/vki-scnums-s390x-linux.h b/include/vki/vki-scnums-s390x-linux.h index 348d36aa98..2d63858de9 100644 --- a/include/vki/vki-scnums-s390x-linux.h +++ b/include/vki/vki-scnums-s390x-linux.h @@ -34,7 +34,7 @@ #define __VKI_SCNUMS_S390X_LINUX_H //---------------------------------------------------------------------- -// From linux-2.6.39.2/include/asm-s390/unistd.h +// From linux-2.6/arch/s390/include/asm/unistd.h //---------------------------------------------------------------------- /* @@ -304,7 +304,10 @@ #define __NR_open_by_handle_at 336 #define __NR_clock_adjtime 337 #define __NR_syncfs 338 -#define NR_syscalls 339 +#define __NR_setns 339 +#define __NR_process_vm_readv 340 +#define __NR_process_vm_writev 341 +#define NR_syscalls 342 /* * There are some system calls that are not present on 64 bit, some diff --git a/include/vki/vki-scnums-x86-linux.h b/include/vki/vki-scnums-x86-linux.h index 9bdd86d651..6b445a6f86 100644 --- a/include/vki/vki-scnums-x86-linux.h +++ b/include/vki/vki-scnums-x86-linux.h @@ -32,7 +32,7 @@ #ifndef __VKI_SCNUMS_X86_LINUX_H #define __VKI_SCNUMS_X86_LINUX_H -// From linux-2.6.9/include/asm-i386/unistd.h +// Derived from linux-2.6/arch/x86/syscalls/syscall_32.tbl #define __NR_restart_syscall 0 #define __NR_exit 1 @@ -381,6 +381,8 @@ #define __NR_syncfs 344 #define __NR_sendmmsg 345 #define __NR_setns 346 +#define __NR_process_vm_readv 347 +#define __NR_process_vm_writev 348 #endif /* __VKI_SCNUMS_X86_LINUX_H */