Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: golang/sys
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.40.0
Choose a base ref
...
head repository: golang/sys
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.41.0
Choose a head ref
  • 4 commits
  • 11 files changed
  • 3 contributors

Commits on Jan 9, 2026

  1. unix: return early on error in Recvmsg

    Currently, Recvmsg may access the rsa buffer even if the underlying syscall
    returns an error.
    
    This change aligns Recvmsg with the safer logic already
    used in RecvmsgBuffers, ensuring the address is only processed when
    the syscall succeeds (err == nil).
    
    Fixes golang/go#76848
    
    Change-Id: If76477d0362b802e54ee6d27d0e8f57024a8a1dc
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/734740
    Reviewed-by: Junyang Shao <shaojunyang@google.com>
    Reviewed-by: Ian Lance Taylor <iant@golang.org>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Auto-Submit: Ian Lance Taylor <iant@golang.org>
    Reviewed-by: Florian Lehner <lehner.florian86@gmail.com>
    Reviewed-by: Michael Pratt <mpratt@google.com>
    lwintermelon authored and gopherbot committed Jan 9, 2026
    Configuration menu
    Copy the full SHA
    6fb913b View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2026

  1. unix: add IoctlSetString on all platforms

    Currently, only solaris provides IoctlSetString. However, it might be
    useful on other platforms too, e.g. for SIOCBRADDBR on linux.
    
    Change-Id: I19ed47a3e4ed0180ba6777bc193e32bfb61c0506
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/720200
    Reviewed-by: Michael Pratt <mpratt@google.com>
    Reviewed-by: Ian Lance Taylor <iant@golang.org>
    Reviewed-by: Florian Lehner <lehner.florian86@gmail.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
    Reviewed-by: Cherry Mui <cherryyz@google.com>
    tklauser authored and gopherbot committed Jan 16, 2026
    Configuration menu
    Copy the full SHA
    d25a7aa View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2026

  1. windows: add IsProcessorFeaturePresent and processor feature consts

    For golang/go#76791
    
    Change-Id: I1594c4868262c78d40e1ebd883a01a71236e4981
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/740500
    Reviewed-by: Quim Muntal <quimmuntal@gmail.com>
    Reviewed-by: Carlos Amedee <carlos@golang.org>
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    alexbrainman committed Jan 31, 2026
    Configuration menu
    Copy the full SHA
    f11c7bb View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2026

  1. cpu: use IsProcessorFeaturePresent to calculate ARM64 on windows

    For golang/go#76791
    
    Change-Id: I9500b38b17b5e3e141df8770d82c725c2ba8fd65
    Cq-Include-Trybots: luci.golang.try:x_sys-gotip-windows-arm64
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/740880
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Quim Muntal <quimmuntal@gmail.com>
    Reviewed-by: Michael Pratt <mpratt@google.com>
    Reviewed-by: Michael Knyszek <mknyszek@google.com>
    alexbrainman committed Feb 8, 2026
    Configuration menu
    Copy the full SHA
    fc646e4 View commit details
    Browse the repository at this point in the history
Loading