Repository navigation
build(deps): Bump golang.org/x/sys from 0.41.0 to 0.42.0 - #1277
Merged
Merged
Conversation
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.41.0 to 0.42.0. - [Commits](golang/sys@v0.41.0...v0.42.0) --- updated-dependencies: - dependency-name: golang.org/x/sys dependency-version: 0.42.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
dependabot
Bot
requested review from
QuantumExplorer and
lklimek
as code owners
March 10, 2026 16:33
Collaborator
Dependency Security Review:
|
| Field | Value |
|---|---|
| Package | golang.org/x/sys |
| Old version | v0.41.0 |
| New version | v0.42.0 |
| Commits | 7 |
| Files changed | 16 (457 additions, 239 deletions) |
| Nature | Bug fixes, platform feature additions, Go version bump |
| Files in this PR | go.mod, go.sum only |
Upstream Changes (v0.41.0 → v0.42.0)
- Go directive upgrade — minimum Go version bumped to 1.25.0 (generated)
- Darwin ARM64 CPU detection — new sysctl-based feature detection for Apple M-series processors, replacing minimal defaults
- CPU init refactor —
archInit()now callsdoinit()for all non-FreeBSD platforms instead ofsetMinimalFeatures() - Linux netlink structs — added
PrefixmsgandPrefixCacheinfofor RTM_NEWPREFIX message parsing - Windows registry fix — corrected
KeyInfo.ModTimecalculation for timestamps before 1677 (underflow fix) - Windows Signal alias —
Signalnow aliasessyscall.Signalforsignal.Notify()compatibility - Plan9 Note alias —
Notenow aliasessyscall.Note
Known Vulnerabilities
| Advisory | Severity | Affected Versions | Impacts v0.42.0? |
|---|---|---|---|
| GHSA-p782-xgp4-8hr8 | Medium | < 0.0.0-20220412211240-33da011f77ad | No — patched long before v0.41.0 |
- OSV.dev: No vulnerabilities reported for v0.42.0
- GitHub Advisory Database: No active advisories affecting this version
Library Audit Findings
| Severity | Finding | Location | Notes |
|---|---|---|---|
| INFO | New syscall usage via sysctlbyname trampoline |
cpu/syscall_darwin_arm64_gc.go, cpu/asm_darwin_arm64_gc.s |
Standard pattern for Darwin sysctl calls; uses unsafe.Pointer but follows established Go runtime conventions. No user-controlled input. |
| INFO | Type aliasing changes | windows/syscall_windows.go, plan9/syscall_plan9.go |
Signal/Note types changed to aliases of syscall.* — improves interoperability, no security impact |
No CRITICAL, HIGH, MEDIUM, or LOW findings.
Codebase Impact Assessment
- Direct usage:
golang.org/x/sys/unixis imported inlibs/os/perms.goforunix.Access()and access flag constants (W_OK,X_OK,R_OK) - APIs used: Only
unix.Access()and permission constants — none of these are touched by the v0.42.0 changes - No deprecated or insecure APIs in use
- No configuration or credential handling through this dependency
- The changes in v0.42.0 (Darwin ARM64 CPU detection, Windows registry, Linux netlink structs) are entirely orthogonal to the codebase's usage
Risk Assessment
Overall: Safe
- This is a standard Go official sub-repository maintained by the Go team
- All changes are platform-specific feature additions and bug fixes
- No security fixes, no breaking changes, no API modifications affecting our usage
- Zero known vulnerabilities for v0.42.0
- CI: 15/15 checks passed
Recommendation
Approve and merge. No action items for the codebase.
🤖 Co-authored by Claudius the Magnificent AI Agent
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps golang.org/x/sys from 0.41.0 to 0.42.0.
Commits
eaaaaeewindows/registry: correct KeyInfo.ModTime calculation942780bcpu: darwin/arm64 feature detectionacef388unix/linux: Prefixmsg and PrefixCacheinfo structs3687fbdcpu: better defaults on darwin ARM6448062e9plan9: change Note to alias syscall.Note4f23f80windows: change Signal to alias syscall.Signal7548802all: upgrade go directive to at least 1.25.0 [generated]Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)