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.31.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.32.0
Choose a head ref
  • 8 commits
  • 31 files changed
  • 6 contributors

Commits on Mar 5, 2025

  1. 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>
    database64128 authored and gopherbot committed Mar 5, 2025
    Configuration menu
    Copy the full SHA
    f2ce62c View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2025

  1. 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>
    abner-chenc committed Mar 12, 2025
    Configuration menu
    Copy the full SHA
    b8f7da6 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2025

  1. 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>
    abner-chenc committed Mar 13, 2025
    Configuration menu
    Copy the full SHA
    7401cce View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2025

  1. 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>
    mschoenlaub authored and gopherbot committed Mar 20, 2025
    Configuration menu
    Copy the full SHA
    3330b5e View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2025

  1. 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>
    database64128 authored and alexbrainman committed Mar 26, 2025
    Configuration menu
    Copy the full SHA
    c175b6b View commit details
    Browse the repository at this point in the history
  2. 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>
    mauri870 authored and tklauser committed Mar 26, 2025
    Configuration menu
    Copy the full SHA
    1c3b72f View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2025

  1. 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>
    tekkamanendless authored and gopherbot committed Apr 2, 2025
    Configuration menu
    Copy the full SHA
    1b2bd6b View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2025

  1. 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>
    tklauser authored and gopherbot committed Apr 3, 2025
    1 Configuration menu
    Copy the full SHA
    01aaa83 View commit details
    Browse the repository at this point in the history
Loading