Go packages for low-level interaction with the operating system

Clone this repo:
  1. ac6580d unix: move functions Ptrace{Get|Set}RegSetArm64 to a separate file by erifan01 · 33 hours ago master
  2. eeba5f6 unix: replace readlink in mkall.sh with portable shell commands by Umang Parmar · 4 days ago
  3. bc7efcf unix: add functions PtraceGetRegSetArm64 and PtraceSetRegSetArm64 by erifan01 · 3 weeks ago
  4. ce4227a unix: add Statvfs and Fstatvfs on NetBSD by Tobias Klauser · 7 days ago
  5. 85b82a3 cpu: support reading arm64 CPU feature registers by Tobias Klauser · 9 days ago


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.

Report Issues / Send Patches

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.