commit | 8ebf48af031baf6a897cc421197e4d1b168a61de | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Thu Feb 18 09:58:46 2021 +0100 |
committer | Tobias Klauser <tobias.klauser@gmail.com> | Thu Feb 18 15:57:24 2021 +0000 |
tree | 44512d1d14f8c2b621e3fc9d9cc392e1880c11b9 | |
parent | beda7e5e158e237848ecb858785e53c4f305b8eb [diff] |
unix: check gid in TestGetsockoptXucred macOS (and the BSDs) report all groups in Xucred, the first one being the GID. Also use Socketpair/Close from golang.org/x/sys/unix instead of package syscall. Change-Id: I9319ff2b5258f66afc24e3e80c704d816e995dbf Reviewed-on: https://go-review.googlesource.com/c/sys/+/293569 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Go Bot <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.