]> Cypherpunks repositories - gostls13.git/commit
runtime: correct arguments to pipe2 syscall in pipe on netbsd/arm64
authorTobias Klauser <tklauser@distanz.ch>
Tue, 29 Sep 2020 13:13:17 +0000 (15:13 +0200)
committerTobias Klauser <tobias.klauser@gmail.com>
Tue, 29 Sep 2020 19:01:28 +0000 (19:01 +0000)
commit567ef8bd8e76bdbc00df6b1903976b89b34a84d8
tree1ae6512951eb2d030c9e2260c475e5b8ac20c055
parent66770f4b1de37d9c5c962edb2980a70102e09ec3
runtime: correct arguments to pipe2 syscall in pipe on netbsd/arm64

Follow the implementation of pipe2 to pass arguments and handle return
values.

With this fix the runtime tests pass on netbsd/arm64 (tested using
gomote on the netbsd-arm64-bsiegert builder).

Update #30824

Change-Id: I346db68fc9dde8dc7f11351af05c1ad3105f4a32
Reviewed-on: https://go-review.googlesource.com/c/go/+/258000
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Trust: Benny Siegert <bsiegert@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Benny Siegert <bsiegert@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
src/runtime/sys_netbsd_arm64.s