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.20.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.22.0
Choose a head ref
  • 11 commits
  • 25 files changed
  • 8 contributors

Commits on May 6, 2024

  1. unix: add types for SOCK_DIAG

    Change-Id: Ifcc90735b6e42b6c9971d4ba15c31b8169e005fe
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/579996
    Reviewed-by: Cherry Mui <[email protected]>
    Reviewed-by: Ian Lance Taylor <[email protected]>
    Auto-Submit: Ian Lance Taylor <[email protected]>
    Reviewed-by: Tobias Klauser <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    florianl authored and gopherbot committed May 6, 2024
    Configuration menu
    Copy the full SHA
    6dfb94e View commit details
    Browse the repository at this point in the history

Commits on May 9, 2024

  1. windows: add net user enum

    In the go windows package, you can get user information by using
    `NetUserGetInfo` along with a specified level. However, there is
    no way to get a list of the users.
    The only options are to
    1. know the users,
    2. brute force users, or
    3. use an external tool or command (`net users`).
    
    I suggest adding a function that implements the windows api for
    `NetUserEnum`. This will allow a built in way to enumerate
    users and follow the standard.
    
    A side note is that I used `buf **byte` because
    it is how the others are done, but using `buf *byte`
    works just as well.
    
    Change-Id: Ifcc916659eb1d796175cd18acd2e81f2661bfcd2
    GitHub-Last-Rev: 3d01bca
    GitHub-Pull-Request: #190
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/578475
    Reviewed-by: Alex Brainman <[email protected]>
    Auto-Submit: Cherry Mui <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: David Chase <[email protected]>
    Reviewed-by: Cherry Mui <[email protected]>
    JoeyShapiro authored and gopherbot committed May 9, 2024
    Configuration menu
    Copy the full SHA
    f34bb9f View commit details
    Browse the repository at this point in the history

Commits on May 13, 2024

  1. unix: update to Linux kernel 6.9

    Change-Id: Ib7bd9dabfcb8234c522ec357d32bfa3e87af53db
    GitHub-Last-Rev: 4bea205
    GitHub-Pull-Request: #194
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/585135
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    Auto-Submit: Ian Lance Taylor <[email protected]>
    Reviewed-by: Tobias Klauser <[email protected]>
    Reviewed-by: Ian Lance Taylor <[email protected]>
    Run-TryBot: Mauri de Souza Meneguzzo <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    TryBot-Result: Gopher Robot <[email protected]>
    mauri870 authored and gopherbot committed May 13, 2024
    Configuration menu
    Copy the full SHA
    92f3ad6 View commit details
    Browse the repository at this point in the history
  2. unix/linux: update glibc to 2.39

    Change-Id: I5c2b996180073ca10f1b7c86201a19eaf0557e43
    GitHub-Last-Rev: a092f56
    GitHub-Pull-Request: #195
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/585136
    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]>
    mauri870 authored and gopherbot committed May 13, 2024
    Configuration menu
    Copy the full SHA
    6943ab6 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2024

  1. unix: skip ethtool driver test for busy interface

    This CL skips IoctlGetEthtoolDrvinfo on busy interface tests since
    ethtool getting the same result too.
    
    Fixes golang/go#67350
    
    Change-Id: Ia65678e3caab8a9dd42b9cdb8e4cb7f7f0b476da
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/586435
    Reviewed-by: Tobias Klauser <[email protected]>
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    Reviewed-by: Cherry Mui <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    mengzhuo authored and tklauser committed May 17, 2024
    Configuration menu
    Copy the full SHA
    673e0f9 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2024

  1. windows/svc: do not pass theService to windows.RegisterServiceCtrlHan…

    …dlerEx
    
    windows.RegisterServiceCtrlHandlerEx context parameter is uintptr, so it
    is unsafe to pass pointers in that parameter. Use theService global
    variable in ctlHandler function instead.
    
    Fixes golang/go#67437
    
    Change-Id: I84c910eaa354603c2a5114421cd61788cb40b86f
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/591475
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Michael Pratt <[email protected]>
    Reviewed-by: Quim Muntal <[email protected]>
    Reviewed-by: David Chase <[email protected]>
    alexbrainman committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    348425a View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2024

  1. windows: add GetAce Windows API

    GetAce obtains a pointer to an access control entry (ACE) in an
    discretionary access control list (DACL), which controls access to
    an object.
    
    Adds the ACE_HEADER and ACCESS_ALLOWED_ACE structs.
    Adds GetEntriesFromACL function which returns an array of ACEs from the
    given ACL if no errors have been encountered.
    
    References:
    
    - https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-ace_header
    - https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-access_allowed_ace
    - https://learn.microsoft.com/en-us/windows/win32/api/securitybaseapi/nf-securitybaseapi-getace
    
    Fixes golang/go#66850
    
    Change-Id: I98306ff7e947e586a58d563d364169a2555492f4
    GitHub-Last-Rev: d14ca7f
    GitHub-Pull-Request: #191
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/578976
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Damien Neil <[email protected]>
    Reviewed-by: David Chase <[email protected]>
    Reviewed-by: Alex Brainman <[email protected]>
    claudiubelu authored and neild committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    7670087 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2024

  1. unix: add unsafe mmap, munmap, mremap

    Fixes golang/go#56123
    
    Change-Id: I63a7a6fb3a5b1bb556ac19d76a1e0b04a03ebcfa
    GitHub-Last-Rev: 39dbc8e
    GitHub-Pull-Request: #197
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/592415
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Auto-Submit: Dmitri Shuralyov <[email protected]>
    Reviewed-by: Ian Lance Taylor <[email protected]>
    ncruces authored and gopherbot committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    daa2394 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2024

  1. unix: fix MremapPtr test failing on NetBSD

    NetBSD apparently doesn't allow remapping into used address space.
    This means that the test that uses mremap to move a mmapped page
    into a new address should first mmap (to reserve)
    then munmap (to free) the destination.
    
    Fixes golang/go#68180
    
    Change-Id: If66b67e7166ca4dc4331a8cfc3e3a285416e9849
    GitHub-Last-Rev: 92058c2
    GitHub-Pull-Request: #198
    Cq-Include-Trybots: luci.golang.try:x_sys-gotip-netbsd-amd64
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/594756
    Reviewed-by: Ian Lance Taylor <[email protected]>
    Reviewed-by: Joedian Reid <[email protected]>
    Auto-Submit: Dmitri Shuralyov <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    ncruces authored and gopherbot committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    a0ef40a View commit details
    Browse the repository at this point in the history
  2. unix: fix MmapPtr test failing on OpenBSD

    OpenBSD apparently doesn't allow unmapping address space if part of the region is already unmapped.
    This tweaks the test so that munmapping twice no longer happens.
    
    Fixes golang/go#68181
    
    Change-Id: I588255f5e10ec015dbb7188eac79cee6be570680
    GitHub-Last-Rev: 2535abd
    GitHub-Pull-Request: #199
    Cq-Include-Trybots: luci.golang.try:go1.22-openbsd-amd64
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/595095
    TryBot-Bypass: Ian Lance Taylor <[email protected]>
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    Reviewed-by: Ian Lance Taylor <[email protected]>
    Auto-Submit: Ian Lance Taylor <[email protected]>
    ncruces authored and gopherbot committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    c892bb7 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2024

  1. unix: add PthreadChdir and PthreadFchdir on darwin

    Fixes golang/go#68226
    
    Change-Id: I92052e2319e4edde21b5e1e47ddb5b261d81448a
    GitHub-Last-Rev: bc02d6d
    GitHub-Pull-Request: #201
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/595677
    Auto-Submit: Ian Lance Taylor <[email protected]>
    Reviewed-by: Cherry Mui <[email protected]>
    Reviewed-by: Ian Lance Taylor <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    espadolini authored and gopherbot committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    faed7ec View commit details
    Browse the repository at this point in the history
Loading