[CRIU] [PATCH 3/8] syscall: add shutdown

Andrey Vagin avagin at openvz.org
Fri Jun 14 07:04:54 EDT 2013


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

diff --git a/arch/arm/syscall.def b/arch/arm/syscall.def
index 7e8e603..39b578e 100644
--- a/arch/arm/syscall.def
+++ b/arch/arm/syscall.def
@@ -37,6 +37,7 @@ sendto				44	290	(int sockfd, void *buff, size_t len, unsigned int flags, struct
 recvfrom			52	292	(int sockfd, void *ubuf, size_t size, unsigned int flags, struct sockaddr *addr, int *addr_len)
 sendmsg				46	296	(int sockfd, const struct msghdr *msg, int flags)
 recvmsg				47	297	(int sockfd, struct msghdr *msg, int flags)
+shutdown			48	293	(int sockfd, int how)
 bind				49	282	(int sockfd, const struct sockaddr *addr, int addrlen)
 setsockopt			54	294	(int sockfd, int level, int optname, const void *optval, socklen_t optlen)
 getsockopt			55	295	(int sockfd, int level, int optname, const void *optval, socklen_t *optlen)
diff --git a/arch/x86/syscall-x86-64.def b/arch/x86/syscall-x86-64.def
index 1222cfd..4888b39 100644
--- a/arch/x86/syscall-x86-64.def
+++ b/arch/x86/syscall-x86-64.def
@@ -37,6 +37,7 @@ __NR_sendto		44		sys_sendto		(int sockfd, void *buff, size_t len, unsigned int f
 __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_shutdown		48		sys_shutdown		(int sockfd, int how)
 __NR_bind		49		sys_bind		(int sockfd, const struct sockaddr *addr, int addrlen)
 __NR_setsockopt		54		sys_setsockopt		(int sockfd, int level, int optname, const void *optval, socklen_t optlen)
 __NR_getsockopt		55		sys_getsockopt		(int sockfd, int level, int optname, const void *optval, socklen_t *optlen)
-- 
1.8.2



More information about the CRIU mailing list