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.13.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.15.0
Choose a head ref
  • 15 commits
  • 436 files changed
  • 11 contributors

Commits on Oct 6, 2023

  1. windows: add missing TCP and UDP socket options and control message t…

    …ypes
    
    Source: ws2ipdef.h
    
    Change-Id: Ie9c6e2cec839a09b7e59239f1d5b50664a310f1d
    GitHub-Last-Rev: 14b9169
    GitHub-Pull-Request: #173
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/525256
    Reviewed-by: Alex Brainman <[email protected]>
    Reviewed-by: Ian Lance Taylor <[email protected]>
    TryBot-Result: Gopher Robot <[email protected]>
    Run-TryBot: Alex Brainman <[email protected]>
    Reviewed-by: Michael Pratt <[email protected]>
    database64128 authored and prattmic committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    6ee6208 View commit details
    Browse the repository at this point in the history
  2. windows: add GetFileTime

    Add a simple Windows API GetFileTime.
    The document is https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-getfiletime
    
    Fixes golang/go#21541
    
    Change-Id: Ia7b8385d27348b2abc0ee560c5bd7e66cb6d13f2
    GitHub-Last-Rev: 6700dcc
    GitHub-Pull-Request: #174
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/528015
    Reviewed-by: Michael Pratt <[email protected]>
    Reviewed-by: Alex Brainman <[email protected]>
    TryBot-Result: Gopher Robot <[email protected]>
    Run-TryBot: Alex Brainman <[email protected]>
    Auto-Submit: Michael Pratt <[email protected]>
    Reviewed-by: Ian Lance Taylor <[email protected]>
    aisk authored and gopherbot committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    8ccaaf0 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2023

  1. unix: add linux cachestat system call

    The cachestat system call is an alternative to mincore that offers more
    extensive page cache statistics, aiming to enhance scalability. It was added
    on Linux 6.5.
    
    Fixes golang/go#61917
    
    Change-Id: If1b6b96f859dd6bf09f1a0c048abfa743a42c540
    GitHub-Last-Rev: d18fbb9
    GitHub-Pull-Request: #176
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/533242
    Reviewed-by: Ian Lance Taylor <[email protected]>
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    Auto-Submit: Ian Lance Taylor <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    mauri870 authored and gopherbot committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    1d9f0b6 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2023

  1. all: update go directive to 1.18

    Done with:
    
    go get [email protected]
    go mod tidy
    go fix ./...
    
    Using go1.21.3.
    
    Also update code generators to use only the new go:build lines,
    not the old +build ones.
    
    For golang/go#60268.
    
    Change-Id: I6aabc42efb6ab3329981100e1db2263aac5e92a6
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/534222
    Reviewed-by: Ian Lance Taylor <[email protected]>
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    Auto-Submit: Dmitri Shuralyov <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    dmitshur authored and gopherbot committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    1bfbee0 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2023

  1. unix: stop counting trailing NUL for abstract addresses starting with…

    … NUL
    
    Changes trailing-NUL-counting behavior for abstract addresses
    starting with the NUL character to be the same as abstract
    addresses starting with the @ character.
    
    For golang/go#63579.
    
    Change-Id: I2f26de4bcf614c4635ad188b1afa3d14ebd9a95f
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/535955
    Reviewed-by: Ian Lance Taylor <[email protected]>
    Auto-Submit: Ian Lance Taylor <[email protected]>
    Reviewed-by: Benny Siegert <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    F Y authored and gopherbot committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    1e63810 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2023

  1. unix: require minimum OpenBSD 6.4 for pledge, unveil

    OpenBSD 7.3 and 7.4 are the only supported OpenBSD releases.  This change simplifies the version detection and error handling to require at least OpenBSD 6.4 to call the Pledge and Unveil functions.
    
    Updates golang/go#63569.
    
    Change-Id: I6bd0d58807a73a532ddd2d3239687ca19a93db9d
    GitHub-Last-Rev: d03d157
    GitHub-Pull-Request: #177
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/537355
    TryBot-Result: Gopher Robot <[email protected]>
    Run-TryBot: Joel Sing <[email protected]>
    Reviewed-by: David Chase <[email protected]>
    Reviewed-by: Cherry Mui <[email protected]>
    Reviewed-by: Joel Sing <[email protected]>
    jrick authored and 4a6f656c committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    249e16f View commit details
    Browse the repository at this point in the history
  2. unix/linux: update Linux kernel to v6.6

    Update the Dockerfile to clone Linux v6.6 and commit the
    changes generated by GOOS=linux ./mkall.sh.
    
    Fixes golang/go#63833
    
    Change-Id: I35e0b01598809d18e04b073ef1abd58ae936f43c
    GitHub-Last-Rev: b2a502f
    GitHub-Pull-Request: #178
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/538378
    Run-TryBot: Tobias Klauser <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    TryBot-Result: Gopher Robot <[email protected]>
    Auto-Submit: Tobias Klauser <[email protected]>
    Reviewed-by: Bryan Mills <[email protected]>
    Reviewed-by: Tobias Klauser <[email protected]>
    Reviewed-by: Cherry Mui <[email protected]>
    mauri870 authored and gopherbot committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    1168e25 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2023

  1. unix: use libc stubs for OpenBSD pledge+unveil

    Future OpenBSD releases will remove the syscall(2) interface.
    This converts the Pledge and Unveil calls to use pledge(2) and
    unveil(2) from libc, rather than indirectly through syscall(2).
    
    Updates golang/go#63900.
    
    Change-Id: I61e22d8f52f16c8f5e4c0717acae0d5bf4271503
    GitHub-Last-Rev: ebc0461
    GitHub-Pull-Request: #146
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/468095
    Reviewed-by: Cherry Mui <[email protected]>
    Reviewed-by: Mauri de Souza Meneguzzo <[email protected]>
    Reviewed-by: Joel Sing <[email protected]>
    Reviewed-by: Tobias Klauser <[email protected]>
    Run-TryBot: Joel Sing <[email protected]>
    TryBot-Result: Gopher Robot <[email protected]>
    Reviewed-by: Aaron Bieber <[email protected]>
    Reviewed-by: Bryan Mills <[email protected]>
    jrick authored and 4a6f656c committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    661d749 View commit details
    Browse the repository at this point in the history
  2. syscall: call getfsstat via libc on openbsd

    On openbsd, call getfsstat directly via libc, instead of calling it
    via syscall.Syscall.
    
    Updates golang/go#63900
    
    Change-Id: I99a3555b3207754b107dbabf63440569fca93eea
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/538976
    Reviewed-by: Cherry Mui <[email protected]>
    Run-TryBot: Joel Sing <[email protected]>
    Reviewed-by: Tobias Klauser <[email protected]>
    Reviewed-by: Josh Rickmar <[email protected]>
    Reviewed-by: Bryan Mills <[email protected]>
    TryBot-Result: Gopher Robot <[email protected]>
    4a6f656c committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    cb378ae View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2023

  1. unix: use fcntl(2) libc stub on OpenBSD

    Future OpenBSD releases will remove the syscall(2) interface.
    This converts the Fcntl functions to use fcntl(2) from libc,
    rather than indirectly through syscall(2).
    
    Updates golang/go#63900.
    
    Change-Id: I50c3b91cb40245653c772e65b0b15c625974bebe
    GitHub-Last-Rev: 9c62104
    GitHub-Pull-Request: #179
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/538995
    Reviewed-by: Bryan Mills <[email protected]>
    Reviewed-by: Joel Sing <[email protected]>
    Reviewed-by: Cherry Mui <[email protected]>
    Run-TryBot: Joel Sing <[email protected]>
    TryBot-Result: Gopher Robot <[email protected]>
    Reviewed-by: Mauri de Souza Meneguzzo <[email protected]>
    jrick authored and 4a6f656c committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    ec230da View commit details
    Browse the repository at this point in the history
  2. unix: use fchmodat2 in Fchmodat

    The fchmodat2 syscall was added in Linux kernel 6.6. Use it in Fchmodat
    if flags are given. It will return ENOSYS on older kernels (or EINVAL or
    any other bogus error in some container implementations).
    
    Fixes golang/go#61636
    
    Change-Id: Ibbc9a08733b7186907b2fe5837cb997446c38357
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/539635
    Reviewed-by: Heschi Kreinick <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Bryan Mills <[email protected]>
    Reviewed-by: Mauri de Souza Meneguzzo <[email protected]>
    tklauser committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    2d0c736 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2023

  1. unix: update BPF constants for Linux kernel 6.6

    This re-adds BPF_F_KPROBE_MULTI_RETURN which was removed by CL 538378
    because it was changed from a #define to an enum in the upstream bpf.h
    header, see
    https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c5487f8d9186
    
    Fixes golang/go#63969
    
    Change-Id: Icbf180d8fb8d51fd2fa4a29a615f7071abda9a8b
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/540395
    Reviewed-by: Heschi Kreinick <[email protected]>
    Auto-Submit: Tobias Klauser <[email protected]>
    Reviewed-by: Bryan Mills <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Mauri de Souza Meneguzzo <[email protected]>
    tklauser authored and gopherbot committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    9888904 View commit details
    Browse the repository at this point in the history
  2. unix: fix trimmed socket opt string in GetsockoptString

    Fixes golang/go#63217
    
    Change-Id: Ia1b0ae88b7e7a7c611067a0b30e454b66f45ce51
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/530897
    Reviewed-by: Mauri de Souza Meneguzzo <[email protected]>
    Reviewed-by: Cherry Mui <[email protected]>
    Auto-Submit: Tobias Klauser <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Heschi Kreinick <[email protected]>
    Reviewed-by: Tobias Klauser <[email protected]>
    KSDaemon authored and gopherbot committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    e4099bf View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2023

  1. Configuration menu
    Copy the full SHA
    11eadc0 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2023

  1. unix: add IoctlLoopConfigure on linux

    LOOP_CONFIGURE ioctl is used to setup and configure all loop device
    parameters in a single step.
    Add to the unix package a new function that exposes LOOP_CONFIGURE.
    
    Fixes golang/go#63962
    
    Change-Id: Ia169d268b52b1384febc6bff9c707b721ab2bb24
    GitHub-Last-Rev: f9cc4c9
    GitHub-Pull-Request: #181
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/540075
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: David Chase <[email protected]>
    Reviewed-by: Tobias Klauser <[email protected]>
    Auto-Submit: Tobias Klauser <[email protected]>
    Reviewed-by: Matthew Dempsky <[email protected]>
    Run-TryBot: Tobias Klauser <[email protected]>
    TryBot-Result: Gopher Robot <[email protected]>
    alex-matei authored and gopherbot committed Nov 18, 2023
    Configuration menu
    Copy the full SHA
    13b15b7 View commit details
    Browse the repository at this point in the history
Loading