Re: [PATCHv2 3/4] Add functions for dumping iovecs in mmsghdr used in sendmmsg and recvmmsg

2014-11-06 Thread Dmitry V. Levin
On Fri, Nov 07, 2014 at 11:38:21AM +0900, Masatake YAMATO wrote: [...] > +void > +dumpiov_in_mmsghdr(struct tcb *tcp, long addr) > +{ > + unsigned int len = tcp->u_rval; > + unsigned int i; > + struct mmsghdr mmsg; > + > + for (i = 0; i < len; ++i) > + { > + if (extr

[PATCHv2 3/4] Add functions for dumping iovecs in mmsghdr used in sendmmsg and recvmmsg

2014-11-06 Thread Masatake YAMATO
This patch is similar to what I did in commit 02f9f6b386741a52f58e1b31ad4e7fff60781ef8. The commit was for sendmsg and recvmsg system calls. This one is for sendmmsg and recvmmsg system calls. $ ./strace -f -e write=all tests/mmsg ... [pid 6730] sendmmsg(3, ...