[CRIU] [PATCH 1/5] criu: add the dup2 syscall

Andrey Vagin avagin at openvz.org
Thu Jul 14 11:44:14 PDT 2016


From: Andrew Vagin <avagin at virtuozzo.com>

It is required for the other/exec test

Signed-off-by: Andrew Vagin <avagin at virtuozzo.com>
---
 criu/arch/x86/syscalls/syscall_64.tbl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/criu/arch/x86/syscalls/syscall_64.tbl b/criu/arch/x86/syscalls/syscall_64.tbl
index c0b8d8c..2858749 100644
--- a/criu/arch/x86/syscalls/syscall_64.tbl
+++ b/criu/arch/x86/syscalls/syscall_64.tbl
@@ -22,6 +22,7 @@ __NR_mremap			25		sys_mremap		(unsigned long addr, unsigned long old_len, unsign
 __NR_mincore			27		sys_mincore		(void *addr, unsigned long size, unsigned char *vec)
 __NR_madvise			28		sys_madvise		(unsigned long start, size_t len, int behavior)
 __NR_shmat			30		sys_shmat		(int shmid, void *shmaddr, int shmflag)
+__NR_dup2			33		sys_dup2		(int oldfd, int newfd)
 __NR_nanosleep			35		sys_nanosleep		(struct timespec *req, struct timespec *rem)
 __NR_getitimer			36		sys_getitimer		(int which, const struct itimerval *val)
 __NR_setitimer			38		sys_setitimer		(int which, const struct itimerval *val, struct itimerval *old)
-- 
2.7.4



More information about the CRIU mailing list