-
Notifications
You must be signed in to change notification settings - Fork 597
Comparing changes
Open a pull request
base repository: golang/sys
base: v0.31.0
head repository: golang/sys
compare: v0.33.0
- 13 commits
- 37 files changed
- 11 contributors
Commits on Mar 5, 2025
-
windows: add constants for PMTUD socket options
Related documentation: - https://learn.microsoft.com/en-us/windows/win32/winsock/ipproto-ip-socket-options - https://learn.microsoft.com/en-us/windows/win32/winsock/ipproto-ipv6-socket-options Change-Id: I21b23ca815d1d8135ce5724115b9ca23819ea10a GitHub-Last-Rev: 9054c5c GitHub-Pull-Request: #245 Reviewed-on: https://go-review.googlesource.com/c/sys/+/654495 Reviewed-by: Quim Muntal <quimmuntal@gmail.com> Reviewed-by: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Junyang Shao <shaojunyang@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com>
Configuration menu - View commit details
-
Copy full SHA for f2ce62c - Browse repository at this point
Copy the full SHA f2ce62cView commit details
Commits on Mar 12, 2025
-
cpu: add support for detecting cpu features on loong64
Except for lasx, all other features have been implemented in the Go mainline. Change-Id: I61a09396ed23d17991b641a1265e952585cb5636 Reviewed-on: https://go-review.googlesource.com/c/sys/+/655355 Reviewed-by: David Chase <drchase@google.com> Reviewed-by: sophie zhao <zhaoxiaolin@loongson.cn> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Junyang Shao <shaojunyang@google.com> Reviewed-by: Meidan Li <limeidan@loongson.cn>
Configuration menu - View commit details
-
Copy full SHA for b8f7da6 - Browse repository at this point
Copy the full SHA b8f7da6View commit details
Commits on Mar 13, 2025
-
cpu: replace specific instructions with WORD in the function get_cpuc…
…fg on loong64 The CPUCFG instruction on loong64 was introduced in Go1.24, which caused compilation errors when using this feature in Go1.23 and earlier versions. Change-Id: I68891bbfc527194ecdafebac3398e700bfb53c2f Reviewed-on: https://go-review.googlesource.com/c/sys/+/656915 Reviewed-by: Meidan Li <limeidan@loongson.cn> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Junyang Shao <shaojunyang@google.com>
Configuration menu - View commit details
-
Copy full SHA for 7401cce - Browse repository at this point
Copy the full SHA 7401cceView commit details
Commits on Mar 20, 2025
-
unix: support Readv, Preadv, Writev and Pwritev for darwin
Darwin, starting with Big Sur, supports vectorized IO. Fixes golang/go#64710 Change-Id: Ic3a3c51009eab24f70665d8d3a145b328a7713c6 Reviewed-on: https://go-review.googlesource.com/c/sys/+/548795 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> Reviewed-by: Cherry Mui <cherryyz@google.com>
Configuration menu - View commit details
-
Copy full SHA for 3330b5e - Browse repository at this point
Copy the full SHA 3330b5eView commit details
Commits on Mar 26, 2025
-
windows: add cmsghdr and pktinfo structures
- CMSGHDR from ws2def.h, corresponds to Cmsghdr in unix - IN_PKTINFO from ws2ipdef.h, corresponds to InetPktinfo in unix - IN6_PKTINFO from ws2ipdef.h, corresponds to Inet6Pktinfo in unix Change-Id: I74f6812588859c3a6080e6675df28998fc435965 GitHub-Last-Rev: 7377c79 GitHub-Pull-Request: #246 Reviewed-on: https://go-review.googlesource.com/c/sys/+/658175 Reviewed-by: Cherry Mui <cherryyz@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c175b6b - Browse repository at this point
Copy the full SHA c175b6bView commit details -
unix: update Linux kernel to 6.14
No new syscalls or constants in this release, just bumping the version number. Change-Id: I97f7e1092bb78d99342552ba18e1ea3cd40681f4 GitHub-Last-Rev: df5cca1 GitHub-Pull-Request: #247 Reviewed-on: https://go-review.googlesource.com/c/sys/+/660375 Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Dmitri Shuralyov <dmitshur@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 1c3b72f - Browse repository at this point
Copy the full SHA 1c3b72fView commit details
Commits on Apr 2, 2025
-
windows: replace all StringToUTF16 calls with UTF16FromString
`StringToUTF16` is deprecated and will panic if given an "invalid" string (in particular, one that has a null byte in it). The replacement function is `UTF16FromString`, and it returns an error if there was a problem. This change replaces all uses of `StringToUTF16` with `UTF16FromString`. The `service` struct now no longer stores a `string` name but rather a `*uint16` pointer to the name. It should not be possible to panic due to UTF16 string conversion at this point. Fixes golang/go#73006 Change-Id: Idce9cdbb4651fef8481f0cad19b5df0314fd4277 Reviewed-on: https://go-review.googlesource.com/c/sys/+/659936 Reviewed-by: Carlos Amedee <carlos@golang.org> Auto-Submit: Carlos Amedee <carlos@golang.org> 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> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Configuration menu - View commit details
-
Copy full SHA for 1b2bd6b - Browse repository at this point
Copy the full SHA 1b2bd6bView commit details
Commits on Apr 3, 2025
-
all: simplify code by using modern Go constructs
Generated using modernize by running: go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest -fix -test ./... Change-Id: Ifc7d61cf6735cc53f2bdf890a338961f55075af5 Reviewed-on: https://go-review.googlesource.com/c/sys/+/661975 Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Carlos Amedee <carlos@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
1Configuration menu - View commit details
-
Copy full SHA for 01aaa83 - Browse repository at this point
Copy the full SHA 01aaa83View commit details
Commits on Apr 9, 2025
-
windows: fix dangling pointers in (*SECURITY_DESCRIPTOR).ToAbsolute
Prior to this CL, a byte slice was allocated via make to use as the absoluteSD argument passed to the Windows API MakeAbsoluteSD. MakeAbsoluteSD then sets pointers outside the view of the GC, including pointers within absoluteSD that point to other chunks of memory we pass into MakeAbsoluteSD. CL 653856 recently allowed more make results to be stack allocated, which worsened the problems here and made it easier for those pointers in absoluteSD to become dangling pointers, though the core problems here existed before. This CL instead allocates absoluteSD as a proper SECURITY_DESCRIPTOR struct so that the GC can be aware of its pointers. We also verify the pointers are as we expect, and then set them explicitly in view of the GC. Updates golang/go#73199 Change-Id: Id8038d38a887bb8ff3ffc6eae603589b97e92cdc Reviewed-on: https://go-review.googlesource.com/c/sys/+/663355 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Keith Randall <khr@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Keith Randall <khr@golang.org>
Configuration menu - View commit details
-
Copy full SHA for 6a85559 - Browse repository at this point
Copy the full SHA 6a85559View commit details
Commits on Apr 22, 2025
-
windows: fix slicing of NTUnicodeString values
We were slicing using a count of bytes, not a count of uint16s. Fixes golang/go#73460 Change-Id: If0fd19e795078c01fda5b976e3c34af115b25dcc Reviewed-on: https://go-review.googlesource.com/c/sys/+/667235 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Junyang Shao <shaojunyang@google.com> Reviewed-by: Quim Muntal <quimmuntal@gmail.com> Auto-Submit: Keith Randall <khr@google.com> Reviewed-by: Keith Randall <khr@google.com>
Configuration menu - View commit details
-
Copy full SHA for 7138967 - Browse repository at this point
Copy the full SHA 7138967View commit details -
windows: add virtual key codes and console input consts
This adds console input related key codes and consts Change-Id: I8ebd76995a2c9ddd150cf04890a9e5053841fcab GitHub-Last-Rev: 8e534f4 GitHub-Pull-Request: #226 Reviewed-on: https://go-review.googlesource.com/c/sys/+/621495 Reviewed-by: Junyang Shao <shaojunyang@google.com> Auto-Submit: Michael Pratt <mpratt@google.com> Reviewed-by: Michael Pratt <mpratt@google.com> 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 8e9e046 - Browse repository at this point
Copy the full SHA 8e9e046View commit details
Commits on May 1, 2025
-
cpu: add crypto extensions detection for riscv64
This CL adds RISC-V cryptography extensions detection. Direct detection of the extensions zvkned, zvknhb, zvksed and zvksh is not supported, since the crypto spec requires these extensions implemented with data independent timing (zkt). However, their presence may be inferred by checking for the shorthand extensions: zvkn, zvknc, zvkng, zvks, zvksc, zvksg. Change-Id: Ic00038cebf1b9f77426876b06b08f206473ad6fb Reviewed-on: https://go-review.googlesource.com/c/sys/+/664375 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Junyang Shao <shaojunyang@google.com> Reviewed-by: Mark Ryan <markdryan@rivosinc.com> Reviewed-by: Carlos Amedee <carlos@golang.org> Reviewed-by: Pengcheng Wang <wangpengcheng.pp@bytedance.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Configuration menu - View commit details
-
Copy full SHA for c0a9559 - Browse repository at this point
Copy the full SHA c0a9559View commit details
Commits on May 2, 2025
-
windows: add WSADuplicateSocket
WSADuplicateSocket is useful to pass sockets between processes on Windows. For golang/go#10350. Change-Id: I6563184fe4d4477d402a6af81b254bd8aa992d2e Reviewed-on: https://go-review.googlesource.com/c/sys/+/668215 Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: Carlos Amedee <carlos@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Carlos Amedee <carlos@golang.org>
Configuration menu - View commit details
-
Copy full SHA for 3d9a6b8 - Browse repository at this point
Copy the full SHA 3d9a6b8View 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.31.0...v0.33.0