commit | a37d78b92225c91cfcdf2a2fa64d9ac7e3687d74 | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Wed Aug 05 09:06:28 2020 +0200 |
committer | Tobias Klauser <tobias.klauser@gmail.com> | Thu Aug 06 06:09:01 2020 +0000 |
tree | 30d928a25843eae7fbf7150c926d2819ed2a6d62 | |
parent | fcf3340312b56b85f56a1ee1eb837d3a3ccfda56 [diff] |
unix: check Faccessat2 returning EPERM in Faccessat Some systems (e.g. the linux-arm and linux-arm64-packet builders) return EPERM instead of ENOSYS on unimplemented syscalls. Fall back to the existing glibc-like implementation in Faccessat in this case as well. This fixes tests on the linux-arm and linux-arm64-packet builders after CL 246537. Change-Id: I7d7598f9694a2db19bd17e79f333d5de3a31c6e2 Reviewed-on: https://go-review.googlesource.com/c/sys/+/246817 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> 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.