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.24.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.25.0
Choose a head ref
  • 11 commits
  • 38 files changed
  • 9 contributors

Commits on Aug 12, 2024

  1. unix: sync minimum Linux Kernel version with requirements page

    Change-Id: I306728f5bf19955177365fd9afcc4c8678b6f81f
    GitHub-Last-Rev: cf6f9c7
    GitHub-Pull-Request: #213
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/604136
    Reviewed-by: Ian Lance Taylor <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Carlos Amedee <[email protected]>
    Auto-Submit: Ian Lance Taylor <[email protected]>
    mauri870 authored and gopherbot committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    da77c6b View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. unix: update riscv64 hwprobe to Linux kernel 6.10

    Change-Id: Ic74816df459b17302a3ba746060b49e987e5da5c
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/604435
    Reviewed-by: Mark Ryan <[email protected]>
    Reviewed-by: Carlos Amedee <[email protected]>
    Auto-Submit: Ian Lance Taylor <[email protected]>
    Reviewed-by: Ian Lance Taylor <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    mengzhuo authored and gopherbot committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    c64c51d View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. unix: add f_flag member flags on z/OS

    This change adds the constants `ST_RDONLY` and `ST_NOSUID` to a z/OS-specific file.
    
    Change-Id: Ifb78124d93b60a10f10b8169d1bb73dce074e760
    GitHub-Last-Rev: 952cf1b
    GitHub-Pull-Request: #214
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/606877
    Reviewed-by: Cherry Mui <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Auto-Submit: Ian Lance Taylor <[email protected]>
    Reviewed-by: Ian Lance Taylor <[email protected]>
    jlee3227 authored and gopherbot committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    a0c72ef View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2024

  1. unix: add Connectx for darwin

    connectx(2) can be used to initiate a connection with TCP Fast Open.
    
    Change-Id: I113ee4dede7df1c01e16a0c07fec2b384b266cb0
    GitHub-Last-Rev: 31665b9
    GitHub-Pull-Request: #215
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/606155
    Auto-Submit: Ian Lance Taylor <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Cherry Mui <[email protected]>
    Reviewed-by: Ian Lance Taylor <[email protected]>
    database64128 authored and gopherbot committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    59665e5 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2024

  1. unix: rename XDPUmemReg field back to Size

    When the Linux-specific XDPUmemReg struct was originally added
    (CL 136695) the only field with a prefix was chunk_size,
    so cgo rewrote the field to Size. Later Linux added a tx_metadata_len
    field, which caused cgo to to leave the chunk_size field as Chunk_size
    (CL 577975).
    
    However, existing code, specifically gvisor, refers to the field
    as Size. So go back to Size so that existing code will continue
    to work.
    
    This does unfortunately mean that people who used the struct since CL
    577975 in April, 2024 will have to adapt. There doesn't seem to be a
    perfect solution here. But we've had Size since September, 2018,
    so let's stick with that.
    
    Change-Id: Ib11edfbf98ce3a9e1a909194f200a39ddfe6f8e0
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/607876
    Reviewed-by: Ian Lance Taylor <[email protected]>
    Auto-Submit: Ian Lance Taylor <[email protected]>
    Run-TryBot: Ian Lance Taylor <[email protected]>
    TryBot-Result: Gopher Robot <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Michael Knyszek <[email protected]>
    ianlancetaylor authored and gopherbot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    a8c5219 View commit details
    Browse the repository at this point in the history
  2. unix: use os.Executable rather than os.Args[0] in tests

    Change-Id: I67a063d747c6e34dcd0292fdb3a9a0d965a6e133
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/607875
    Commit-Queue: Ian Lance Taylor <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Ian Lance Taylor <[email protected]>
    Reviewed-by: Michael Knyszek <[email protected]>
    Auto-Submit: Ian Lance Taylor <[email protected]>
    ianlancetaylor authored and gopherbot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    29e55b2 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

  1. cpu: add support for detecting RISC-V extensions

    Add a RISCV64 variable to cpu that indicates both the presence
    of RISC-V extensions and performance information about the underlying
    RISC-V cores.  The variable is only populated with non false values on
    Linux.  The detection code first attempts to use the riscv_hwprobe
    syscall introduced in Linux 6.4, falling back to HWCAP if riscv_hwprobe
    is not supported.  The patch can detect the C, V, Zba, Zbb and Zbs
    extensions.  V, Zba, Zbb and Zbs can only be detected on a 6.5 kernel
    or later (without backports).
    
    Updates golang/go#61416
    
    Change-Id: I40f92724ee3d337c06bdc559ff0b18a8f6bfda9f
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/605815
    Reviewed-by: Cherry Mui <[email protected]>
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Joel Sing <[email protected]>
    Reviewed-by: Meng Zhuo <[email protected]>
    markdryan authored and 4a6f656c committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    3283fc3 View commit details
    Browse the repository at this point in the history
  2. unix: add POLLRDHUP to FreeBSD

    POLLRDHUP is a poll(2) event applicable to stream sockets that notifies
    when a remote peer closes a connection.
    
    Change-Id: I03a192426f89bbd08fb27dda2716ffb888043c92
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/607797
    Auto-Submit: Ian Lance Taylor <[email protected]>
    Reviewed-by: Cherry Mui <[email protected]>
    Reviewed-by: Ian Lance Taylor <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    elindsey authored and gopherbot committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    71132f5 View commit details
    Browse the repository at this point in the history
  3. unix: add missing import to syscall_hurd.go

    CL 471119 added a reference to the unsafe package,
    but didn't add the import.
    
    Change-Id: Ibb8097df0444d8e83ba08e4ca2b5df98844fccf4
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/607976
    Reviewed-by: Tobias Klauser <[email protected]>
    Auto-Submit: Ian Lance Taylor <[email protected]>
    Reviewed-by: Cherry Mui <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Commit-Queue: Ian Lance Taylor <[email protected]>
    Reviewed-by: Ian Lance Taylor <[email protected]>
    ianlancetaylor authored and gopherbot committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    9cb830b View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. windows: add console codepage api

    Add setter/getter for console input/output codepages. This is useful to set the console expected codepage instead of converting it to UTF-16 before writing.
    
    Change-Id: Ie0465708e7cf68d776e23dbbeeca7bcb4db7d2bf
    GitHub-Last-Rev: 93c06e2
    GitHub-Pull-Request: #206
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/599395
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Alex Brainman <[email protected]>
    Reviewed-by: Cherry Mui <[email protected]>
    Reviewed-by: Michael Pratt <[email protected]>
    aymanbagabas authored and alexbrainman committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    ed67b15 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

  1. windows: add SIO_UDP_NETRESET constant

    In order to get BSD like behavior with regard to ICMP, it is necessary
    to set SIO_UDP_NETRESET as well as SIO_UDP_CONNRESET.
    
    Updates golang/go#68614
    
    Change-Id: Ibdf5b6ea6bc08a9d3a0aeac9037864670cf765c0
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/609295
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    Reviewed-by: Funda Secgin <[email protected]>
    Reviewed-by: Ian Lance Taylor <[email protected]>
    Reviewed-by: Alex Brainman <[email protected]>
    Auto-Submit: Ian Lance Taylor <[email protected]>
    raggi authored and gopherbot committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    a43b625 View commit details
    Browse the repository at this point in the history
Loading