]> granicus.if.org Git - strace/commit
Replace x86-64 paccept with accept4
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Aug 2009 10:34:05 +0000 (12:34 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 1 Sep 2009 19:53:29 +0000 (19:53 +0000)
commit705ff10c0b9c07b9b51fc2f2bc6f3e6412f6ed9c
tree994c079ff5ac1385cd12edda52e064e1c2ba72f4
parent99c85693a54e3da6c0e45127e25331766c071c2a
Replace x86-64 paccept with accept4

This patch changes the paccept syscall to accept4 for x86-64, since
the former was dropped in Linux kernel commit v2.6.27-rc7-14-g2d4c826.
At the same time, it adds support for pretty printing its arguments.

* linux/x86_64/syscallent.h: Replace paccept with accept4,
hook in sys_accept4.
* net.c (sys_accept): Leave a small stub calling the new...
(do_accept): ... function, which also adds a flags_arg argument.
(sys_accept4): New.
linux/syscall.h
linux/x86_64/syscallent.h
net.c