summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-07-31 16:52:15 -0700
committerGitHub <noreply@github.com>2016-07-31 16:52:15 -0700
commit670f0b306024176512e7590c77cf8c0fd9786a32 (patch)
tree4daff0d8af5988e8fccb171b3178de5d8439a4ef
parent932f22be4e9f25115ee9ba84047a3afd5899ff91 (diff)
parent9f977e135dcd2128aa48f35eb852f6a668ad569f (diff)
downloadrust-libc-670f0b306024176512e7590c77cf8c0fd9786a32.tar.gz
Merge pull request #343 from valarauca/master
Added Ptrace option parameters
-rw-r--r--src/unix/notbsd/linux/musl/mod.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/unix/notbsd/linux/musl/mod.rs b/src/unix/notbsd/linux/musl/mod.rs
index 0056721883..78c9c824dc 100644
--- a/src/unix/notbsd/linux/musl/mod.rs
+++ b/src/unix/notbsd/linux/musl/mod.rs
@@ -138,6 +138,16 @@ pub const PTRACE_INTERRUPT: ::c_int = 0x4207;
pub const PTRACE_LISTEN: ::c_int = 0x4208;
pub const PTRACE_PEEKSIGINFO: ::c_int = 0x4209;
+pub const PTRACE_O_EXITKILL: ::c_int = 1048576;
+pub const PTRACE_O_TRACECLONE: ::c_int = 8;
+pub const PTRACE_O_TRACEEXEC: ::c_int = 16;
+pub const PTRACE_O_TRACEEXIT: ::c_int = 64;
+pub const PTRACE_O_TRACEFORK: ::c_int = 2;
+pub const PTRACE_O_TRACESYSGOOD: ::c_int = 1;
+pub const PTRACE_O_TRACEVFORK: ::c_int = 4;
+pub const PTRACE_O_TRACEVFORKDONE: ::c_int = 32;
+pub const PTRACE_O_SUSPEND_SECCOMP: ::c_int = 2097152;
+
pub const MADV_DODUMP: ::c_int = 17;
pub const MADV_DONTDUMP: ::c_int = 16;