]> granicus.if.org Git - strace/commit
Fix ILP32 personality struct cmsghdr decoding on LP64 architectures
authorDmitry V. Levin <ldv@altlinux.org>
Sat, 24 Jan 2015 01:08:57 +0000 (01:08 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sat, 24 Jan 2015 03:39:30 +0000 (03:39 +0000)
commit05884d866c1d108fbc83bb8161051c156aacfde6
tree515d29a61086fd365a64f085ac0d65fc74abf494
parent5de5a7abd5c172c7dbaf5e65428569d58ec2b712
Fix ILP32 personality struct cmsghdr decoding on LP64 architectures

* net.c (union_cmsghdr): New union.
[SUPPORTED_PERSONALITIES > 1 && SIZEOF_LONG > 4] (cmsghdr32): New structure.
(printcmsghdr): Properly handle the case of current_wordsize < sizeof(long).
net.c