Skip to content

Add PTRACE_SET_SYSCALL_INFO constant#4933

Merged
JohnTitor merged 1 commit intorust-lang:mainfrom
Marcondiro:main
Jan 26, 2026
Merged

Add PTRACE_SET_SYSCALL_INFO constant#4933
JohnTitor merged 1 commit intorust-lang:mainfrom
Marcondiro:main

Conversation

@Marcondiro
Copy link
Contributor

@Marcondiro Marcondiro commented Jan 21, 2026

Description

Add PTRACE_SET_SYSCALL_INFO constant.

PTRACE_SET_SYSCALL_INFO is a generic ptrace API that complements
PTRACE_GET_SYSCALL_INFO by letting the ptracer modify details of
system calls the tracee is blocked in.

Linux kernel patch: https://lore.kernel.org/lkml/20250303111910.GA24170@strace.io/

Sources

ptrace.h

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

@Marcondiro Marcondiro marked this pull request as ready for review January 22, 2026 10:21
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.

Thanks!

@JohnTitor JohnTitor added this pull request to the merge queue Jan 26, 2026
@tgross35 tgross35 added the stable-nominated This PR should be considered for cherry-pick to libc's stable release branch label Jan 26, 2026
Merged via the queue into rust-lang:main with commit 0403150 Jan 26, 2026
50 of 51 checks passed
tgross35 pushed a commit to tgross35/rust-libc that referenced this pull request Feb 9, 2026
(backport <rust-lang#4933>)
(cherry picked from commit 0403150)
@tgross35 tgross35 mentioned this pull request Feb 9, 2026
github-merge-queue bot pushed a commit that referenced this pull request Feb 9, 2026
(backport <#4933>)
(cherry picked from commit 0403150)
@tgross35 tgross35 added stable-applied This PR has been cherry-picked to libc's stable release branch and removed stable-nominated This PR should be considered for cherry-pick to libc's stable release branch labels Feb 9, 2026
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-applied This PR has been cherry-picked to libc's stable release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants