8000 Comparing v0.13.0...v0.15.0 · golang/sys · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
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 <alex.brainman@gmail.com>
    Reviewed-by: Ian Lance Taylor <iant@google.com>
    TryBot-Result: Gopher Robot <gobot@golang.org>
    Run-TryBot: Alex Brainman <alex.brainman@gmail.com>
    Reviewed-by: Michael Pratt <mpratt@google.com>
    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
  • 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 <mpratt@google.com>
    Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
    TryBot-Result: Gopher Robot <gobot@golang.org>
    Run-TryBot: Alex Brainman <alex.brainman@gmail.com>
    Auto-Submit: Michael Pratt <mpratt@google.com>
    Reviewed-by: Ian Lance Taylor <iant@google.com>
    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 <iant@google.com>
      Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
      Auto-Submit: Ian Lance Taylor <iant@google.com>
      LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
      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 go@1.18
      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 <iant@google.com>
      Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
      Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
      LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
      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 <iant@google.com>
      Auto-Submit: Ian Lance Taylor <iant@google.com>
      Reviewed-by: Benny Siegert <bsiegert@gmail.com>
      LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
      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 <gobot@golang.org>
      Run-TryBot: Joel Sing <joel@sing.id.au>
      Reviewed-by: David Chase <drchase@google.com>
      Reviewed-by: Cherry Mui <cherryyz@google.com>
      Reviewed-by: Joel Sing <joel@sing.id.au>
      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 <tobias.klauser@gmail.com>
      LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
      TryBot-Result: Gopher Robot <gobot@golang.org>
      Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
      Reviewed-by: Bryan Mills <bcmills@google.com>
      Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
      Reviewed-by: Cherry Mui <cherryyz@google.com>
      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 <cherryyz@google.com>
      Reviewed-by: Mauri de Souza Meneguzzo <mauri870@gmail.com>
      Reviewed-by: Joel Sing <joel@sing.id.au>
      Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
      Run-TryBot: Joel Sing <joel@sing.id.au>
      TryBot-Result: Gopher Robot <gobot@golang.org>
      Reviewed-by: Aaron Bieber <aaron@bolddaemon.com>
      Reviewed-by: Bryan Mills <bcmills@google.com>
      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 <cherryyz@google.com>
      Run-TryBot: Joel Sing <joel@sing.id.au>
      Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
      Reviewed-by: Josh Rickmar <jrick@zettaport.com>
      Reviewed-by: Bryan Mills <bcmills@google.com>
      TryBot-Result: Gopher Robot <gobot@golang.org>
      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 <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 10000

      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
    Loading
    0