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.37.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.38.0
Choose a head ref
  • 8 commits
  • 17 files changed
  • 5 contributors

Commits on Oct 8, 2025

  1. unix/linux: switch to ubuntu 25.04, Go 1.25.1

    Ubuntu 24.10 is not supported since July 2025 (and some of its apt repos
    are apparently removed), and so mkall.sh no longer works (as of today).
    
    Fix this by switching to (currently supported) Ubuntu 25.04.
    
    NOTE that we can't switch to
     - Ubuntu 24.04 LTS release (see CL 618075);
     - Ubuntu 25.10 as it lacks mips support;
     - Debian Stable (13) as it also lacks mips support.
    
    Also, bump Go to 1.25.1.
    
    No changes in generated content after running
    
    	GOOS=linux GOARCH=amd64 ./mkall.sh
    
    Change-Id: I58a4856cda93a85af51f4a519c6e4e25f31a39b4
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/706915
    Reviewed-by: Sean Liao <sean@liao.dev>
    Reviewed-by: Michael Pratt <mpratt@google.com>
    Reviewed-by: Carlos Amedee <carlos@golang.org>
    Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Auto-Submit: Michael Pratt <mpratt@google.com>
    kolyshkin authored and gopherbot committed Oct 8, 2025
    Configuration menu
    Copy the full SHA
    b731f78 View commit details
    Browse the repository at this point in the history
  2. unix: add SetMemPolicy and its mode/flag values

    This reuses CPUSet type as it fits perfectly.
    
    No GetMemPolicy support yet.
    
    Change-Id: I549361bc1ed95ee73fd38d00277ec0f9f348a9ba
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/706917
    Auto-Submit: Michael Pratt <mpratt@google.com>
    Reviewed-by: Antti Kervinen <antti.kervinen@gmail.com>
    Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Michael Pratt <mpratt@google.com>
    Reviewed-by: Carlos Amedee <carlos@golang.org>
    kolyshkin authored and gopherbot committed Oct 8, 2025
    Configuration menu
    Copy the full SHA
    28c5bda View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2025

  1. windows: add iphlpapi routing functions

    NotifyRouteChange2 registers to be notified for changes to IP route
    entries. Call GetIpForwardEntry2 on received row to retrieve complete
    information.
    
    GetIpForwardTable2 retrieves the full routing table.
    FreeMibTable frees the buffer allocated by the functions that return
    tables of network interfaces, addresses, and routes.
    
    Change-Id: I9fba75f1f728661e45dc3092e35eb9099b0570dd
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/695195
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    Reviewed-by: Quim Muntal <quimmuntal@gmail.com>
    Reviewed-by: Michael Pratt <mpratt@google.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    database64128 authored and qmuntal committed Oct 21, 2025
    Configuration menu
    Copy the full SHA
    ea436ef View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2025

  1. cpu: add HPDS, LOR, PAN detection for arm64

    This CL gets ID_AA64MMFR1_EL1, Memory Model Feature Register 1, and
    grabs HPDS, LOR, PAN features from its bits.
    
    Fixes golang/go#75472.
    
    Change-Id: Ic04b109d79aceba9b3b1d3a1ea514fcf132007c5
    GitHub-Last-Rev: f938ff4
    GitHub-Pull-Request: #263
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/704075
    Reviewed-by: Keith Randall <khr@google.com>
    Auto-Submit: Keith Randall <khr@golang.org>
    Reviewed-by: Michael Knyszek <mknyszek@google.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Keith Randall <khr@golang.org>
    harryzcy authored and gopherbot committed Oct 28, 2025
    Configuration menu
    Copy the full SHA
    6239615 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2025

  1. unix: add consts for ELF handling

    This adds a few constants that help to handle ELF files and coredumps.
    
    Change-Id: Ifd4c1bd4c8839065af4233ccbf42964a8e96fdf8
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/713980
    Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
    Reviewed-by: Michael Knyszek <mknyszek@google.com>
    Reviewed-by: Sean Liao <sean@liao.dev>
    Auto-Submit: Sean Liao <sean@liao.dev>
    Reviewed-by: David Chase <drchase@google.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    florianl authored and gopherbot committed Oct 29, 2025
    Configuration menu
    Copy the full SHA
    2a15272 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2025

  1. cpu: use MRS instruction to read arm64 system registers

    Use the MRS instruction with the corresponding system register instead
    of encoding the instructions using a WORD directive.
    
    Change-Id: I2995dfa6ad731cb03867160127db84898adfdda5
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/583135
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Michael Knyszek <mknyszek@google.com>
    Reviewed-by: David Chase <drchase@google.com>
    Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
    tklauser authored and gopherbot committed Oct 31, 2025
    Configuration menu
    Copy the full SHA
    3675c4c View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2025

  1. unix: add SizeofNhmsg and SizeofNexthopGrp

    These were missed in CL 227357.
    
    For golang/go#38249
    
    Change-Id: Iab75145ae77a027e11bc4cad75300af0a510a537
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/716780
    Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
    Reviewed-by: Michael Knyszek <mknyszek@google.com>
    Reviewed-by: Michael Pratt <mpratt@google.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Florian Lehner <lehner.florian86@gmail.com>
    tklauser authored and gopherbot committed Nov 4, 2025
    Configuration menu
    Copy the full SHA
    ed38ca2 View commit details
    Browse the repository at this point in the history
  2. cpu: also use MRS instruction in getmmfr1

    Use the MRS instruction with the corresponding system register instead
    of encoding the instructions using a WORD directive. This was missed in
    CL 583135.
    
    Change-Id: Ifcbbd81baa903f1da442eae2e49c06284db9c37d
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/717681
    Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
    Reviewed-by: Florian Lehner <lehner.florian86@gmail.com>
    Reviewed-by: Michael Knyszek <mknyszek@google.com>
    Reviewed-by: Michael Pratt <mpratt@google.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    tklauser authored and gopherbot committed Nov 4, 2025
    Configuration menu
    Copy the full SHA
    15129aa View commit details
    Browse the repository at this point in the history
Loading