diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2009-08-14 12:34:06 +0200 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2009-09-01 19:53:29 +0000 |
commit | 8a56b8a8e77e095b6152253dc99fc5f4c226d02f (patch) | |
tree | cf3793ebe16ad9ca0f9ab191929254cf75905f19 /linux/syscall.h | |
parent | 705ff10c0b9c07b9b51fc2f2bc6f3e6412f6ed9c (diff) | |
download | strace-8a56b8a8e77e095b6152253dc99fc5f4c226d02f.tar.gz |
Add accept4 socketcall
This second patch in the series adds support for accept4 as a socketcall
sub-call. Besides the need to renumber all system calls, this poses
no problem.
Tested on i686.
* linux/arm/syscallent.h: Add accept4 socketcall.
* linux/m68k/syscallent.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/syscallent.h: Likewise.
* linux/sparc/syscall.h (SYS_sub_accept4): Declare.
(SYS_socket_nsubcalls): Update.
* linux/syscall.h: Likewise.
Diffstat (limited to 'linux/syscall.h')
-rw-r--r-- | linux/syscall.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/syscall.h b/linux/syscall.h index b373ec888..03c8b81bd 100644 --- a/linux/syscall.h +++ b/linux/syscall.h @@ -226,8 +226,9 @@ int sys_osf_utimes(); #define SYS_sub_getsockopt (SYS_socket_subcall + 15) #define SYS_sub_sendmsg (SYS_socket_subcall + 16) #define SYS_sub_recvmsg (SYS_socket_subcall + 17) +#define SYS_sub_accept4 (SYS_socket_subcall + 18) -#define SYS_socket_nsubcalls 18 +#define SYS_socket_nsubcalls 19 #endif /* !(ALPHA || MIPS || HPPA) */ /* sys_ipc subcalls */ |