[CRIU] [PATCH v1 02/17] arch: Add sys_unshare() description

Kirill Tkhai ktkhai at virtuozzo.com
Thu Jan 12 09:52:19 PST 2017


Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
---
 compel/arch/arm/plugins/std/syscalls/syscall.def   |    1 +
 .../ppc64/plugins/std/syscalls/syscall-ppc64.tbl   |    1 +
 .../arch/x86/plugins/std/syscalls/syscall_32.tbl   |    1 +
 .../arch/x86/plugins/std/syscalls/syscall_64.tbl   |    1 +
 4 files changed, 4 insertions(+)

diff --git a/compel/arch/arm/plugins/std/syscalls/syscall.def b/compel/arch/arm/plugins/std/syscalls/syscall.def
index c4e390ac5..fb76e52a4 100644
--- a/compel/arch/arm/plugins/std/syscalls/syscall.def
+++ b/compel/arch/arm/plugins/std/syscalls/syscall.def
@@ -107,3 +107,4 @@ io_submit			2	246	(aio_context_t ctx_id, long nr, struct iocb **iocbpp)
 io_getevents			4	245	(aio_context_t ctx, long min_nr, long nr, struct io_event *evs, struct timespec *tmo)
 seccomp				277	383	(unsigned int op, unsigned int flags, const char *uargs)
 userfaultfd			282	388	(int flags)
+unshare				97	337	(unsigned long flags)
diff --git a/compel/arch/ppc64/plugins/std/syscalls/syscall-ppc64.tbl b/compel/arch/ppc64/plugins/std/syscalls/syscall-ppc64.tbl
index e94277c1d..1bb0eb96c 100644
--- a/compel/arch/ppc64/plugins/std/syscalls/syscall-ppc64.tbl
+++ b/compel/arch/ppc64/plugins/std/syscalls/syscall-ppc64.tbl
@@ -87,6 +87,7 @@ __NR_exit_group		234		sys_exit_group		(int error_code)
 __NR_waitid		272		sys_waitid		(int which, pid_t pid, struct siginfo *infop, int options, struct rusage *ru)
 __NR_set_robust_list	300		sys_set_robust_list	(struct robust_list_head *head, size_t len)
 __NR_get_robust_list	299		sys_get_robust_list	(int pid, struct robust_list_head **head_ptr, size_t *len_ptr)
+__NR_unshare		282		sys_unshare		(unsigned long flags)
 __NR_vmsplice		285		sys_vmsplice		(int fd, const struct iovec *iov, unsigned long nr_segs, unsigned int flags)
 __NR_openat		286		sys_openat		(int dfd, const char *filename, int flags, int mode)
 __NR_timerfd_settime	311		sys_timerfd_settime	(int ufd, int flags, const struct itimerspec *utmr, struct itimerspec *otmr)
diff --git a/compel/arch/x86/plugins/std/syscalls/syscall_32.tbl b/compel/arch/x86/plugins/std/syscalls/syscall_32.tbl
index 355de71ad..a9a37bac4 100644
--- a/compel/arch/x86/plugins/std/syscalls/syscall_32.tbl
+++ b/compel/arch/x86/plugins/std/syscalls/syscall_32.tbl
@@ -78,6 +78,7 @@ __NR_clock_gettime	265		sys_clock_gettime	(int which_clock, struct timespec *tp)
 __NR_waitid		284		sys_waitid		(int which, pid_t pid, struct siginfo *infop, int options, struct rusage *ru)
 __NR_openat		295		sys_openat		(int dfd, const char *filename, int flags, int mode)
 __NR_readlinkat		305		sys_readlinkat		(int fd, const char *path, char *buf, int bufsize)
+__NR_unshare		310		sys_unshare		(unsigned long flags)
 __NR_set_robust_list	311		sys_set_robust_list	(struct robust_list_head *head, size_t len)
 __NR_get_robust_list	312		sys_get_robust_list	(int pid, struct robust_list_head **head_ptr, size_t *len_ptr)
 __NR_vmsplice		316		sys_vmsplice		(int fd, const struct iovec *iov, unsigned int nr_segs, unsigned int flags)
diff --git a/compel/arch/x86/plugins/std/syscalls/syscall_64.tbl b/compel/arch/x86/plugins/std/syscalls/syscall_64.tbl
index dade3a026..494f499d1 100644
--- a/compel/arch/x86/plugins/std/syscalls/syscall_64.tbl
+++ b/compel/arch/x86/plugins/std/syscalls/syscall_64.tbl
@@ -89,6 +89,7 @@ __NR_exit_group			231		sys_exit_group		(int error_code)
 __NR_openat			257		sys_openat		(int dfd, const char *filename, int flags, int mode)
 __NR_waitid			247		sys_waitid		(int which, pid_t pid, struct siginfo *infop, int options, struct rusage *ru)
 __NR_readlinkat			267		sys_readlinkat		(int fd, const char *path, char *buf, int bufsize)
+__NR_unshare			272		sys_unshare		(unsigned long flags)
 __NR_set_robust_list		273		sys_set_robust_list	(struct robust_list_head *head, size_t len)
 __NR_get_robust_list		274		sys_get_robust_list	(int pid, struct robust_list_head **head_ptr, size_t *len_ptr)
 __NR_seccomp			317		sys_seccomp		(unsigned int op, unsigned int flags, const char *uargs)



More information about the CRIU mailing list