On Fri, Oct 24, 2008 at 03:36:07AM +0400, Dmitry V. Levin wrote: > 2008-10-23 Dmitry V. Levin <l...@altlinux.org> > > Implement parsers for new linux syscalls. > * desc.c (do_dup2, sys_dup3): New functions. > (sys_dup2): Use do_dup2. > (sys_epoll_create1): New function. > (do_eventfd, sys_eventfd2): New functions. > (sys_eventfd): Use do_eventfd. > * net.c (do_pipe, sys_pipe2): New functions. > (sys_pipe): Use do_pipe. > * signal.c (do_signalfd, sys_signalfd4): New functions. > (sys_signalfd): Use do_signalfd. > * linux/syscall.h: Declare new sys_* functions. > * linux/syscallent.h: Hook up signalfd4, eventfd2, epoll_create1, > dup3, pipe2, inotify_init1. > * linux/x86_64/syscallent.h: Hook up paccept, signalfd4, eventfd2, > epoll_create1, dup3, pipe2, inotify_init1. > > --- > desc.c | 61 +++++++++++++++++++++++++++++++------ > linux/syscall.h | 1 + > linux/syscallent.h | 12 ++++---- > linux/x86_64/syscallent.h | 7 ++++ > net.c | 51 +++++++++++++++++++++---------- > signal.c | 23 ++++++++++++-- > 6 files changed, 120 insertions(+), 35 deletions(-)
BTW, this applied patch adds support for new syscalls only for those two architectures I use. If you can test other architectures, please adjust corresponding linux/*/syscallent.h files. -- ldv
pgpNqVEVLQ3nk.pgp
Description: PGP signature
------------------------------------------------------------------------------
_______________________________________________ Strace-devel mailing list Strace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/strace-devel