commit | 8e9fff1a3a189a348d338f6cb059b12939cf76bc | [log] [tgz] |
---|---|---|
author | Kir Kolyshkin <kolyshkin@gmail.com> | Fri Mar 12 13:11:36 2021 -0800 |
committer | Emmanuel Odeke <emmanuel@orijtech.com> | Sat Mar 13 11:07:37 2021 +0000 |
tree | 3253149639ea7ceb3b6d47bdc250a094fa592a89 | |
parent | 68d13333faf24bbe12c06419ed07e851a9dbf8f9 [diff] |
unix: add CloseRange The close_range(2) syscall is available since Linux kernel v5.9, with additional functionality of CLOSE_RANGE_CLOEXEC since v5.11. No tests are required since this is a bare syscall. Change-Id: I410470e3713e2005cc7acf24d1347938fe05ef63 Reviewed-on: https://go-review.googlesource.com/c/sys/+/301409 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Emmanuel Odeke <emmanuel@orijtech.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.