Re: [PATCH] Decode recvmmsg syscall

2010-04-06 Thread Dmitry V. Levin
On Mon, Mar 29, 2010 at 08:14:36PM +0400, Dmitry V. Levin wrote: > On Sat, Feb 13, 2010 at 12:28:26AM +0300, Dmitry V. Levin wrote: > > On Fri, Feb 12, 2010 at 09:39:12PM +0100, Andreas Schwab wrote: > > [...] > > > +int > > > +sys_recvmmsg(struct tcb *tcp) > > > +{ > > > + if (entering(tcp)) { > >

Re: [PATCH] Decode recvmmsg syscall

2010-03-29 Thread Dmitry V. Levin
On Sat, Feb 13, 2010 at 12:28:26AM +0300, Dmitry V. Levin wrote: > On Fri, Feb 12, 2010 at 09:39:12PM +0100, Andreas Schwab wrote: > [...] > > +int > > +sys_recvmmsg(struct tcb *tcp) > > +{ > > + if (entering(tcp)) { > > + tprintf("%ld, ", tcp->u_arg[0]); > > + printmmsghdr(tc

Re: [PATCH] Decode recvmmsg syscall

2010-02-12 Thread Dmitry V. Levin
On Fri, Feb 12, 2010 at 09:39:12PM +0100, Andreas Schwab wrote: [...] > +int > +sys_recvmmsg(struct tcb *tcp) > +{ > + if (entering(tcp)) { > + tprintf("%ld, ", tcp->u_arg[0]); > + printmmsghdr(tcp, tcp->u_arg[1]); > + tprintf(", %ld, ", tcp->u_arg[2]); > +

[PATCH] Decode recvmmsg syscall

2010-02-12 Thread Andreas Schwab
* net.c (do_msghr): New function to print struct msghdr. (printmsghdr): Use it. (printmmsghdr, sys_recvmmsg): New. * linux/syscall.h: Declare sys_recvmmsg. (SYS_sub_recvmmsg): Define. (SYS_socket_nsubcalls): Bump. * linux/sparc/syscall.h: Likewise. * linux/arm/syscallent.h: Add sys_recvmmsg. * linu