]> Cypherpunks repositories - gostls13.git/commit
internal/syscall/unix: change Ioctl arg type to unsafe.Pointer on AIX
authorMatt Layher <mdlayher@gmail.com>
Mon, 9 Aug 2021 21:12:37 +0000 (17:12 -0400)
committerMatt Layher <mdlayher@gmail.com>
Mon, 16 Aug 2021 16:58:24 +0000 (16:58 +0000)
commita0adf91d85bcb10fac394da063c8abc1c60d8eb2
treed9c9b17a5ca51088ba6377c4e311f61714c9d013
parent5a401001417151649363a4b2fbd658f3f1957cba
internal/syscall/unix: change Ioctl arg type to unsafe.Pointer on AIX

Without this change, this code is technically in violation of the
unsafe.Pointer rules since the conversion from unsafe.Pointer to uintptr has
to happen when calling into the syscall6 assembly implementation.

Change-Id: I4821f5bf9788c8fa2efeb041f811ed092e07ae74
Reviewed-on: https://go-review.googlesource.com/c/go/+/340949
Trust: Matt Layher <mdlayher@gmail.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/internal/syscall/unix/ioctl_aix.go
src/net/interface_aix.go