Skip to content

Commit

Permalink
Auto merge of #1393 - Susurrus:ptrace_detach, r=gnzlbg
Browse files Browse the repository at this point in the history
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
  • Loading branch information
bors committed Jun 7, 2019
2 parents 635ced1 + 1f27f5d commit d5a599e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/unix/linux_like/linux/gnu/b64/mips64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -831,6 +831,7 @@ pub const TCSAFLUSH: ::c_int = 0x5410;

pub const PTRACE_GETFPREGS: ::c_uint = 14;
pub const PTRACE_SETFPREGS: ::c_uint = 15;
pub const PTRACE_DETACH: ::c_uint = 17;
pub const PTRACE_GETFPXREGS: ::c_uint = 18;
pub const PTRACE_SETFPXREGS: ::c_uint = 19;
pub const PTRACE_GETREGS: ::c_uint = 12;
Expand Down

0 comments on commit d5a599e

Please sign in to comment.