aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/socket.txt
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-05-10 13:05:04 +0200
committerDmitry Vyukov <dvyukov@google.com>2019-05-10 13:05:04 +0200
commitc1718ecf4edf5d33ea12c6368165cd90a4229610 (patch)
tree4f2f3a86e1a87c725272f687ba52271b2333fa96 /sys/linux/socket.txt
parentda22883527540e92f2f0851ae78b4c692d249f3e (diff)
sys/linux: fix alignment of cmsghdr_sock
All cmsg's must be intptr aligned within the array.
Diffstat (limited to 'sys/linux/socket.txt')
-rw-r--r--sys/linux/socket.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/linux/socket.txt b/sys/linux/socket.txt
index 8c495d886..bd6f19679 100644
--- a/sys/linux/socket.txt
+++ b/sys/linux/socket.txt
@@ -190,9 +190,9 @@ type cmsghdr_unaligned[SOL, TYP, DATA] {
# For __sock_cmsg_send
cmsghdr_sock [
- mark cmsghdr_unaligned[SOL_SOCKET, SO_MARK, int32]
- timestamping cmsghdr_unaligned[SOL_SOCKET, SO_TIMESTAMPING_OLD, int32]
- txtime cmsghdr_unaligned[SOL_SOCKET, SCM_TXTIME, int64]
+ mark cmsghdr_t[SOL_SOCKET, SO_MARK, int32]
+ timestamping cmsghdr_t[SOL_SOCKET, SO_TIMESTAMPING_OLD, int32]
+ txtime cmsghdr_t[SOL_SOCKET, SCM_TXTIME, int64]
] [varlen]
# Socket options