-
Notifications
You must be signed in to change notification settings - Fork 592
Comparing changes
Open a pull request
base repository: golang/sys
base: v0.14.0
head repository: golang/sys
compare: v0.17.0
- 19 commits
- 64 files changed
- 14 contributors
Commits on Nov 6, 2023
-
unix: use fcntl(2) libc stub on OpenBSD
Future OpenBSD releases will remove the syscall(2) interface. This converts the Fcntl functions to use fcntl(2) from libc, rather than indirectly through syscall(2). Updates golang/go#63900. Change-Id: I50c3b91cb40245653c772e65b0b15c625974bebe GitHub-Last-Rev: 9c62104 GitHub-Pull-Request: #179 Reviewed-on: https://go-review.googlesource.com/c/sys/+/538995 Reviewed-by: Bryan Mills <bcmills@google.com> Reviewed-by: Joel Sing <joel@sing.id.au> Reviewed-by: Cherry Mui <cherryyz@google.com> Run-TryBot: Joel Sing <joel@sing.id.au> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Mauri de Souza Meneguzzo <mauri870@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ec230da - Browse repository at this point
Copy the full SHA ec230daView commit details -
unix: use fchmodat2 in Fchmodat
The fchmodat2 syscall was added in Linux kernel 6.6. Use it in Fchmodat if flags are given. It will return ENOSYS on older kernels (or EINVAL or any other bogus error in some container implementations). Fixes golang/go#61636 Change-Id: Ibbc9a08733b7186907b2fe5837cb997446c38357 Reviewed-on: https://go-review.googlesource.com/c/sys/+/539635 Reviewed-by: Heschi Kreinick <heschi@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Bryan Mills <bcmills@google.com> Reviewed-by: Mauri de Souza Meneguzzo <mauri870@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2d0c736 - Browse repository at this point
Copy the full SHA 2d0c736View commit details
Commits on Nov 8, 2023
-
unix: update BPF constants for Linux kernel 6.6
This re-adds BPF_F_KPROBE_MULTI_RETURN which was removed by CL 538378 because it was changed from a #define to an enum in the upstream bpf.h header, see https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c5487f8d9186 Fixes golang/go#63969 Change-Id: Icbf180d8fb8d51fd2fa4a29a615f7071abda9a8b Reviewed-on: https://go-review.googlesource.com/c/sys/+/540395 Reviewed-by: Heschi Kreinick <heschi@google.com> Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Bryan Mills <bcmills@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Mauri de Souza Meneguzzo <mauri870@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9888904 - Browse repository at this point
Copy the full SHA 9888904View commit details -
unix: fix trimmed socket opt string in GetsockoptString
Fixes golang/go#63217 Change-Id: Ia1b0ae88b7e7a7c611067a0b30e454b66f45ce51 Reviewed-on: https://go-review.googlesource.com/c/sys/+/530897 Reviewed-by: Mauri de Souza Meneguzzo <mauri870@gmail.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Heschi Kreinick <heschi@google.com> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e4099bf - Browse repository at this point
Copy the full SHA e4099bfView commit details
Commits on Nov 13, 2023
-
windows: add AddDllDirectory and RemoveDllDirectory
Per https://learn.microsoft.com/en-us/windows/win32/api/libloaderapi/nf-libloaderapi-adddlldirectory and https://learn.microsoft.com/en-us/windows/win32/api/libloaderapi/nf-libloaderapi-removedlldirectory. Change-Id: If44a3758720345d1bbd9af96ec2481fbe9398a08 Reviewed-on: https://go-review.googlesource.com/c/sys/+/537755 Reviewed-by: Tatiana Bradley <tatianabradley@google.com> Auto-Submit: Roland Shoemaker <roland@golang.org> Reviewed-by: Alex Brainman <alex.brainman@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Configuration menu - View commit details
-
Copy full SHA for 11eadc0 - Browse repository at this point
Copy the full SHA 11eadc0View commit details
Commits on Nov 18, 2023
-
unix: add IoctlLoopConfigure on linux
LOOP_CONFIGURE ioctl is used to setup and configure all loop device parameters in a single step. Add to the unix package a new function that exposes LOOP_CONFIGURE. Fixes golang/go#63962 Change-Id: Ia169d268b52b1384febc6bff9c707b721ab2bb24 GitHub-Last-Rev: f9cc4c9 GitHub-Pull-Request: #181 Reviewed-on: https://go-review.googlesource.com/c/sys/+/540075 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Matthew Dempsky <mdempsky@google.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Configuration menu - View commit details
-
Copy full SHA for 13b15b7 - Browse repository at this point
Copy the full SHA 13b15b7View commit details
Commits on Dec 1, 2023
-
unix: add Netfilter and NFTables constants
Fixes golang/go#64426 Change-Id: I7332f73e27396d187ed63715100af299a949eaf9 GitHub-Last-Rev: a6b267b GitHub-Pull-Request: #182 Reviewed-on: https://go-review.googlesource.com/c/sys/+/545495 Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Mauri de Souza Meneguzzo <mauri870@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Michael Knyszek <mknyszek@google.com>
Configuration menu - View commit details
-
Copy full SHA for 5ff87d7 - Browse repository at this point
Copy the full SHA 5ff87d7View commit details
Commits on Dec 21, 2023
-
unix: remove extra trailing newlines in zsyscall_openbsd_*.go
These newlines are written by mksyscall.go but should not appear in the final generated files once the output is passed through gofmt. This is done by mkall.sh but I had written a custom script just to generate these openbsd zsyscall files in CL 468095. Running the mksyscall.go output through gofmt fixes this issue. Fixes golang/go#64820 Change-Id: I1b1bf55145bd5a5208e091ded24a973f953c479f GitHub-Last-Rev: 514272b GitHub-Pull-Request: #183 Reviewed-on: https://go-review.googlesource.com/c/sys/+/551715 Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Carlos Amedee <carlos@golang.org> Run-TryBot: Jorropo <jorropo.pgm@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Than McIntosh <thanm@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Configuration menu - View commit details
-
Copy full SHA for f0c7190 - Browse repository at this point
Copy the full SHA f0c7190View commit details
Commits on Dec 27, 2023
-
unix: don't redefine constants already defined in glibc headers
These are all present in glibc 2.37 which is currently used to generate these constants. Change-Id: I3ffbd8f8581e85e8854222ad3f2c7f44aac106c7 Reviewed-on: https://go-review.googlesource.com/c/sys/+/552417 Reviewed-by: David Chase <drchase@google.com> Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Matt Layher <mdlayher@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Than McIntosh <thanm@google.com>
Configuration menu - View commit details
-
Copy full SHA for 32cdffc - Browse repository at this point
Copy the full SHA 32cdffcView commit details
Commits on Jan 3, 2024
-
Fixes golang/go#61834 Change-Id: Iaff01f5662aa2309e8ac41b346e0d3a42d28af91 Reviewed-on: https://go-review.googlesource.com/c/sys/+/517575 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Alex Brainman <alex.brainman@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Quim Muntal <quimmuntal@gmail.com> Reviewed-by: Quim Muntal <quimmuntal@gmail.com> Reviewed-by: Keith Randall <khr@google.com>
Configuration menu - View commit details
-
Copy full SHA for 0829ab1 - Browse repository at this point
Copy the full SHA 0829ab1View commit details
Commits on Jan 8, 2024
-
unix: add more SECCOMP constants
Update the SECCOMP regex to fetch more SECCOMP constants. Change-Id: I192ff7cb11fc38f0b0f08d6cba0a4f8649f9775e Reviewed-on: https://go-review.googlesource.com/c/sys/+/553776 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Matt Layher <mdlayher@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0d9df52 - Browse repository at this point
Copy the full SHA 0d9df52View commit details
Commits on Jan 10, 2024
-
unix: in TestDirent, make as many ReadDirent calls as are needed
This CL just port CL 376334 from main repo with minor modification. Fixes golang/go#65015 Change-Id: I327d33bde39a2fcb818e28bcb7ff524ca19c4a38 Reviewed-on: https://go-review.googlesource.com/c/sys/+/554875 Reviewed-by: Bryan Mills <bcmills@google.com> Run-TryBot: M Zhuo <mzh@golangcn.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Configuration menu - View commit details
-
Copy full SHA for f69d32a - Browse repository at this point
Copy the full SHA f69d32aView commit details
Commits on Jan 23, 2024
-
windows: fix parsing of non-ASCII entries in token.Environ
Fixes golang/go#65055, the unexpected behavior of token.Environ in parsing entries containing runes larger than 2 bytes in size Change-Id: I753d2c605e3a2d7a1d90cd18601d6b918f0d3f7a Reviewed-on: https://go-review.googlesource.com/c/sys/+/556895 Auto-Submit: Bryan Mills <bcmills@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Bryan Mills <bcmills@google.com> Reviewed-by: Quim Muntal <quimmuntal@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c3fa2b8 - Browse repository at this point
Copy the full SHA c3fa2b8View commit details -
windows: build env_windows_test.go only go Go 1.21 and above
This test imports the "slices" package, which did not exist in Go 1.20. The test passes on Go 1.21 and above, and the behavior of the function under test is unlikely to vary by platform, so it doesn't seem worth refactoring the test to work with older releases. Updates golang/go#65055. Fixes golang/go#65223. Change-Id: I5f32106d6057b779579a87750633bc57f97fe152 Cq-Include-Trybots: luci.golang.try:x_sys-go1.20-windows-386,x_sys-go1.20-windows-amd64-longtest Reviewed-on: https://go-review.googlesource.com/c/sys/+/557975 Auto-Submit: Bryan Mills <bcmills@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Configuration menu - View commit details
-
Copy full SHA for b3ce6a3 - Browse repository at this point
Copy the full SHA b3ce6a3View commit details -
unix/linux: update Linux kernel to 6.7
Change-Id: Ie0cc6803af5b3ede657ce516e657b0356cd91175 GitHub-Last-Rev: 255f0eb GitHub-Pull-Request: #185 Reviewed-on: https://go-review.googlesource.com/c/sys/+/554555 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Mauri de Souza Meneguzzo <mauri870@gmail.com> Reviewed-by: Bryan Mills <bcmills@google.com> Run-TryBot: Bryan Mills <bcmills@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5710a32 - Browse repository at this point
Copy the full SHA 5710a32View commit details
Commits on Jan 27, 2024
-
unix: move mksyscall regexp to package level variables
Avoid compiling regular expressions for each loop iteration, rather declare them as package level variables so they are only compiled once. Change-Id: I5c29a44e986ef8d97326134e8fc8e983671e68d8 Reviewed-on: https://go-review.googlesource.com/c/sys/+/542955 Reviewed-by: Joel Sing <joel@sing.id.au> Run-TryBot: Joel Sing <joel@sing.id.au> Reviewed-by: Carlos Amedee <carlos@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Configuration menu - View commit details
-
Copy full SHA for bef1bd8 - Browse repository at this point
Copy the full SHA bef1bd8View commit details
Commits on Jan 30, 2024
-
windows: support nil done parameter in ReadFile and WriteFile
Win32 defines the `done` param as optional for ReadFile and WriteFile functions. We should support this case too. Fixes golang/go#65365. Change-Id: I961ff66a63d3a8ffa5560b6dab21fbd4ac9817ae Reviewed-on: https://go-review.googlesource.com/c/sys/+/559375 Reviewed-by: Mauri de Souza Meneguzzo <mauri870@gmail.com> Reviewed-by: Bryan Mills <bcmills@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Configuration menu - View commit details
-
Copy full SHA for 628365d - Browse repository at this point
Copy the full SHA 628365dView commit details -
Revert "windows: support nil done parameter in ReadFile and WriteFile"
This reverts CL 559375. Reason for revert: introduced a different regression (golang/go#65378). Fixes golang/go#65378. Updates golang/go#65365. Change-Id: Ie2a602415913b04b9d9b65fee5c6a54c0267b35e Cq-Include-Trybots: luci.golang.try:x_sys-gotip-windows-amd64-longtest Reviewed-on: https://go-review.google 6D40 source.com/c/sys/+/559502 Auto-Submit: Bryan Mills <bcmills@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Knyszek <mknyszek@google.com>
Configuration menu - View commit details
-
Copy full SHA for 511ec84 - Browse repository at this point
Copy the full SHA 511ec84View commit details
Commits on Feb 1, 2024
-
windows: support ill-formed UTF-16 in UTF16PtrToString
UTF16PtrToString does not support ill-formed UTF-16 because it uses utf16.Decode, which expects well-formed UTF-16. This CL updates the UTF16PtrToString implementation to use UTF16ToString instead of utf16.Decode, which supports ill-formed UTF-16 since go1.21 via syscall.UTF16ToString. Change-Id: Ifb72b6d38a8c08ad90ec6a47eed05fc3739500a1 Reviewed-on: https://go-review.googlesource.com/c/sys/+/560355 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Bryan Mills <bcmills@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com>
Configuration menu - View commit details
-
Copy full SHA for 914b96c - Browse repository at this point
Copy the full SHA 914b96cView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.14.0...v0.17.0