[CRIU] [PATCH 2/4] syscalls: Add sys_madvise

Andrey Vagin avagin at parallels.com
Thu Oct 25 09:42:53 EDT 2012


On Thu, Oct 25, 2012 at 05:36:10PM +0400, Pavel Emelyanov wrote:
> On 10/25/2012 05:32 PM, Andrey Vagin wrote:
> > All code for restoring vma content are going to be moved in cr-restore.c.
> 
> _All_ ? Even shared?

shared are already there.

> 
> > On Thu, Oct 25, 2012 at 05:20:43PM +0400, Cyrill Gorcunov wrote:
> >>
> >> Will need it for VMA restore.
> >>
> >> Signed-off-by: Cyrill Gorcunov <gorcunov 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 1a3d759..e26e554 100644
> >> --- a/include/syscall-x86-64.def
> >> +++ b/include/syscall-x86-64.def
> >> @@ -22,6 +22,7 @@ __NR_rt_sigprocmask	14		sys_sigprocmask		(int how, k_rtsigset_t *set, k_rtsigset
> >>  __NR_rt_sigreturn	15		sys_rt_sigreturn	(void)
> >>  __NR_ioctl		16		sys_ioctl		(unsigned int fd, unsigned int cmd, unsigned long arg)
> >>  __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_pause		34		sys_pause		(void)
> >>  __NR_nanosleep		35		sys_nanosleep		(struct timespec *req, struct timespec *rem)
> > 
> >> _______________________________________________
> >> CRIU mailing list
> >> CRIU at openvz.org
> >> https://openvz.org/mailman/listinfo/criu
> > 
> > .
> > 
> 
> 


More information about the CRIU mailing list