-
Notifications
You must be signed in to change notification settings - Fork 599
Comparing changes
Open a pull request
base repository: golang/sys
base: v0.16.0
head repository: golang/sys
compare: v0.19.0
- 17 commits
- 54 files changed
- 13 contributors
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.googlesource.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
Commits on Feb 7, 2024
-
unix: update IFLA and NETKIT constants with Linux kernel 6.7
Change-Id: I5034ceb384f6a4945a969b00ca420c80aa03d941 Reviewed-on: https://go-review.googlesource.com/c/sys/+/561575 TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: David Chase <drchase@google.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Ian Lance Taylor <iant@google.com>
Configuration menu - View commit details
-
Copy full SHA for 2f2cc5d - Browse repository at this point
Copy the full SHA 2f2cc5dView commit details
Commits on Feb 13, 2024
-
unix: suppress ENOMEM errors from sysctl's implementing Uname(uname *…
…Utsname) on FreeBSD due to truncated fields. Fixes golang/go#65585. Change-Id: I7e529eaef224be977e3b0c20d071802f49b297e7 Reviewed-on: https://go-review.googlesource.com/c/sys/+/562617 Reviewed-by: Than McIntosh <thanm@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Ian Lance Taylor <iant@google.com>
Configuration menu - View commit details
-
Copy full SHA for 6b4eab5 - Browse repository at this point
Copy the full SHA 6b4eab5View commit details
Commits on Feb 14, 2024
-
unix: drop go version tags for unsupported versions
go.mod specifies go 1.18. Drop go1.n version tags for older, unsupported versions. Change-Id: I8563bd2cc8e86bd560a45b885a9aa2e6bcc95c47 Reviewed-on: https://go-review.googlesource.com/c/sys/+/559415 Reviewed-by: Than McIntosh <thanm@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: Ian Lance Taylor <iant@google.com>
Configuration menu - View commit details
-
Copy full SHA for 7ff74af - Browse repository at this point
Copy the full SHA 7ff74afView commit details
Commits on Feb 16, 2024
-
unix: add API for fsconfig system call
Fixes golang/go#59537 Change-Id: I8d806ace3adad423c633813455d8f758706cee1d Reviewed-on: https://go-review.googlesource.com/c/sys/+/484995 Reviewed-by: Than McIntosh <thanm@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com>
Configuration menu - View commit details
-
Copy full SHA for 360f961 - Browse repository at this point
Copy the full SHA 360f961View commit details
Commits on Mar 8, 2024
-
unix: expose mmap calls on z/OS
The calls `Mmap` and `Munmap` were removed for z/OS. Syscall removed occurred in: 508397 This change exposes them in a z/OS specific file (to remove the accidental deletion of them in future refactors of the APIs for `unix-like` OSes). Change-Id: Ice0cabfb4547cab2ffa7130b7c26d9cc38233afe GitHub-Last-Rev: e7b4680 GitHub-Pull-Request: #186 Reviewed-on: https://go-review.googlesource.com/c/sys/+/569359 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com>
Configuration menu - View commit details
-
Copy full SHA for 4be02d3 - Browse repository at this point
Copy the full SHA 4be02d3View commit details
Commits on Mar 12, 2024
-
x/sys/windows: add func windows.DisconnectNamedPipe(handle Handle) (e…
…rr error) Fixes golang/go#66234 Change-Id: I1e4a94e1ca8c01a29bab18e0bf12238c511fe1c6 Reviewed-on: https://go-review.googlesource.com/c/sys/+/570435 Reviewed-by: Quim Muntal <quimmuntal@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: Alex Brainman <alex.brainman@gmail.com> Reviewed-by: Cherry Mui <cherryyz@google.com>
Configuration menu - View commit details
-
Copy full SHA for 95f07ec - Browse repository at this point
Copy the full SHA 95f07ecView commit details
Commits on Apr 2, 2024
-
windows: add serial comm functions
Serial ports are still widely used to communicate with a large range of devices. This change adds the remaining functions described in "Serial Communications in Win32", enabling Go applications and libraries to be written that support the full set of serial port functionality on Windows. x/sys/unix already has equivalent functionality through termios. See https://learn.microsoft.com/en-us/previous-versions/ms810467(v=msdn.10). Change-Id: I57f9ed6b7dbcc2331f740bd95b6483f141b0ad6f GitHub-Last-Rev: 0a5a744 GitHub-Pull-Request: #187 Reviewed-on: https://go-review.googlesource.com/c/sys/+/572295 Reviewed-by: David Chase <drchase@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Than McIntosh <thanm@google.com> Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1a50d97 - Browse repository at this point
Copy the full SHA 1a50d97View commit details
Commits on Apr 4, 2024
-
windows: use uint32 for serial comm flags for consistency
This is a follow-up to https://go-review.googlesource.com/c/sys/+/572295 and specifically the comment https://go-review.googlesource.com/c/sys/+/572295/comment/a00e1a2e_e3b01666/. All other structs and methods us uint32 in golang.org/x/sys/windows for flag bitmasks, so make the serial communication structs use uint32 to be consistent with the rest of the package. As a side effect the DTR_CONTROL_* and RTS_CONTROL_* constants are updated to reflect the positions of the bits in the 32-bit flags. Change-Id: Ie19774a8ef5411d7df1e5b0d36806aa1d401fa86 GitHub-Last-Rev: bc93d94 GitHub-Pull-Request: #189 Reviewed-on: https://go-review.googlesource.com/c/sys/+/575635 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Alex Brainman <alex.brainman@gmail.com> Reviewed-by: Than McIntosh <thanm@google.com>
Configuration menu - View commit details
-
Copy full SHA for cabba82 - Browse repository at this point
Copy the full SHA cabba82View 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.16.0...v0.19.0