]> git.ipfire.org Git - thirdparty/glibc.git/commit
bits/socket.h: Update to recent BSD definition
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 1 Jan 2025 21:07:42 +0000 (22:07 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 1 Jan 2025 21:11:13 +0000 (22:11 +0100)
commitcf13f740a91b5bbf6bb60a30b45c2a3933ff1259
tree9a8e68c0bde75f36439eaf4740c0fba45f9f1a35
parent6e177ca635f5879eb35573f3c199b1c14e978ab7
bits/socket.h: Update to recent BSD definition

The old BSD 4.4 definition (not used by Linux) was not 64b-proof: the
cmsg_data field is supposed to CMSG_ALIGN'ed (as can be also seen in the
CMSG_LEN macro).

Suggested-by: Diego Nieto Cid <dnietoc@gmail.com>
bits/socket.h
sysdeps/mach/hurd/bits/socket.h