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.10.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.11.0
Choose a head ref
  • 7 commits
  • 51 files changed
  • 6 contributors

Commits on Jul 13, 2023

  1. unix: add Mremap for netbsd

    Fixes golang/go#60409
    
    Change-Id: I2d872a1a6fb63c27ab3753deff370e1c2f752bdd
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/508397
    Auto-Submit: Tobias Klauser <[email protected]>
    Run-TryBot: Tobias Klauser <[email protected]>
    Reviewed-by: Benny Siegert <[email protected]>
    TryBot-Result: Gopher Robot <[email protected]>
    Reviewed-by: Ian Lance Taylor <[email protected]>
    tklauser authored and gopherbot committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    3fead03 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2023

  1. windows: remove repetitive words

    Change-Id: I9c944eca6117b1039f0c5287706cb447b75c8cbd
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/509835
    Reviewed-by: Ian Lance Taylor <[email protected]>
    Reviewed-by: Heschi Kreinick <[email protected]>
    TryBot-Result: Gopher Robot <[email protected]>
    Auto-Submit: Ian Lance Taylor <[email protected]>
    Reviewed-by: Alex Brainman <[email protected]>
    Run-TryBot: Ian Lance Taylor <[email protected]>
    cuishuang authored and gopherbot committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    706fa98 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2023

  1. unix: fix last argument of pselect6 on linux

    On Linux, the last argument of pselect6 system call is **not** a
    sigseg_t * pointer, but instead it is a structure of the form:
    
        struct {
            const sigset_t *ss;     /* Pointer to signal set */
            size_t          ss_len; /* Size (in bytes) of object pointed
        };
    
    See man 2 pselect6.
    
    Fixes #61251
    
    Change-Id: Id0aa122a77796713bc6d624dc395d396fbc0c5e2
    GitHub-Last-Rev: cb3c6d7
    GitHub-Pull-Request: #167
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/510195
    Reviewed-by: Bryan Mills <[email protected]>
    Reviewed-by: Ian Lance Taylor <[email protected]>
    TryBot-Result: Gopher Robot <[email protected]>
    Run-TryBot: Ian Lance Taylor <[email protected]>
    Auto-Submit: Ian Lance Taylor <[email protected]>
    mauri870 authored and gopherbot committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    25d0004 View commit details
    Browse the repository at this point in the history
  2. all: fix some typos

    Change-Id: Id4bf4ce8aee8b98baa2f1a9c62a72a9554f7d557
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/510595
    TryBot-Result: Gopher Robot <[email protected]>
    Run-TryBot: Ian Lance Taylor <[email protected]>
    Auto-Submit: Ian Lance Taylor <[email protected]>
    Run-TryBot: shuang cui <[email protected]>
    Reviewed-by: Ian Lance Taylor <[email protected]>
    Reviewed-by: Heschi Kreinick <[email protected]>
    cuishuang authored and gopherbot committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    c406141 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2023

  1. unix: add more block device ioctl numbers

    This adds a few additional ioctl numbers for performing various block
    device operations.
    
    Change-Id: I1dc836f4017bbc175b2dee759fece728f1caa010
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/511597
    Auto-Submit: Ian Lance Taylor <[email protected]>
    Reviewed-by: Ian Lance Taylor <[email protected]>
    Reviewed-by: Bryan Mills <[email protected]>
    Run-TryBot: Bryan Mills <[email protected]>
    Run-TryBot: Ian Lance Taylor <[email protected]>
    TryBot-Result: Gopher Robot <[email protected]>
    lorenz authored and gopherbot committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    ad7130c View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2023

  1. unix: retry fetching of lists through sysctl if the size changes

    On macOS, the SysctlKinfoProcSlice() function may be used to fetch the contents of the process table. As the process table may grow between the first and second call to sysctl(), the second call may fail with ENOMEM. In that case we simply need to retry.
    
    Change-Id: I40229653ed383603c33762f37b0dc2e7de47bcb6
    GitHub-Last-Rev: b63b6b8
    GitHub-Pull-Request: #169
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/513036
    Run-TryBot: Ian Lance Taylor <[email protected]>
    Auto-Submit: Ian Lance Taylor <[email protected]>
    TryBot-Result: Gopher Robot <[email protected]>
    Reviewed-by: Matthew Dempsky <[email protected]>
    Run-TryBot: Ian Lance Taylor <[email protected]>
    Reviewed-by: Ian Lance Taylor <[email protected]>
    EdSchouten authored and gopherbot committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    70f4e40 View commit details
    Browse the repository at this point in the history
  2. unix: add riscv_hwprobe for riscv64

    The riscv_hwprobe system call was introduced in Linux 6.4 and allows
    the caller to determine a number of interesting pieces of information
    about the underlying RISC-V CPUs, e.g., which extensions they support
    and whether they allow fast unaligned memory accesses.  For more information
    please see:
    
    https://docs.kernel.org/riscv/hwprobe.html
    
    We also update linux/mksysnum.go to ensure that the generated syscall constants
    written to the zsysnum_linux_*.go files are always sorted by their syscall numbers
    in ascending order.
    
    Updates golang/go#61416
    
    Change-Id: Iedb0a86adb65faac9061b9a5969ffa09eb5b303a
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/510795
    TryBot-Result: Gopher Robot <[email protected]>
    Reviewed-by: Matthew Dempsky <[email protected]>
    Auto-Submit: Ian Lance Taylor <[email protected]>
    Reviewed-by: Ian Lance Taylor <[email protected]>
    Run-TryBot: Ian Lance Taylor <[email protected]>
    markdryan authored and gopherbot committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    104d401 View commit details
    Browse the repository at this point in the history
Loading