]> Cypherpunks repositories - gostls13.git/commit
runtime, syscall: implement syscall.Pipe using syscall.Pipe2 on solaris
authorTobias Klauser <tklauser@distanz.ch>
Tue, 8 Mar 2022 13:55:26 +0000 (14:55 +0100)
committerTobias Klauser <tobias.klauser@gmail.com>
Tue, 8 Mar 2022 21:16:53 +0000 (21:16 +0000)
commitc3c74777bc5dcd351af6dc4811011241efe07d21
treeda8b0339061abe43f3d2c3663e50959c7832a6ac
parent085ef537c4a2c57d373e72f4a110d9fae9a287be
runtime, syscall: implement syscall.Pipe using syscall.Pipe2 on solaris

All other platforms providing the pipe2 syscall already implement it
that way. Do so as well on solaris, which allows to drop
runtime.syscall_pipe and its dependencies as well.

Change-Id: Icf04777f21d1804da74325d173fefdc87caa42eb
Reviewed-on: https://go-review.googlesource.com/c/go/+/390716
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Trust: Matt Layher <mdlayher@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/os3_solaris.go
src/runtime/sys_solaris_amd64.s
src/runtime/syscall_solaris.go
src/syscall/asm_solaris_amd64.s
src/syscall/syscall_solaris.go