]> Cypherpunks repositories - gostls13.git/commit
syscall: use correct cmsg alignment for openbsd/arm
authorJoel Sing <joel@sing.id.au>
Wed, 12 Dec 2018 13:38:37 +0000 (00:38 +1100)
committerJoel Sing <joel@sing.id.au>
Thu, 13 Dec 2018 00:47:37 +0000 (00:47 +0000)
commitbbae8d55083d14c414f32af638d5a5174b8027cc
treef9d177b97595772b08a126265fc8ec82227db789
parent09da2801578519ee5597bdd4cbfa22d4d127cc6d
syscall: use correct cmsg alignment for openbsd/arm

The OpenBSD armv7 port requires 64-bit alignment for cmsgs.

Rework the cmsg alignment code to facilitate this.

Change-Id: I52cf55a8a4cda46c6ef35b0f694862b842028b42
Reviewed-on: https://go-review.googlesource.com/c/153837
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/syscall/sockcmsg_unix.go