Skip to content

Commit d5a599e

Browse files
committed
Auto merge of #1393 - Susurrus:ptrace_detach, r=gnzlbg
Re-add PTRACE_DETACH for mips64 GNU targets During the refactor in 4bd419e, `PTRACE_DETACH` was accidentally removed on these targets. This re-adds it. Fixes brokenness encountered during nix-rust/nix#1035 CC @asomers
2 parents 635ced1 + 1f27f5d commit d5a599e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/linux_like/linux/gnu/b64/mips64.rs

+1
Original file line numberDiff line numberDiff line change
@@ -831,6 +831,7 @@ pub const TCSAFLUSH: ::c_int = 0x5410;
831831

832832
pub const PTRACE_GETFPREGS: ::c_uint = 14;
833833
pub const PTRACE_SETFPREGS: ::c_uint = 15;
834+
pub const PTRACE_DETACH: ::c_uint = 17;
834835
pub const PTRACE_GETFPXREGS: ::c_uint = 18;
835836
pub const PTRACE_SETFPXREGS: ::c_uint = 19;
836837
pub const PTRACE_GETREGS: ::c_uint = 12;

0 commit comments

Comments
 (0)