[01/11] compel: Add preadv syscall

Submitted by Pavel Emelianov on May 5, 2017, 4:01 p.m.

Details

Message ID 3bba33eb-2ed0-f688-6fb2-6b826fbbe1de@virtuozzo.com
State New
Series "Do not remap vmas when not needed"
Headers show

Commit Message

Pavel Emelianov May 5, 2017, 4:01 p.m.
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
---
 compel/arch/arm/plugins/std/syscalls/syscall.def         | 1 +
 compel/arch/ppc64/plugins/std/syscalls/syscall-ppc64.tbl | 1 +
 compel/arch/x86/plugins/std/syscalls/syscall_32.tbl      | 1 +
 compel/arch/x86/plugins/std/syscalls/syscall_64.tbl      | 1 +
 4 files changed, 4 insertions(+)

Patch hide | download patch | download mbox

diff --git a/compel/arch/arm/plugins/std/syscalls/syscall.def b/compel/arch/arm/plugins/std/syscalls/syscall.def
index b6e9bb2..3f48d88 100644
--- a/compel/arch/arm/plugins/std/syscalls/syscall.def
+++ b/compel/arch/arm/plugins/std/syscalls/syscall.def
@@ -108,3 +108,4 @@  io_getevents			4	245	(aio_context_t ctx, long min_nr, long nr, struct io_event *
 seccomp				277	383	(unsigned int op, unsigned int flags, const char *uargs)
 gettimeofday			169	78	(struct timeval *tv, struct timezone *tz)
 userfaultfd			282	388	(int flags)
+preadv				69	361	(int fd, struct iovec *iov, unsigned long nr, loff_t off)
diff --git a/compel/arch/ppc64/plugins/std/syscalls/syscall-ppc64.tbl b/compel/arch/ppc64/plugins/std/syscalls/syscall-ppc64.tbl
index f300f49..b4ac63e 100644
--- a/compel/arch/ppc64/plugins/std/syscalls/syscall-ppc64.tbl
+++ b/compel/arch/ppc64/plugins/std/syscalls/syscall-ppc64.tbl
@@ -105,3 +105,4 @@  __NR_io_submit		230		sys_io_submit		(aio_context_t ctx_id, long nr, struct iocb
 __NR_ipc		117		sys_ipc			(unsigned int call, int first, unsigned long second, unsigned long third, const void *ptr, long fifth)
 __NR_gettimeofday	78		sys_gettimeofday	(struct timeval *tv, struct timezone *tz)
 __NR_userfaultfd	364		sys_userfaultfd		(int flags)
+__NR_preadv		320		sys_preadv		(int fd, struct iovec *iov, unsigned long nr, loff_t off)
diff --git a/compel/arch/x86/plugins/std/syscalls/syscall_32.tbl b/compel/arch/x86/plugins/std/syscalls/syscall_32.tbl
index 5d6cebd..0eea9d0 100644
--- a/compel/arch/x86/plugins/std/syscalls/syscall_32.tbl
+++ b/compel/arch/x86/plugins/std/syscalls/syscall_32.tbl
@@ -84,6 +84,7 @@  __NR_get_robust_list	312		sys_get_robust_list	(int pid, struct robust_list_head
 __NR_vmsplice		316		sys_vmsplice		(int fd, const struct iovec *iov, unsigned int nr_segs, unsigned int flags)
 __NR_signalfd		321		sys_signalfd		(int ufd, const k_rtsigset_t *sigmask, size_t sigsetsize)
 __NR_timerfd_settime	325		sys_timerfd_settime	(int ufd, int flags, const struct itimerspec *utmr, struct itimerspec *otmr)
+__NR_preadv		333		sys_preadv		(int fd, struct iovec *iov, unsigned long nr, loff_t off)
 __NR_rt_tgsigqueueinfo	335		sys_rt_tgsigqueueinfo	(pid_t tgid, pid_t pid, int sig, siginfo_t *uinfo)
 __NR_fanotify_init	338		sys_fanotify_init	(unsigned int flags, unsigned int event_f_flags)
 __NR_fanotify_mark	339		sys_fanotify_mark	(int fanotify_fd, unsigned int flag, uint32_t mask, int dfd, const char *pathname)
diff --git a/compel/arch/x86/plugins/std/syscalls/syscall_64.tbl b/compel/arch/x86/plugins/std/syscalls/syscall_64.tbl
index 35262c0..c291c9a 100644
--- a/compel/arch/x86/plugins/std/syscalls/syscall_64.tbl
+++ b/compel/arch/x86/plugins/std/syscalls/syscall_64.tbl
@@ -96,6 +96,7 @@  __NR_seccomp			317		sys_seccomp		(unsigned int op, unsigned int flags, const cha
 __NR_vmsplice			278		sys_vmsplice		(int fd, const struct iovec *iov, unsigned long nr_segs, unsigned int flags)
 __NR_timerfd_settime		286		sys_timerfd_settime	(int ufd, int flags, const struct itimerspec *utmr, struct itimerspec *otmr)
 __NR_signalfd4			289		sys_signalfd		(int fd, k_rtsigset_t *mask, size_t sizemask, int flags)
+__NR_preadv			295		sys_preadv		(int fd, struct iovec *iov, unsigned long nr, loff_t off)
 __NR_rt_tgsigqueueinfo		297		sys_rt_tgsigqueueinfo	(pid_t tgid, pid_t pid, int sig, siginfo_t *info)
 __NR_fanotify_init		300		sys_fanotify_init	(unsigned int flags, unsigned int event_f_flags)
 __NR_fanotify_mark		301		sys_fanotify_mark	(int fanotify_fd, unsigned int flags, uint64_t mask, int dfd, const char *pathname)