Commit a343afad authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

syscalls: Add sys_madvise

Will need it for VMA restore.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent fc6e7396
...@@ -22,6 +22,7 @@ __NR_rt_sigprocmask 14 sys_sigprocmask (int how, k_rtsigset_t *set, k_rtsigset ...@@ -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_rt_sigreturn 15 sys_rt_sigreturn (void)
__NR_ioctl 16 sys_ioctl (unsigned int fd, unsigned int cmd, unsigned long arg) __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_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_shmat 30 sys_shmat (int shmid, void *shmaddr, int shmflag)
__NR_pause 34 sys_pause (void) __NR_pause 34 sys_pause (void)
__NR_nanosleep 35 sys_nanosleep (struct timespec *req, struct timespec *rem) __NR_nanosleep 35 sys_nanosleep (struct timespec *req, struct timespec *rem)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment