Skip to content

Commit 7f4cca7

Browse files
committed
x86-musl: support the PTRACE_SYSEMU family
1 parent e2e202c commit 7f4cca7

File tree

1 file changed

+3
-0
lines changed
  • src/unix/linux_like/linux/musl/b32/x86

1 file changed

+3
-0
lines changed

src/unix/linux_like/linux/musl/b32/x86/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,9 @@ pub const FLUSHO: ::tcflag_t = 0x00001000;
456456
pub const POLLWRNORM: ::c_short = 0x100;
457457
pub const POLLWRBAND: ::c_short = 0x200;
458458

459+
pub const PTRACE_SYSEMU: ::c_int = 31;
460+
pub const PTRACE_SYSEMU_SINGLESTEP: ::c_int = 32;
461+
459462
// Syscall table
460463
pub const SYS_restart_syscall: ::c_long = 0;
461464
pub const SYS_exit: ::c_long = 1;

0 commit comments

Comments
 (0)