[RFC v2 3/5] Export new vector IO (with flags) to userland

From: Milosz Tanski
Date: Wed Sep 17 2014 - 18:21:13 EST


This is only for x86_64 and x86. Will add other arch later.

Signed-off-by: Milosz Tanski <milosz@xxxxxxxxx>
---
arch/x86/syscalls/syscall_32.tbl | 4 ++++
arch/x86/syscalls/syscall_64.tbl | 4 ++++
2 files changed, 8 insertions(+)

diff --git a/arch/x86/syscalls/syscall_32.tbl b/arch/x86/syscalls/syscall_32.tbl
index 028b781..ed85dca 100644
--- a/arch/x86/syscalls/syscall_32.tbl
+++ b/arch/x86/syscalls/syscall_32.tbl
@@ -363,3 +363,7 @@
354 i386 seccomp sys_seccomp
355 i386 getrandom sys_getrandom
356 i386 memfd_create sys_memfd_create
+357 i386 readv2 sys_readv2
+358 i386 writev2 sys_writev2
+359 i386 preadv2 sys_preadv2
+360 i386 pwritev2 sys_pwritev2
diff --git a/arch/x86/syscalls/syscall_64.tbl b/arch/x86/syscalls/syscall_64.tbl
index 35dd922..76d9f60 100644
--- a/arch/x86/syscalls/syscall_64.tbl
+++ b/arch/x86/syscalls/syscall_64.tbl
@@ -327,6 +327,10 @@
318 common getrandom sys_getrandom
319 common memfd_create sys_memfd_create
320 common kexec_file_load sys_kexec_file_load
+321 64 readv2 sys_readv2
+322 64 writev2 sys_writev2
+323 64 preadv2 sys_preadv2
+324 64 pwritev2 sys_pwritev2

#
# x32-specific system call numbers start at 512 to avoid cache impact
--
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/