Go packages for low-level interaction with the operating system

Clone this repo:


  1. 79b0c68 unix: add Linux block device ioctl types and constants by Matt Layher · 3 days ago master
  2. a2a4594 unix: avoid extra syscall on send/recvmsg on Linux by Jason A. Donenfeld · 2 days ago
  3. 3ccc7e5 unix: fix typos in linux/types.go. by Matt Layher · 3 days ago
  4. 9b00609 unix: add tcp_md5sig on Linux by Matt Layher · 3 days ago
  5. b126b21 unix: re-export Fsid and Sigset_t Val member on Linux by Tobias Klauser · 5 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.