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.14.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.16.0
Choose a head ref
  • 10 commits
  • 29 files changed
  • 7 contributors

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 <bcmills@google.com>
    Reviewed-by: Joel Sing <joel@sing.id.au>
    Reviewed-by: Cherry Mui <cherryyz@google.com>
    Run-TryBot: Joel Sing <joel@sing.id.au>
    TryBot-Result: Gopher Robot <gobot@golang.org>
    Reviewed-by: Mauri de Souza Meneguzzo <mauri870@gmail.com>
    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 <heschi@google.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Bryan Mills <bcmills@google.com>
    Reviewed-by: Mauri de Souza Meneguzzo <mauri870@gmail.com>
    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 <heschi@google.com>
    Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
    Reviewed-by: Bryan Mills <bcmills@google.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Mauri de Souza Meneguzzo <mauri870@gmail.com>
    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 <mauri870@gmail.com>
    Reviewed-by: Cherry Mui <cherryyz@google.com>
    Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Heschi Kreinick <heschi@google.com>
    Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
    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. windows: add AddDllDirectory and RemoveDllDirectory

    Per https://learn.microsoft.com/en-us/windows/win32/api/libloaderapi/nf-libloaderapi-adddlldirectory
    and https://learn.microsoft.com/en-us/windows/win32/api/libloaderapi/nf-libloaderapi-removedlldirectory.
    
    Change-Id: If44a3758720345d1bbd9af96ec2481fbe9398a08
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/537755
    Reviewed-by: Tatiana Bradley <tatianabradley@google.com>
    Auto-Submit: Roland Shoemaker <roland@golang.org>
    Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    rolandshoemaker authored and gopherbot committed Nov 13, 2023
    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 <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: David Chase <drchase@google.com>
    Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
    Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
    Reviewed-by: Matthew Dempsky <mdempsky@google.com>
    Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
    TryBot-Result: Gopher Robot <gobot@golang.org>
    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

Commits on Dec 1, 2023

  1. unix: add Netfilter and NFTables constants

    Fixes golang/go#64426
    
    Change-Id: I7332f73e27396d187ed63715100af299a949eaf9
    GitHub-Last-Rev: a6b267b
    GitHub-Pull-Request: #182
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/545495
    Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
    Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
    Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    Reviewed-by: Mauri de Souza Meneguzzo <mauri870@gmail.com>
    TryBot-Result: Gopher Robot <gobot@golang.org>
    Reviewed-by: Michael Knyszek <mknyszek@google.com>
    LionelJouin authored and gopherbot committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    5ff87d7 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2023

  1. unix: remove extra trailing newlines in zsyscall_openbsd_*.go

    These newlines are written by mksyscall.go but should not appear in the final
    generated files once the output is passed through gofmt.  This is done by
    mkall.sh but I had written a custom script just to generate these openbsd
    zsyscall files in CL 468095.
    
    Running the mksyscall.go output through gofmt fixes this issue.
    
    Fixes golang/go#64820
    
    Change-Id: I1b1bf55145bd5a5208e091ded24a973f953c479f
    GitHub-Last-Rev: 514272b
    GitHub-Pull-Request: #183
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/551715
    Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
    Reviewed-by: Carlos Amedee <carlos@golang.org>
    Run-TryBot: Jorropo <jorropo.pgm@gmail.com>
    TryBot-Result: Gopher Robot <gobot@golang.org>
    Reviewed-by: Than McIntosh <thanm@google.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    jrick authored and tklauser committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    f0c7190 View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2023

  1. unix: don't redefine constants already defined in glibc headers

    These are all present in glibc 2.37 which is currently used to generate
    these constants.
    
    Change-Id: I3ffbd8f8581e85e8854222ad3f2c7f44aac106c7
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/552417
    Reviewed-by: David Chase <drchase@google.com>
    Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
    Reviewed-by: Matt Layher <mdlayher@gmail.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Than McIntosh <thanm@google.com>
    tklauser authored and gopherbot committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    32cdffc View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2024

  1. windows: add SetFileValidData

    Fixes golang/go#61834
    
    Change-Id: Iaff01f5662aa2309e8ac41b346e0d3a42d28af91
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/517575
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    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>
    Run-TryBot: Quim Muntal <quimmuntal@gmail.com>
    Reviewed-by: Quim Muntal <quimmuntal@gmail.com>
    Reviewed-by: Keith Randall <khr@google.com>
    kanak-clumio authored and alexbrainman committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    0829ab1 View commit details
    Browse the repository at this point in the history
Loading