| commit | 249e16f7caf5bdc2b6025811648e1074df96e3f5 | [log] [tgz] |
|---|---|---|
| author | Josh Rickmar <jrick@zettaport.com> | Tue Oct 24 14:39:43 2023 +0000 |
| committer | Joel Sing <joel@sing.id.au> | Tue Oct 31 10:36:12 2023 +0000 |
| tree | f40841662fa4e86203612b4616d2ade76d417971 | |
| parent | 1e638101df598a2021589b119c659547ca236d51 [diff] |
unix: require minimum OpenBSD 6.4 for pledge, unveil OpenBSD 7.3 and 7.4 are the only supported OpenBSD releases. This change simplifies the version detection and error handling to require at least OpenBSD 6.4 to call the Pledge and Unveil functions. Updates golang/go#63569. Change-Id: I6bd0d58807a73a532ddd2d3239687ca19a93db9d GitHub-Last-Rev: d03d157e76d1d861fa8bd9be179f9dc4fb91f8d2 GitHub-Pull-Request: golang/sys#177 Reviewed-on: https://go-review.googlesource.com/c/sys/+/537355 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Joel Sing <joel@sing.id.au> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Joel Sing <joel@sing.id.au>
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.