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]); > + /* flags */ > + printflags(msg_flags, tcp->u_arg[3], "MSG_???"); > + /* timeout */ > + tprintf(", "); > + print_timespec(tcp, tcp->u_arg[4]); > + } > + return 0; > +}
If recvmmsg semantics is similar to recvmsg, then only file descriptor can be decoded on entrance to the syscall, while the mmsghdr structure (and all the rest) -- on exit from the syscall. -- ldv
pgp6JaBRNW0MQ.pgp
Description: PGP signature
------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________ Strace-devel mailing list Strace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/strace-devel