Skip to content

Commit 1ac59c3

Browse files
committed
Add PTRACE_SET_SYSCALL_INFO constant
1 parent a44a76e commit 1ac59c3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

libc-test/semver/linux-gnu.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ PR_SET_VMA_ANON_NAME
345345
PTHREAD_MUTEX_ADAPTIVE_NP
346346
PTRACE_GET_SYSCALL_INFO
347347
PTRACE_GET_SYSCALL_USER_DISPATCH_CONFIG
348+
PTRACE_SET_SYSCALL_INFO
348349
PTRACE_SET_SYSCALL_USER_DISPATCH_CONFIG
349350
PTRACE_SYSCALL_INFO_ENTRY
350351
PTRACE_SYSCALL_INFO_EXIT

src/unix/linux_like/linux/gnu/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,7 @@ pub const PTRACE_PEEKSIGINFO: c_uint = 0x4209;
748748
pub const PTRACE_GETSIGMASK: c_uint = 0x420a;
749749
pub const PTRACE_SETSIGMASK: c_uint = 0x420b;
750750
pub const PTRACE_GET_SYSCALL_INFO: c_uint = 0x420e;
751+
pub const PTRACE_SET_SYSCALL_INFO: c_uint = 0x4212;
751752
pub const PTRACE_SYSCALL_INFO_NONE: crate::__u8 = 0;
752753
pub const PTRACE_SYSCALL_INFO_ENTRY: crate::__u8 = 1;
753754
pub const PTRACE_SYSCALL_INFO_EXIT: crate::__u8 = 2;

0 commit comments

Comments
 (0)