Skip to content

Commit bafaa4a

Browse files
committed
linux: add PTRACE_GETSIGMASK and PTRACE_SETSIGMASK
1 parent 74e81a5 commit bafaa4a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

libc-test/semver/linux.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1888,6 +1888,7 @@ PTRACE_EVENT_VFORK_DONE
18881888
PTRACE_GETEVENTMSG
18891889
PTRACE_GETREGSET
18901890
PTRACE_GETSIGINFO
1891+
PTRACE_GETSIGMASK
18911892
PTRACE_INTERRUPT
18921893
PTRACE_KILL
18931894
PTRACE_LISTEN
@@ -1913,6 +1914,7 @@ PTRACE_SEIZE
19131914
PTRACE_SETOPTIONS
19141915
PTRACE_SETREGSET
19151916
PTRACE_SETSIGINFO
1917+
PTRACE_SETSIGMASK
19161918
PTRACE_SINGLESTEP
19171919
PTRACE_SYSCALL
19181920
PTRACE_TRACEME

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -853,6 +853,8 @@ pub const PTRACE_SEIZE: ::c_uint = 0x4206;
853853
pub const PTRACE_INTERRUPT: ::c_uint = 0x4207;
854854
pub const PTRACE_LISTEN: ::c_uint = 0x4208;
855855
pub const PTRACE_PEEKSIGINFO: ::c_uint = 0x4209;
856+
pub const PTRACE_GETSIGMASK: ::c_uint = 0x420a;
857+
pub const PTRACE_SETSIGMASK: ::c_uint = 0x420b;
856858
pub const PTRACE_GET_SYSCALL_INFO: ::c_uint = 0x420e;
857859
pub const PTRACE_SYSCALL_INFO_NONE: ::__u8 = 0;
858860
pub const PTRACE_SYSCALL_INFO_ENTRY: ::__u8 = 1;

0 commit comments

Comments
 (0)