]> Cypherpunks repositories - gostls13.git/commit
syscall: implement pipe() on linux/mips
authorDavid Wimmer <davidlwimmer@gmail.com>
Wed, 25 Jul 2018 19:16:07 +0000 (19:16 +0000)
committerIan Lance Taylor <iant@golang.org>
Thu, 26 Jul 2018 17:13:12 +0000 (17:13 +0000)
commitbd98a81dc27a740f4c4192cc8799884da62c4bad
tree76ebd3105410c5ae754a971719ae1982b3006b65
parente5b13401c6b19f58a8439f1019a80fe540c0c687
syscall: implement pipe() on linux/mips

Change the Pipe() function to use the pipe() syscall (which has a unique
calling convention on linux/mips) instead of using pipe2(). This allows
it work on kernels <2.6.27 when pipe2() was introduced.

Change-Id: I65dfbd2a02b64e777a8eb13013d718e356521be6
GitHub-Last-Rev: c483a06168387c2cf151b6419e4e16576fab640a
GitHub-Pull-Request: golang/go#26608
Reviewed-on: https://go-review.googlesource.com/125915
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Vladimir Stefanovic <vladimir.stefanovic@mips.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/syscall/syscall_linux_mipsx.go
src/syscall/zsyscall_linux_mips.go
src/syscall/zsyscall_linux_mipsle.go