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.6.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.7.0
Choose a head ref
  • 7 commits
  • 88 files changed
  • 7 contributors

Commits on Mar 4, 2023

  1. unix: skip ip related tests if EAFNOSUPPORT raised

    Skipping EADDRNOTAVAIL is not enough for system doesn't support
    ipv4/ipv6 family.
    This CL skips TestPktInfo and TestParseOrigDstAddr if EAFNOSUPPORT
    raised.
    
    Fixes golang/go#58832
    
    Change-Id: Icf74749f9cc0f9a6d60646f92f7ddf53ae2de8ab
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/473257
    Run-TryBot: M Zhuo <mzh@golangcn.org>
    TryBot-Result: Gopher Robot <gobot@golang.org>
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
    Reviewed-by: Ian Lance Taylor <iant@google.com>
    mengzhuo authored and gopherbot committed Mar 4, 2023
    Configuration menu
    Copy the full SHA
    494aa49 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2023

  1. unix: change Setrlimit/Prlimit to always call syscall functions

    As of Go 1.21 syscall.Setrlimit and syscall.prlimit can affect
    starting a new process, by restoring the original NOFILE rlimit.
    That is recorded locally in the syscall package, so just always
    call the syscall functions.
    
    For golang/go#46279
    
    Change-Id: I2f3dafe5562a7dde1297bad6f5d34a80af5d620b
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/476695
    Run-TryBot: Ian Lance Taylor <iant@golang.org>
    Run-TryBot: Ian Lance Taylor <iant@google.com>
    Reviewed-by: Ian Lance Taylor <iant@google.com>
    TryBot-Result: Gopher Robot <gobot@golang.org>
    Reviewed-by: Bryan Mills <bcmills@google.com>
    Auto-Submit: Ian Lance Taylor <iant@google.com>
    ianlancetaylor authored and gopherbot committed Mar 15, 2023
    Configuration menu
    Copy the full SHA
    ff18efa View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2023

  1. unix: make solaris syscall tests less flaky

    Fixes golang/go#58259
    
    Change-Id: I1e8a83ed6ee3be8165c771b81a3cbdd474216c02
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/465055
    Auto-Submit: Ian Lance Taylor <iant@google.com>
    Run-TryBot: Ian Lance Taylor <iant@google.com>
    Auto-Submit: Bryan Mills <bcmills@google.com>
    Run-TryBot: Bryan Mills <bcmills@google.com>
    Reviewed-by: Bryan Mills <bcmills@google.com>
    TryBot-Result: Gopher Robot <gobot@golang.org>
    Reviewed-by: Ian Lance Taylor <iant@google.com>
    nshalman authored and gopherbot committed Mar 16, 2023
    Configuration menu
    Copy the full SHA
    d0781cc View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2023

  1. unix: match ioctl req argument type to libc type

    On Solaris, AIX, and zOS, the req argument of ioctl() is a signed int,
    not an unsigned long like on other platforms, which means many constants
    are negative, causing friction when passing them to a uint argument.
    Correct the signature of these functions to pass the req argument as
    signed, just like libc.
    
    Fixes golang/go#59030.
    
    Change-Id: Ia14e92a150f4b5fb9488c5032ca296cb786e9811
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/476515
    Reviewed-by: Ian Lance Taylor <iant@google.com>
    Reviewed-by: Bryan Mills <bcmills@google.com>
    Run-TryBot: Jason Donenfeld <Jason@zx2c4.com>
    TryBot-Result: Gopher Robot <gobot@golang.org>
    Reviewed-by: Nahum Shalman <nahamu@gmail.com>
    zx2c4 committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    00d8004 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2023

  1. windows: fix constant values for JobObjectInformationClass

    The constant values were incorrect and has been fixed in this CL.
    
    Reference:
    https://learn.microsoft.com/en-us/windows/win32/api/jobapi2/nf-jobapi2-setinformationjobobject#parameters
    
    Change-Id: Id97e561b6838a18216617d86aa11c79b6b2f4095
    GitHub-Last-Rev: cd1e32d
    GitHub-Pull-Request: #150
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/479375
    Reviewed-by: Ian Lance Taylor <iant@google.com>
    Auto-Submit: Ian Lance Taylor <iant@google.com>
    Run-TryBot: Ian Lance Taylor <iant@google.com>
    TryBot-Result: Gopher Robot <gobot@golang.org>
    Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
    Run-TryBot: Alex Brainman <alex.brainman@gmail.com>
    Reviewed-by: Matthew Dempsky <mdempsky@google.com>
    masshash authored and gopherbot committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    94933fc View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2023

  1. unix: add AT_EACCESS on Darwin

    The AT_EACCESS constant, used by faccessat syscall is present on Linux, Solaris and other BSD platforms. This commit also adds this constant on Darwin.
    
    The constant (and the associated faccessat syscall) is part of POSIX.1-2008.
    
    Fixes golang/go#59265.
    
    Change-Id: Iae0ac35107cc291eba523cc88e68d3a9ddb7d01e
    GitHub-Last-Rev: a6a16c4
    GitHub-Pull-Request: #153
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/480115
    Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
    Reviewed-by: Matthew Dempsky <mdempsky@google.com>
    Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
    Reviewed-by: Michael Knyszek <mknyszek@google.com>
    Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
    TryBot-Result: Gopher Robot <gobot@golang.org>
    MKuranowski authored and gopherbot committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    90abad3 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2023

  1. unix: add bindings for setattrlist() on macOS

    The setattrlist() function can be used to mutate the attributes of files through a single call. For example, one can perform a chmod(), chown(), chflags(), [...] all at once.
    
    This change also adds bindings for the UF_* and SF_* flags that are accepted by chflags(). This makes it possible to use setattrlist() to perform the equivalent of lchflags(), for which we currently have no binding.
    
    Change-Id: Ib5a604503a984b95a02b65ad1a437246cd170584
    GitHub-Last-Rev: 45dd9d4
    GitHub-Pull-Request: #155
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/481815
    Reviewed-by: Ian Lance Taylor <iant@google.com>
    Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
    Reviewed-by: Michael Knyszek <mknyszek@google.com>
    Run-TryBot: Ian Lance Taylor <iant@google.com>
    Auto-Submit: Ian Lance Taylor <iant@google.com>
    TryBot-Result: Gopher Robot <gobot@golang.org>
    Run-TryBot: Ian Lance Taylor <iant@golang.org>
    EdSchouten authored and gopherbot committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    64840c1 View commit details
    Browse the repository at this point in the history
Loading