]> granicus.if.org Git - strace/commit
Handle recv[m]msg for non-native 32-bit personality syscalls
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 12 Feb 2013 10:57:48 +0000 (11:57 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 12 Feb 2013 10:57:48 +0000 (11:57 +0100)
commit3e759d4293076b9358a25bb61d50d3e6fff5b0e2
tree3b9fa810c804ac68d6795ae38e9bedfb909cea8b
parentafea7dd4a597e15e74ec3de5a78288056296311b
Handle recv[m]msg for non-native 32-bit personality syscalls

* net.c (printmsghdr): If current_wordsize is 4 and long is wider than it,
read 32-bit struct msghdr and expand it into a native one before using it.
(printmmsghdr): Likewise for struct mmsghdr.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
net.c