[CRIU] [PATCH cr 01/16] syscall: add sys_mremap

Andrey Vagin avagin at openvz.org
Tue Oct 23 06:02:13 EDT 2012


It will be used in restorer.c

Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 include/syscall-x86-64.def |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/syscall-x86-64.def b/include/syscall-x86-64.def
index be0ed63..85967c3 100644
--- a/include/syscall-x86-64.def
+++ b/include/syscall-x86-64.def
@@ -20,6 +20,7 @@ __NR_brk		12		sys_brk			(void *addr)
 __NR_rt_sigaction	13		sys_sigaction		(int signum, const rt_sigaction_t *act, rt_sigaction_t *oldact, size_t sigsetsize)
 __NR_rt_sigprocmask	14		sys_sigprocmask		(int how, k_rtsigset_t *set, k_rtsigset_t *old, size_t sigsetsize)
 __NR_rt_sigreturn	15		sys_rt_sigreturn	(void)
+__NR_mremap		25		sys_mremap		(unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr)
 __NR_mincore		27		sys_mincore		(void *addr, unsigned long size, unsigned char *vec)
 __NR_shmat		30		sys_shmat		(int shmid, void *shmaddr, int shmflag)
 __NR_pause		34		sys_pause		(void)
-- 
1.7.1



More information about the CRIU mailing list