diff options
author | Emil Engler <me@emilengler.com> | 2023-05-11 15:08:02 +0200 |
---|---|---|
committer | Emil Engler <me@emilengler.com> | 2023-05-11 15:08:02 +0200 |
commit | cef96faf8ded9534b705d0bf9b865217fd3298cb (patch) | |
tree | 2cbd26bc5acd7c93bcc2130dd5388cfd8ec84ad3 | |
parent | 7f4cca7063dc95338759f537bf3a4fe503b58712 (diff) | |
download | rust-libc-cef96faf8ded9534b705d0bf9b865217fd3298cb.tar.gz |
powerpc-musl: support the PTRACE_SYSEMU family
-rw-r--r-- | src/unix/linux_like/linux/musl/b32/powerpc.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/unix/linux_like/linux/musl/b32/powerpc.rs b/src/unix/linux_like/linux/musl/b32/powerpc.rs index 3b998329bb..b1669ade7f 100644 --- a/src/unix/linux_like/linux/musl/b32/powerpc.rs +++ b/src/unix/linux_like/linux/musl/b32/powerpc.rs @@ -257,6 +257,9 @@ pub const MAP_STACK: ::c_int = 0x020000; pub const MAP_HUGETLB: ::c_int = 0x040000; pub const MAP_SYNC: ::c_int = 0x080000; +pub const PTRACE_SYSEMU: ::c_int = 0x1d; +pub const PTRACE_SYSEMU_SINGLESTEP: ::c_int = 0x1e; + pub const SOCK_STREAM: ::c_int = 1; pub const SOCK_DGRAM: ::c_int = 2; pub const SOCK_SEQPACKET: ::c_int = 5; |