]> Cypherpunks repositories - gostls13.git/commit
syscall: don't use 32-bit aligned access for cmsgAlignOf on dragonfly after ABI change
authorTobias Klauser <tklauser@distanz.ch>
Fri, 18 Oct 2019 13:52:00 +0000 (15:52 +0200)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sun, 20 Oct 2019 19:33:07 +0000 (19:33 +0000)
commit78c168fc60592bdc75cebd6ba33351493e14719f
tree9857d90738492d56a2f3f19acb47adf200cb6e1f
parentb16463c91252c99bbfe1006479bdfa3b9164445b
syscall: don't use 32-bit aligned access for cmsgAlignOf on dragonfly after ABI change

Use 32-bit alignment for versions before the September 2019 ABI changes
http://lists.dragonflybsd.org/pipermail/users/2019-September/358280.html

Fixes #34958

Change-Id: Iab4b23083a7c9ca7e96a737b03e75cd36d98ee24
Reviewed-on: https://go-review.googlesource.com/c/go/+/201977
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/syscall/sockcmsg_dragonfly.go [new file with mode: 0644]
src/syscall/sockcmsg_unix.go
src/syscall/sockcmsg_unix_other.go [new file with mode: 0644]
src/syscall/syscall_dragonfly.go