update syscall defs to latest kernel ones
authorRich Felker <dalias@aerifal.cx>
Sun, 24 Jun 2012 01:16:44 +0000 (21:16 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 24 Jun 2012 01:16:44 +0000 (21:16 -0400)
patch submitted by Kristian L. <email@thexception.net>

arch/arm/bits/syscall.h
arch/i386/bits/syscall.h
arch/x86_64/bits/syscall.h

index 02569d5..eb195c4 100644 (file)
@@ -374,6 +374,8 @@ static inline long __syscall6(long n, long a, long b, long c, long d, long e, lo
 #define __NR_syncfs    373
 #define __NR_sendmmsg  374
 #define __NR_setns     375
+#define __NR_process_vm_readv  376
+#define __NR_process_vm_writev 377
 
 /* fixup legacy 16-bit junk */
 #undef __NR_lchown
@@ -781,6 +783,8 @@ static inline long __syscall6(long n, long a, long b, long c, long d, long e, lo
 #define SYS_syncfs     373
 #define SYS_sendmmsg   374
 #define SYS_setns      375
+#define SYS_process_vm_readv   376
+#define SYS_process_vm_writev  377
 
 /* fixup legacy 16-bit junk */
 #undef SYS_lchown
index daea552..37b339c 100644 (file)
@@ -471,6 +471,14 @@ static inline long __syscall6(long __n, long __a1, long __a2, long __a3, long __
 #define __NR_preadv            333
 #define __NR_pwritev           334
 #define __NR_prlimit64         340
+#define __NR_name_to_handle_at 341
+#define __NR_open_by_handle_at 342
+#define __NR_clock_adjtime     343
+#define __NR_syncfs            344
+#define __NR_sendmmsg          345
+#define __NR_setns             346
+#define __NR_process_vm_readv  347
+#define __NR_process_vm_writev 348
 
 /* fixup legacy 16-bit junk */
 #undef __NR_lchown
@@ -883,6 +891,14 @@ static inline long __syscall6(long __n, long __a1, long __a2, long __a3, long __
 #define SYS_preadv             333
 #define SYS_pwritev            334
 #define SYS_prlimit64          340
+#define SYS_name_to_handle_at  341
+#define SYS_open_by_handle_at  342
+#define SYS_clock_adjtime      343
+#define SYS_syncfs             344
+#define SYS_sendmmsg           345
+#define SYS_setns              346
+#define SYS_process_vm_readv   347
+#define SYS_process_vm_writev  348
 
 /* fixup legacy 16-bit junk */
 #undef SYS_lchown
index 5eeb8a6..61a67a7 100644 (file)
@@ -367,6 +367,15 @@ static inline long __syscall6(long __n, long __a1, long __a2, long __a3, long __
 #define __NR_fanotify_init                     300
 #define __NR_fanotify_mark                     301
 #define __NR_prlimit64                         302
+#define __NR_name_to_handle_at                 303
+#define __NR_open_by_handle_at                 304
+#define __NR_clock_adjtime                     305
+#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
 
 #undef __NR_fstatat
 #undef __NR_pread
@@ -685,6 +694,15 @@ static inline long __syscall6(long __n, long __a1, long __a2, long __a3, long __
 #define SYS_fanotify_init                      300
 #define SYS_fanotify_mark                      301
 #define SYS_prlimit64                          302
+#define SYS_name_to_handle_at                  303
+#define SYS_open_by_handle_at                  304
+#define SYS_clock_adjtime                      305
+#define SYS_syncfs                             306
+#define SYS_sendmmsg                           307
+#define SYS_setns                              308
+#define SYS_getcpu                             309
+#define SYS_process_vm_readv                   310
+#define SYS_process_vm_writev                  311
 
 #undef SYS_fstatat
 #undef SYS_pread