fix x32 msghdr struct by removing x32 bits/socket.h
authorRich Felker <dalias@aerifal.cx>
Fri, 1 Nov 2019 02:55:39 +0000 (22:55 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 2 Nov 2019 22:30:56 +0000 (18:30 -0400)
commit573a4d2d597ba15435ffdf0f2d8bea1058e7b795
tree7502c02e57fff9a87dde76d96d00728461afb69f
parent0bbc04c98115440d15a51d6b2ba087ea79c56ad9
fix x32 msghdr struct by removing x32 bits/socket.h

being that it contains pointers and (from the kernel perspective,
which is wrong) size_t members, x32 uses the 32-bit version of the
structure, not a half-32-bit, half-64-bit layout like we had here. the
x86_64 definition was inadvertently copied when x32 was first added.

unlike errors in the opposite direction (missing padding), this error
was not easily detected breakage, because the layout of the commonly
used initial subset of members still matched. breakage could only be
observed in the presence of control messages or flags.
arch/x32/bits/socket.h [deleted file]