Verified Commit bd04ed70 authored by jD91mZM2's avatar jD91mZM2

Update redox_syscall

parent 462e722f
......@@ -14,6 +14,5 @@ log = "0.4.8"
[target.'cfg(target_os = "linux")'.dependencies]
libc = "0.2.62"
[target.'cfg(target_os = "redox")'.dependencies]
# redox_syscall = { git = "https://gitlab.redox-os.org/redox-os/syscall" }
redox_syscall = { git = "https://gitlab.redox-os.org/jD91mZM2/syscall", branch = "ptrace-fexec" }
redox_syscall = { git = "https://gitlab.redox-os.org/redox-os/syscall.git" }
strace = { git = "https://gitlab.redox-os.org/redox-os/strace-redox" }
......@@ -75,7 +75,7 @@ impl Os {
let mut tracer = self.tracer.borrow_mut();
match tracer.next(flags | Flags::STOP_BREAKPOINT) {
Ok(event) => {
Ok(_event) => {
// Just pretend ptrace SIGSTOP:ped this
let status = (SIGSTOP << 8) | 0x7f;
assert!(syscall::wifstopped(status));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment