Add ptrace exit breakpoint

This will let you stop at process exit and inspect it right before the
process dies.
This commit is contained in:
jD91mZM2
2019-08-15 14:23:54 +02:00
parent 070f1fa913
commit cf0a7620df
7 changed files with 16 additions and 13 deletions
-1
View File
@@ -1,6 +1,5 @@
use alloc::sync::Arc;
use core::mem;
use syscall::data::PtraceEvent;
use syscall::flag::{PTRACE_FLAG_IGNORE, PTRACE_STOP_SIGNAL, SIG_DFL, SIG_IGN, SIGCHLD, SIGCONT, SIGKILL, SIGSTOP, SIGTSTP, SIGTTIN, SIGTTOU};
use syscall::ptrace_event;