Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 26 May 2016 22:04:56 +0200
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: [PATCH 1/7] add preadv2 and pwritev2 syscall numbers for linux v4.6

the syscalls take an additional flag argument, they were added in commit
f17d8b35452cab31a70d224964cd583fb2845449 and a RWF_HIPRI priority hint
flag was added to linux/fs.h in 97be7ebe53915af504fb491fb99f064c7cf3cb09.

the syscall is not allocated for microblaze and sh yet.
---
 arch/aarch64/bits/syscall.h.in   | 2 ++
 arch/arm/bits/syscall.h.in       | 2 ++
 arch/i386/bits/syscall.h.in      | 2 ++
 arch/mips/bits/syscall.h.in      | 2 ++
 arch/mips64/bits/syscall.h.in    | 2 ++
 arch/mipsn32/bits/syscall.h.in   | 2 ++
 arch/or1k/bits/syscall.h.in      | 2 ++
 arch/powerpc/bits/syscall.h.in   | 2 ++
 arch/powerpc64/bits/syscall.h.in | 2 ++
 arch/x32/bits/syscall.h.in       | 2 ++
 arch/x86_64/bits/syscall.h.in    | 2 ++
 11 files changed, 22 insertions(+)

diff --git a/arch/aarch64/bits/syscall.h.in b/arch/aarch64/bits/syscall.h.in
index bcf69d2..332f437 100644
--- a/arch/aarch64/bits/syscall.h.in
+++ b/arch/aarch64/bits/syscall.h.in
@@ -269,4 +269,6 @@
 #define __NR_membarrier 283
 #define __NR_mlock2 284
 #define __NR_copy_file_range 285
+#define __NR_preadv2 286
+#define __NR_pwritev2 287
 
diff --git a/arch/arm/bits/syscall.h.in b/arch/arm/bits/syscall.h.in
index 143b0a8..04c8b1c 100644
--- a/arch/arm/bits/syscall.h.in
+++ b/arch/arm/bits/syscall.h.in
@@ -345,6 +345,8 @@
 #define __NR_membarrier		389
 #define __NR_mlock2		390
 #define __NR_copy_file_range	391
+#define __NR_preadv2	392
+#define __NR_pwritev2	393
 
 #define __ARM_NR_breakpoint	0x0f0001
 #define __ARM_NR_cacheflush	0x0f0002
diff --git a/arch/i386/bits/syscall.h.in b/arch/i386/bits/syscall.h.in
index 108fbbc..5fe9c5c 100644
--- a/arch/i386/bits/syscall.h.in
+++ b/arch/i386/bits/syscall.h.in
@@ -376,4 +376,6 @@
 #define __NR_membarrier		375
 #define __NR_mlock2		376
 #define __NR_copy_file_range	377
+#define __NR_preadv2		378
+#define __NR_pwritev2		379
 
diff --git a/arch/mips/bits/syscall.h.in b/arch/mips/bits/syscall.h.in
index 61ff7a5..bcceaa2 100644
--- a/arch/mips/bits/syscall.h.in
+++ b/arch/mips/bits/syscall.h.in
@@ -358,4 +358,6 @@
 #define __NR_membarrier              4358
 #define __NR_mlock2                  4359
 #define __NR_copy_file_range         4360
+#define __NR_preadv2                 4361
+#define __NR_pwritev2                4362
 
diff --git a/arch/mips64/bits/syscall.h.in b/arch/mips64/bits/syscall.h.in
index 0e20683..eef8543 100644
--- a/arch/mips64/bits/syscall.h.in
+++ b/arch/mips64/bits/syscall.h.in
@@ -318,4 +318,6 @@
 #define __NR_membarrier			5318
 #define __NR_mlock2			5319
 #define __NR_copy_file_range		5320
+#define __NR_preadv2			5321
+#define __NR_pwritev2			5322
 
diff --git a/arch/mipsn32/bits/syscall.h.in b/arch/mipsn32/bits/syscall.h.in
index 6c38f68..5fda0b5 100644
--- a/arch/mipsn32/bits/syscall.h.in
+++ b/arch/mipsn32/bits/syscall.h.in
@@ -322,4 +322,6 @@
 #define __NR_membarrier			6322
 #define __NR_mlock2			6323
 #define __NR_copy_file_range		6324
+#define __NR_preadv2			6325
+#define __NR_pwritev2			6326
 
diff --git a/arch/or1k/bits/syscall.h.in b/arch/or1k/bits/syscall.h.in
index c6e55c6..c6b6cf2 100644
--- a/arch/or1k/bits/syscall.h.in
+++ b/arch/or1k/bits/syscall.h.in
@@ -269,4 +269,6 @@
 #define __NR_membarrier 283
 #define __NR_mlock2 284
 #define __NR_copy_file_range 285
+#define __NR_preadv2 286
+#define __NR_pwritev2 287
 
diff --git a/arch/powerpc/bits/syscall.h.in b/arch/powerpc/bits/syscall.h.in
index f55e69c..9d02232 100644
--- a/arch/powerpc/bits/syscall.h.in
+++ b/arch/powerpc/bits/syscall.h.in
@@ -369,4 +369,6 @@
 #define __NR_membarrier            365
 #define __NR_mlock2                378
 #define __NR_copy_file_range       379
+#define __NR_preadv2               380
+#define __NR_pwritev2              381
 
diff --git a/arch/powerpc64/bits/syscall.h.in b/arch/powerpc64/bits/syscall.h.in
index ff37536..c9880fa 100644
--- a/arch/powerpc64/bits/syscall.h.in
+++ b/arch/powerpc64/bits/syscall.h.in
@@ -355,4 +355,6 @@
 #define __NR_membarrier             365
 #define __NR_mlock2                 378
 #define __NR_copy_file_range        379
+#define __NR_preadv2                380
+#define __NR_pwritev2               381
 
diff --git a/arch/x32/bits/syscall.h.in b/arch/x32/bits/syscall.h.in
index 0b9362a..cf2b4f1 100644
--- a/arch/x32/bits/syscall.h.in
+++ b/arch/x32/bits/syscall.h.in
@@ -280,6 +280,8 @@
 #define __NR_membarrier (0x40000000 + 324)
 #define __NR_mlock2 (0x40000000 + 325)
 #define __NR_copy_file_range (0x40000000 + 326)
+#define __NR_preadv2 (0x40000000 + 327)
+#define __NR_pwritev2 (0x40000000 + 328)
 
 #define __NR_rt_sigaction (0x40000000 + 512)
 #define __NR_rt_sigreturn (0x40000000 + 513)
diff --git a/arch/x86_64/bits/syscall.h.in b/arch/x86_64/bits/syscall.h.in
index 7e638a0..d0c5518 100644
--- a/arch/x86_64/bits/syscall.h.in
+++ b/arch/x86_64/bits/syscall.h.in
@@ -325,4 +325,6 @@
 #define __NR_membarrier				324
 #define __NR_mlock2				325
 #define __NR_copy_file_range			326
+#define __NR_preadv2				327
+#define __NR_pwritev2				328
 
-- 
2.8.1

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.