[PATCH 3/2] What's up with linux/sparc/syscall.h.2?

Paolo Bonzini pbonzini at redhat.com
Fri Aug 14 10:34:07 UTC 2009


I'm not sure if this file has to be updated too, here it is if necessary.

* linux/sparc/syscall.h.2 (sys_sendmsg, sys_recvmsg, sys_accept4):
Declare.
(SYS_sendmsg, SYS_recvmsg, SYS_accept4): New.
(SYS_socket_nsubcalls): Update.
---
 linux/sparc/syscall.h.2 |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/linux/sparc/syscall.h.2 b/linux/sparc/syscall.h.2
index 19d3b4a..7fd2af3 100644
--- a/linux/sparc/syscall.h.2
+++ b/linux/sparc/syscall.h.2
@@ -84,6 +84,7 @@ int sys_socket(), sys_bind(), sys_connect(), sys_listen();
 int sys_accept(), sys_getsockname(), sys_getpeername(), sys_socketpair();
 int sys_send(), sys_recv(), sys_sendto(), sys_recvfrom();
 int sys_shutdown(), sys_setsockopt(), sys_getsockopt();
+int sys_sendmsg(), sys_recvmsg(), sys_accept4();
 
 #ifndef ALPHA
 #define SYS_socket_subcall	180
@@ -102,8 +103,11 @@ int sys_shutdown(), sys_setsockopt(), sys_getsockopt();
 #define SYS_shutdown		(SYS_socket_subcall + 13)
 #define SYS_setsockopt		(SYS_socket_subcall + 14)
 #define SYS_getsockopt		(SYS_socket_subcall + 15)
+#define SYS_sendmsg		(SYS_socket_subcall + 16)
+#define SYS_recvmsg		(SYS_socket_subcall + 17)
+#define SYS_accept4		(SYS_socket_subcall + 18)
 
-#define SYS_socket_nsubcalls	16
+#define SYS_socket_nsubcalls	19
 #endif /* !ALPHA */
 
 /* sys_ipc subcalls */
-- 
1.6.2.5





More information about the Strace-devel mailing list