Skip to content

Commit 21eb1c5

Browse files
committed
Comment out PTRACE_EVENT_STOP.
It has been added to glibc in version 2.26.
1 parent 76759d6 commit 21eb1c5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/unix/notbsd/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,8 @@ pub const PTRACE_EVENT_EXEC: ::c_int = 4;
740740
pub const PTRACE_EVENT_VFORK_DONE: ::c_int = 5;
741741
pub const PTRACE_EVENT_EXIT: ::c_int = 6;
742742
pub const PTRACE_EVENT_SECCOMP: ::c_int = 7;
743-
pub const PTRACE_EVENT_STOP: ::c_int = 128;
743+
// PTRACE_EVENT_STOP was added to glibc in 2.26
744+
// pub const PTRACE_EVENT_STOP: ::c_int = 128;
744745

745746
pub const __WNOTHREAD: ::c_int = 0x20000000;
746747
pub const __WALL: ::c_int = 0x40000000;

0 commit comments

Comments
 (0)