Skip to content

Commit 670f0b3

Browse files
authored
Merge pull request rust-lang#343 from valarauca/master
Added Ptrace option parameters
2 parents 932f22b + 9f977e1 commit 670f0b3

File tree

1 file changed

+10
-0
lines changed
  • src/unix/notbsd/linux/musl

1 file changed

+10
-0
lines changed

src/unix/notbsd/linux/musl/mod.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,16 @@ pub const PTRACE_INTERRUPT: ::c_int = 0x4207;
138138
pub const PTRACE_LISTEN: ::c_int = 0x4208;
139139
pub const PTRACE_PEEKSIGINFO: ::c_int = 0x4209;
140140

141+
pub const PTRACE_O_EXITKILL: ::c_int = 1048576;
142+
pub const PTRACE_O_TRACECLONE: ::c_int = 8;
143+
pub const PTRACE_O_TRACEEXEC: ::c_int = 16;
144+
pub const PTRACE_O_TRACEEXIT: ::c_int = 64;
145+
pub const PTRACE_O_TRACEFORK: ::c_int = 2;
146+
pub const PTRACE_O_TRACESYSGOOD: ::c_int = 1;
147+
pub const PTRACE_O_TRACEVFORK: ::c_int = 4;
148+
pub const PTRACE_O_TRACEVFORKDONE: ::c_int = 32;
149+
pub const PTRACE_O_SUSPEND_SECCOMP: ::c_int = 2097152;
150+
141151
pub const MADV_DODUMP: ::c_int = 17;
142152
pub const MADV_DONTDUMP: ::c_int = 16;
143153

0 commit comments

Comments
 (0)