Skip to content

Bump golang.org/x/sys from 0.45.0 to 0.46.0#90

Merged
dongjiang1989 merged 1 commit into
masterfrom
dependabot/go_modules/golang.org/x/sys-0.46.0
Jun 9, 2026
Merged

Bump golang.org/x/sys from 0.45.0 to 0.46.0#90
dongjiang1989 merged 1 commit into
masterfrom
dependabot/go_modules/golang.org/x/sys-0.46.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 8, 2026

Copy link
Copy Markdown
Contributor

Bumps golang.org/x/sys from 0.45.0 to 0.46.0.

Commits

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by CodeRabbit

  • Chores
    • Updated golang.org/x/sys dependency from v0.45.0 to v0.46.0.
    • Added GPIO v2 ioctl constants and data structures across supported Linux architectures.

Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.45.0 to 0.46.0.
- [Commits](golang/sys@v0.45.0...v0.46.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-version: 0.46.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jun 8, 2026
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@coderabbitai

coderabbitai Bot commented Jun 8, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 59c40ba8-cf8e-4aed-9a28-6380fedf92f6

📥 Commits

Reviewing files that changed from the base of the PR and between e19d247 and 8f89d40.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (18)
  • go.mod
  • vendor/golang.org/x/sys/unix/ztypes_linux.go
  • vendor/golang.org/x/sys/unix/ztypes_linux_386.go
  • vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go
  • vendor/golang.org/x/sys/unix/ztypes_linux_arm.go
  • vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go
  • vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go
  • vendor/golang.org/x/sys/unix/ztypes_linux_mips.go
  • vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go
  • vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go
  • vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go
  • vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go
  • vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go
  • vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go
  • vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go
  • vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go
  • vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go
  • vendor/modules.txt

📝 Walkthrough

Walkthrough

This pull request updates the vendored golang.org/x/sys Go module from v0.45.0 to v0.46.0. The update introduces comprehensive GPIO v2 character device kernel ABI definitions on Linux: ioctl command IDs, line configuration attributes, event classification constants, and struct types for kernel-userspace data exchange, with architecture-specific ioctl value variants.

Changes

GPIO v2 Kernel ABI Support

Layer / File(s) Summary
Dependency version update
go.mod, vendor/modules.txt
Module reference updated from v0.45.0 to v0.46.0.
GPIO v2 ioctl constants and struct types
vendor/golang.org/x/sys/unix/ztypes_linux.go
Added GPIO v2 ioctl command IDs (GPIO_V2_GET_LINEINFO_IOCTL, GPIO_V2_GET_LINE_IOCTL, GPIO_V2_LINE_GET_VALUES_IOCTL, GPIO_V2_LINE_SET_VALUES_IOCTL, GPIO_GET_LINEINFO_UNWATCH_IOCTL), attribute ID constants (GPIO_V2_LINE_ATTR_ID_FLAGS, GPIO_V2_LINE_ATTR_ID_OUTPUT_VALUES, GPIO_V2_LINE_ATTR_ID_DEBOUNCE), line change type constants (GPIO_V2_LINE_CHANGED_REQUESTED, GPIO_V2_LINE_CHANGED_RELEASED, GPIO_V2_LINE_CHANGED_CONFIG), edge event constants (GPIO_V2_LINE_EVENT_RISING_EDGE, GPIO_V2_LINE_EVENT_FALLING_EDGE), and struct types GPIOChipInfo, GPIOV2LineValues, GPIOV2LineAttribute, GPIOV2LineConfigAttribute, GPIOV2LineConfig, GPIOV2LineRequest, GPIOV2LineInfo, GPIOV2LineInfoChanged, and GPIOV2LineEvent.
Architecture-specific GPIO_GET_CHIPINFO_IOCTL
vendor/golang.org/x/sys/unix/ztypes_linux_*.go
Added GPIO_GET_CHIPINFO_IOCTL constant to 14 Linux architecture variants (386, amd64, arm, arm64, loong64, mips, mips64, mips64le, mipsle, ppc, ppc64, ppc64le, riscv64, s390x, sparc64) with architecture-appropriate ioctl values (0x8044b401 for x86/ARM/s390x targets; 0x4044b401 for MIPS/PowerPC/SPARC64 targets).

🐰 A hop through the vendor gate,
GPIO v2 types now await,
Fourteen architectures aligned,
Kernel ABI redesigned!
Linux GPIO dreams take flight,
Syscalls shimmer in the light.

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title accurately summarizes the main change: updating the golang.org/x/sys dependency from version 0.45.0 to 0.46.0, which is the primary purpose of the entire changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/go_modules/golang.org/x/sys-0.46.0

Comment @coderabbitai help to get the list of available commands and usage tips.

@dongjiang1989 dongjiang1989 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dongjiang1989 dongjiang1989 merged commit 42ebf99 into master Jun 9, 2026
3 of 4 checks passed
@dependabot dependabot Bot deleted the dependabot/go_modules/golang.org/x/sys-0.46.0 branch June 9, 2026 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants