Add PTRACE_SET_SYSCALL_INFO constant by Marcondiro · Pull Request #4933 · rust-lang/libc (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@Marcondiro

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

@Marcondiro

JohnTitor

Choose a reason for hiding this comment

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

Thanks!

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

@Marcondiro @tgross35

@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

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

[ Show hidden characters]({{ revealButtonHref }})

Labels