[CRIU] [PATCH 01/22] x86: syscalls -- Add sys_sendto/sys_recvfrom helpers

Pavel Emelyanov xemul at parallels.com
Wed May 15 08:49:31 EDT 2013


On 05/08/2013 05:28 PM, Andrey Vagin wrote:
> From: Cyrill Gorcunov <gorcunov at openvz.org>
> 
> Will be needed for parasite code.
> 
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> Signed-off-by: Andrey Vagin <avagin at openvz.org>
> ---
>  arch/x86/syscall-x86-64.def | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/x86/syscall-x86-64.def b/arch/x86/syscall-x86-64.def
> index 9e2522b..1889a91 100644
> --- a/arch/x86/syscall-x86-64.def
> +++ b/arch/x86/syscall-x86-64.def
> @@ -33,6 +33,8 @@ __NR_setitimer		38		sys_setitimer		(int which, const struct itimerval *val, stru
>  __NR_getpid		39		sys_getpid		(void)
>  __NR_socket		41		sys_socket		(int domain, int type, int protocol)
>  __NR_connect		42		sys_connect		(int sockfd, struct sockaddr *addr, int addrlen)
> +__NR_sendto		44		sys_sendto		(int sockfd, void *buff, size_t len, unsigned int flags, struct sockaddr *addr, int addr_len)
> +__NR_recvfrom		45		sys_recvfrom		(int sockfd, void *ubuf, size_t size, unsigned int flags, struct sockaddr *addr, int *addr_len)
>  __NR_sendmsg		46		sys_sendmsg		(int sockfd, const struct msghdr *msg, int flags)
>  __NR_recvmsg		47		sys_recvmsg		(int sockfd, struct msghdr *msg, int flags)
>  __NR_bind		49		sys_bind		(int sockfd, const struct sockaddr *addr, int addrlen)
> 


This one applied


More information about the CRIU mailing list