-
Notifications
You must be signed in to change notification settings - Fork 601
Comparing changes
Open a pull request
base repository: golang/sys
base: v0.18.0
head repository: golang/sys
compare: v0.22.0
- 19 commits
- 89 files changed
- 14 contributors
Commits on Mar 8, 2024
-
unix: expose mmap calls on z/OS
The calls `Mmap` and `Munmap` were removed for z/OS. Syscall removed occurred in: 508397 This change exposes them in a z/OS specific file (to remove the accidental deletion of them in future refactors of the APIs for `unix-like` OSes). Change-Id: Ice0cabfb4547cab2ffa7130b7c26d9cc38233afe GitHub-Last-Rev: e7b4680 GitHub-Pull-Request: #186 Reviewed-on: https://go-review.googlesource.com/c/sys/+/569359 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com>
Configuration menu - View commit details
-
Copy full SHA for 4be02d3 - Browse repository at this point
Copy the full SHA 4be02d3View commit details
Commits on Mar 12, 2024
-
x/sys/windows: add func windows.DisconnectNamedPipe(handle Handle) (e…
…rr error) Fixes golang/go#66234 Change-Id: I1e4a94e1ca8c01a29bab18e0bf12238c511fe1c6 Reviewed-on: https://go-review.googlesource.com/c/sys/+/570435 Reviewed-by: Quim Muntal <quimmuntal@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: Alex Brainman <alex.brainman@gmail.com> Reviewed-by: Cherry Mui <cherryyz@google.com>
Configuration menu - View commit details
-
Copy full SHA for 95f07ec - Browse repository at this point
Copy the full SHA 95f07ecView commit details
Commits on Apr 2, 2024
-
windows: add serial comm functions
Serial ports are still widely used to communicate with a large range of devices. This change adds the remaining functions described in "Serial Communications in Win32", enabling Go applications and libraries to be written that support the full set of serial port functionality on Windows. x/sys/unix already has equivalent functionality through termios. See https://learn.microsoft.com/en-us/previous-versions/ms810467(v=msdn.10). Change-Id: I57f9ed6b7dbcc2331f740bd95b6483f141b0ad6f GitHub-Last-Rev: 0a5a744 GitHub-Pull-Request: #187 Reviewed-on: https://go-review.googlesource.com/c/sys/+/572295 Reviewed-by: David Chase <drchase@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Than McIntosh <thanm@google.com> Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1a50d97 - Browse repository at this point
Copy the full SHA 1a50d97View commit details
Commits on Apr 4, 2024
-
windows: use uint32 for serial comm flags for consistency
This is a follow-up to https://go-review.googlesource.com/c/sys/+/572295 and specifically the comment https://go-review.googlesource.com/c/sys/+/572295/comment/a00e1a2e_e3b01666/. All other structs and methods us uint32 in golang.org/x/sys/windows for flag bitmasks, so make the serial communication structs use uint32 to be consistent with the rest of the package. As a side effect the DTR_CONTROL_* and RTS_CONTROL_* constants are updated to reflect the positions of the bits in the 32-bit flags. Change-Id: Ie19774a8ef5411d7df1e5b0d36806aa1d401fa86 GitHub-Last-Rev: bc93d94 GitHub-Pull-Request: #189 Reviewed-on: https://go-review.googlesource.com/c/sys/+/575635 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Alex Brainman <alex.brainman@gmail.com> Reviewed-by: Than McIntosh <thanm@google.com>
Configuration menu - View commit details
-
Copy full SHA for cabba82 - Browse repository at this point
Copy the full SHA cabba82View commit details
Commits on Apr 11, 2024
-
unix: update to Linux kernel 6.4
Change-Id: I88b628a97f5cfb76083968be2ff2e9857ce56557 Reviewed-on: https://go-review.googlesource.com/c/sys/+/577975 Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Carlos Amedee <carlos@golang.org>
Configuration menu - View commit details
-
Copy full SHA for 27dc90b - Browse repository at this point
Copy the full SHA 27dc90bView commit details
Commits on Apr 16, 2024
-
windows: drop go version tags for unsupported versions
go.mod specifies go 1.18. Drop go1.n version tags for older, unsupported versions. Change-Id: I7a23a9f4ba558999ac417b7b4647fa1061d69c06 Reviewed-on: https://go-review.googlesource.com/c/sys/+/566038 Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Quim Muntal <quimmuntal@gmail.com> Reviewed-by: Cherry Mui <cherryyz@google.com>
Configuration menu - View commit details
-
Copy full SHA for 9a28524 - Browse repository at this point
Copy the full SHA 9a28524View commit details
Commits on May 3, 2024
-
cpu: add support for sve2 detection
Fixes golang/go#66952 Change-Id: Idaf2ce3b09baf33cf29079677a83a51ea9c4b255 GitHub-Last-Rev: eac0088 GitHub-Pull-Request: #193 Reviewed-on: https://go-review.googlesource.com/c/sys/+/580655 Reviewed-by: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7758090 - Browse repository at this point
Copy the full SHA 7758090View commit details -
This change syncs the IBM internal version of sys/unix with the public repository. There are a variety of new syscalls and const definitions that have been accumulated over the past few years to support developers using Go on the platform. Old simulations of calls like 'epoll' and 'fstatfs' have been replaced with their real counterparts. The zos/s390x syscalls also have extensive trampolining to handle zos systems that might not have support for some of these new system calls. Closes golang/go#67071 Change-Id: I973d9e0abca2b05365308cf2b890438e50ae5957 Reviewed-on: https://go-review.googlesource.com/c/sys/+/582035 Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Bill O'Farrell <billotosyr@gmail.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Configuration menu - View commit details
-
Copy full SHA for 7d69d98 - Browse repository at this point
Copy the full SHA 7d69d98View commit details
Commits on May 6, 2024
-
Change-Id: Ifcc90735b6e42b6c9971d4ba15c31b8169e005fe Reviewed-on: https://go-review.googlesource.com/c/sys/+/579996 Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Configuration menu - View commit details
-
Copy full SHA for 6dfb94e - Browse repository at this point
Copy the full SHA 6dfb94eView commit details
Commits on May 9, 2024
-
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 <alex.brainman@gmail.com> Auto-Submit: Cherry Mui <cherryyz@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com>
Configuration menu - View commit details
-
Copy full SHA for f34bb9f - Browse repository at this point
Copy the full SHA f34bb9fView commit details
Commits on May 13, 2024
-
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 <dmitshur@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Run-TryBot: Mauri de Souza Meneguzzo <mauri870@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Configuration menu - View commit details
-
Copy full SHA for 92f3ad6 - Browse repository at this point
Copy the full SHA 92f3ad6View commit details -
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 <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>
Configuration menu - View commit details
-
Copy full SHA for 6943ab6 - Browse repository at this point
Copy the full SHA 6943ab6View commit details
Commits on May 17, 2024
-
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 <tobias.klauser@gmail.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Configuration menu - View commit details
-
Copy full SHA for 673e0f9 - Browse repository at this point
Copy the full SHA 673e0f9View commit details
Commits on Jun 13, 2024
-
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 <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Pratt <mpratt@google.com> Reviewed-by: Quim Muntal <quimmuntal@gmail.com> Reviewed-by: David Chase <drchase@google.com>
Configuration menu - View commit details
-
Copy full SHA for 348425a - Browse repository at this point
Copy the full SHA 348425aView commit details
Commits on Jun 24, 2024
-
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 <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7670087 - Browse repository at this point
Copy the full SHA 7670087View commit details
Commits on Jun 25, 2024
-
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 <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com>
Configuration menu - View commit details
-
Copy full SHA for daa2394 - Browse repository at this point
Copy the full SHA daa2394View commit details
Commits on Jun 26, 2024
-
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 <iant@google.com> Reviewed-by: Joedian Reid <joedian@google.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Configuration menu - View commit details
-
Copy full SHA for a0ef40a - Browse repository at this point
Copy the full SHA a0ef40aView commit details -
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 <iant@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@golang.org>
Configuration menu - View commit details
-
Copy full SHA for c892bb7 - Browse repository at this point
Copy the full SHA c892bb7View commit details
Commits on Jul 3, 2024
-
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 <iant@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Configuration menu - View commit details
-
Copy full SHA for faed7ec - Browse repository at this point
Copy the full SHA faed7ecView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.18.0...v0.22.0