]> granicus.if.org Git - strace/commit
Implement sendmmsg syscall decoder
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 11 Mar 2012 23:59:29 +0000 (23:59 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 11 Mar 2012 23:59:29 +0000 (23:59 +0000)
commit7af9f35001af19e2844b3e9fb3c672ee696be17b
treecb72deb2c20b9d86f9603890d9665c48f01bbcda
parent1ff463d15412de77fcf5b8ca1cf43c63dce1dbe1
Implement sendmmsg syscall decoder

* linux/dummy.h (sys_sendmmsg): Remove.
* linux/syscall.h (sys_sendmmsg): New prototype.
* net.c (printmmsghdr): Add index argument specifying the element in
mmsghdr array to print.
(decode_mmsg): New function, prints the whole mmsghdr array, its length
and message flags.
(sys_sendmmsg): New function.
(sys_recvmmsg): Use decode_mmsg to fix mmsghdr array decoding.
linux/dummy.h
linux/syscall.h
net.c