Tags: msteinert/sys
Tags
windows: add SetFileValidData Fixes golang/go#61834 Change-Id: Iaff01f5662aa2309e8ac41b346e0d3a42d28af91 Reviewed-on: https://go-review.googlesource.com/c/sys/+/517575 Reviewed-by: Dmitri Shuralyov <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Alex Brainman <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Run-TryBot: Quim Muntal <[email protected]> Reviewed-by: Quim Muntal <[email protected]> Reviewed-by: Keith Randall <[email protected]>
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: golang#181 Reviewed-on: https://go-review.googlesource.com/c/sys/+/540075 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: David Chase <[email protected]> Reviewed-by: Tobias Klauser <[email protected]> Auto-Submit: Tobias Klauser <[email protected]> Reviewed-by: Matthew Dempsky <[email protected]> Run-TryBot: Tobias Klauser <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
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 <[email protected]> Run-TryBot: Joel Sing <[email protected]> Reviewed-by: Tobias Klauser <[email protected]> Reviewed-by: Josh Rickmar <[email protected]> Reviewed-by: Bryan Mills <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
unix: remove unused readlen and writelen These were originally added when copying over files from package syscall. However, their use was removed in CL 129500043. New ports kept adding these wrappers without using them. They are still unused, so remove them. Change-Id: I2ffffe98a5c999d23b63d1f04ee4ad8f807ee736 Reviewed-on: https://go-review.googlesource.com/c/sys/+/531356 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Than McIntosh <[email protected]> Auto-Submit: Tobias Klauser <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
unix/linux: update to gcc 13.2.0, qemu 8.0.3 for loong64 and and Go 1… ….21.0 for all Running `GOOS=linux GOARCH={amd64,arm64,loong64,mips64le,riscv64} ./mkall.sh` produces no changes, as expected. Update Loong64's cross toolchain to support for the ELF psABI v2.0 relocs [1]. Updates #58784. [1]: https://loongson.github.io/LoongArch-Documentation/LoongArch-ELF-ABI-EN.html Change-Id: I676893b934d8cfc30b9f3702fc92a5ab82f7f116 Reviewed-on: https://go-review.googlesource.com/c/sys/+/483455 Auto-Submit: Tobias Klauser <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> Reviewed-by: Meidan Li <[email protected]> Run-TryBot: Ian Lance Taylor <[email protected]> Run-TryBot: Tobias Klauser <[email protected]> Reviewed-by: Tobias Klauser <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Bryan Mills <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
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]>
unix/linux: update to Linux kernel 6.4 and Go 1.21rc2 Also fix the glibc 2.37 release date in a comment. Change-Id: Ibd972a2846f0085bacf67c847ce4726bf130d5ba Reviewed-on: https://go-review.googlesource.com/c/sys/+/506017 TryBot-Result: Gopher Robot <[email protected]> Auto-Submit: Carlos Amedee <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Run-TryBot: Tobias Klauser <[email protected]> Reviewed-by: Carlos Amedee <[email protected]>
PreviousNext