Skip to content

linux: change PTRACE_*ET_SYSCALL_USER_DISPATCH_CONFIG type to c_uint#4936

Merged
tgross35 merged 1 commit intorust-lang:mainfrom
Marcondiro:fix_4935
Jan 29, 2026
Merged

linux: change PTRACE_*ET_SYSCALL_USER_DISPATCH_CONFIG type to c_uint#4936
tgross35 merged 1 commit intorust-lang:mainfrom
Marcondiro:fix_4935

Conversation

@Marcondiro
Copy link
Contributor

@Marcondiro Marcondiro commented Jan 22, 2026

Description

fixes #4935 by changing PTRACE_GET_SYSCALL_USER_DISPATCH_CONFIG and PTRACE_SET_SYSCALL_USER_DISPATCH_CONFIG type to c_uint.

This is a breaking change.

Sources

https://github.com/torvalds/linux/blob/a66191c590b3b58eaff05d2277971f854772bd5b/include/uapi/linux/ptrace.h#L118-L119

Checklist

  • Relevant tests in libc-test/semver have been updated
  • No placeholder or unstable values like *LAST or *MAX are
    included (see #3131)
  • Tested locally (cd libc-test && cargo test --target mytarget);
    especially relevant for platforms that may not be checked in CI

Copy link
Member

@JohnTitor JohnTitor left a comment

Choose a reason for hiding this comment

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

Good call, thanks!

@JohnTitor JohnTitor added this pull request to the merge queue Jan 29, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 29, 2026
@tgross35 tgross35 changed the title fix 4935: change PTRACE_*ET_SYSCALL_USER_DISPATCH_CONFIG type to c_uint linux: change PTRACE_*ET_SYSCALL_USER_DISPATCH_CONFIG type to c_uint Jan 29, 2026
@tgross35 tgross35 added this pull request to the merge queue Jan 29, 2026
Merged via the queue into rust-lang:main with commit f6215b8 Jan 29, 2026
50 of 51 checks passed
@tgross35 tgross35 added the stable-declined This change is breaking, difficult to backport, low priority, or otherwise not relevant for 0.2 label Feb 9, 2026
@tgross35
Copy link
Contributor

tgross35 commented Feb 9, 2026

Marking stable-declined since this is breaking

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

O-gnu O-linux O-unix stable-declined This change is breaking, difficult to backport, low priority, or otherwise not relevant for 0.2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

linux PTRACE_*ET_SYSCALL_USER_DISPATCH_CONFIG have wrong type

4 participants