summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-06-23 21:16:44 -0400
committerRich Felker <dalias@aerifal.cx>2012-06-23 21:16:44 -0400
commit213db3e3fa715288dea6a0d317b9c04b609dca7b (patch)
tree094f891b1d9d329e40273af88e81d7fdf45cc75b /arch
parent4e8b0938d90793d6e1e200d6b25e6581b72bd4d0 (diff)
downloadmusl-213db3e3fa715288dea6a0d317b9c04b609dca7b.tar.gz
update syscall defs to latest kernel ones
patch submitted by Kristian L. <email@thexception.net>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/bits/syscall.h4
-rw-r--r--arch/i386/bits/syscall.h16
-rw-r--r--arch/x86_64/bits/syscall.h18
3 files changed, 38 insertions, 0 deletions
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