commit | 08c61614bede4ce0127d402ac1ed3045b4821685 | [log] [tgz] |
---|---|---|
author | Ed Schouten <ed@nuxi.nl> | Mon Mar 16 21:03:50 2020 +0000 |
committer | Tobias Klauser <tobias.klauser@gmail.com> | Mon Mar 16 21:47:34 2020 +0000 |
tree | b4a1a4bffc11cc4c308c3706e7a215b62076f58a | |
parent | 9a0dfc3c55686ed331929a6eace0b5c5b9c18471 [diff] |
unix: only declare PtraceGetFsBase() on x86-based platforms Only x86-based CPUs have an FSBASE. The current code happens to build on FreeBSD/aarch64 and FreeBSD/arm, but that's only because we incorrectly declare PTRACE_GETFSBASE on those platforms. Change-Id: I128c91bcdb0704a210af13806c1cd285470b5eda GitHub-Last-Rev: 5e88573c0fde1b565d793948ee7ab54607c463b1 GitHub-Pull-Request: golang/sys#62 Reviewed-on: https://go-review.googlesource.com/c/sys/+/223697 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
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.