Go packages for low-level interaction with the operating system

Clone this repo:
  1. 4e1fef5 unix: update Dockerfile to Linux 4.18, glibc 2.28 and Go 1.11beta3 by Tobias Klauser · 2 days ago master
  2. 98c5dad unix: update the OpenBSD pledge interface to handle execpromises by Gianguido Sora` · 8 days ago release-branch.go1.11
  3. f0d5e33 unix: add *xattr functions on NetBSD by Tobias Klauser · 8 days ago
  4. 57f5ac0 unix: add additional file mode bit constants from sys/stat.h on OpenBSD by Tobias Klauser · 6 days ago
  5. 904bdc2 unix: add F*xattr on Darwin by Tobias Klauser · 7 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.