From 213db3e3fa715288dea6a0d317b9c04b609dca7b Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sat, 23 Jun 2012 21:16:44 -0400 Subject: [PATCH] update syscall defs to latest kernel ones patch submitted by Kristian L. --- arch/arm/bits/syscall.h | 4 ++++ arch/i386/bits/syscall.h | 16 ++++++++++++++++ arch/x86_64/bits/syscall.h | 18 ++++++++++++++++++ 3 files changed, 38 insertions(+) diff --git a/arch/arm/bits/syscall.h b/arch/arm/bits/syscall.h index 02569d56..eb195c4a 100644 --- a/arch/arm/bits/syscall.h +++ b/arch/arm/bits/syscall.h @@ -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 diff --git a/arch/i386/bits/syscall.h b/arch/i386/bits/syscall.h index daea5525..37b339c0 100644 --- a/arch/i386/bits/syscall.h +++ b/arch/i386/bits/syscall.h @@ -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 diff --git a/arch/x86_64/bits/syscall.h b/arch/x86_64/bits/syscall.h index 5eeb8a69..61a67a70 100644 --- a/arch/x86_64/bits/syscall.h +++ b/arch/x86_64/bits/syscall.h @@ -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 -- 2.20.1