]> granicus.if.org Git - strace/commit
Print unsent messages of failed sendmmsg syscall
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 18 Jul 2016 17:48:44 +0000 (17:48 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 19 Jul 2016 17:46:33 +0000 (17:46 +0000)
commit0d88d99da2cd452703d8b4f78645ca0c73bd23a0
treed7761f36841fcac27f53988ecd2424fce92560b5
parent3a161d19021710dd8c746655c45eb97aeba93051
Print unsent messages of failed sendmmsg syscall

* mmsghdr.c (decode_mmsgvec): Clear syserror for the time of printing
struct mmsghdr array in !use_msg_len case.
(SYS_FUNC(sendmmsg)): As failed sendmmsg syscall does not
set msg_len fields, tell this to decode_mmsgvec.
* tests/mmsg_name.c (test_mmsg_name): Check it.
mmsghdr.c
tests/mmsg_name.c