commit | 45d26eb94bf33c7922ce3a86c8e5428d9d5193b1 | [log] [tgz] |
---|---|---|
author | Keith Randall <keithr@alum.mit.edu> | Thu Dec 13 13:58:22 2018 -0800 |
committer | Keith Randall <khr@golang.org> | Thu Dec 20 18:13:18 2018 +0000 |
tree | e23df5808a82b4793f7c1a5dacc58fc56df16141 | |
parent | 97b4c2a9293883a2418b8bba5485dc86b24460f7 [diff] |
unix: convert Darwin syscalls from raw to libSystem Call into libSystem (Darwin's libc equivalent) to do system calls. Raw syscalls are not a supported ABI on Darwin, they want us to use libSystem calls instead. The stdlib has already been converted to this new regime. This package is vendored into the stdlib, so we need to fix it also, then vendor it in again. Because this package isn't tied to a Go release, we need to keep the old code around and use the new code only for 1.12 and up. Update golang/go#17490 Change-Id: Idbcacff096b5bfeac871aa75dfd971570ac93322 Reviewed-on: https://go-review.googlesource.com/c/154179 Reviewed-by: Ian Lance Taylor <iant@golang.org>
This repository holds supplemental Go packages for low-level interactions with the operating system.
The easiest way to install is to run go get -u golang.org/x/sys
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/sys
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the sys repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/sys:” in the subject line, so it is easy to find.