From: Szabolcs Nagy <nsz@port70.net>
To: musl@lists.openwall.com
Subject: [PATCH 1/7] add preadv2 and pwritev2 syscall numbers for linux v4.6
Date: Thu, 26 May 2016 22:04:56 +0200 [thread overview]
Message-ID: <57227cff08e0cc23adca93f24e8c7fdae88c02d9.1464291783.git.nsz@port70.net> (raw)
In-Reply-To: <cover.1464291783.git.nsz@port70.net>
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
next prev parent reply other threads:[~2016-05-26 20:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-26 20:04 [PATCH 0/7] linux v4.6 update Szabolcs Nagy
2016-05-26 20:04 ` Szabolcs Nagy [this message]
2016-05-26 20:05 ` [PATCH 2/7] add SO_CNX_ADVICE to sys/socket.h, new in linux v4.6 Szabolcs Nagy
2016-05-26 20:05 ` [PATCH 3/7] add ETH_P_MACSEC netinet/if_ether.h, " Szabolcs Nagy
2016-05-26 20:06 ` [PATCH 4/7] update siginfo struct for " Szabolcs Nagy
2016-05-26 20:06 ` [PATCH 5/7] add CLONE_NEWCGROUP clone flag, new in " Szabolcs Nagy
2016-05-26 20:07 ` [PATCH 6/7] add new tcp_info fields from " Szabolcs Nagy
2016-05-26 20:07 ` [PATCH 7/7] update sys/socket.h to " Szabolcs Nagy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=57227cff08e0cc23adca93f24e8c7fdae88c02d9.1464291783.git.nsz@port70.net \
--to=nsz@port70.net \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).