musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/include/sys/socket.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019年10月31日 22:55:39 -0400
committerRich Felker <dalias@aerifal.cx>2019年11月02日 18:30:56 -0400
commit573a4d2d597ba15435ffdf0f2d8bea1058e7b795 (patch)
tree7502c02e57fff9a87dde76d96d00728461afb69f /include/sys/socket.h
parent0bbc04c98115440d15a51d6b2ba087ea79c56ad9 (diff)
downloadmusl-573a4d2d597ba15435ffdf0f2d8bea1058e7b795.tar.gz
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.
Diffstat (limited to 'include/sys/socket.h')
0 files changed, 0 insertions, 0 deletions
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月08日 00:02:10 +0000

AltStyle によって変換されたページ (->オリジナル) /