support PTRACE_DETACH.

change getppid() to use proc->ftn->ppid_parent->pid, for ptraced process.

refs #280
This commit is contained in:
Susumu Komae
2015-01-08 12:39:52 +09:00
committed by postpeta
parent 74f0aec478
commit d46110b4d9
2 changed files with 98 additions and 4 deletions

View File

@ -16,6 +16,7 @@
#include <types.h>
#define RFLAGS_TF (1 << 8)
#define RFLAGS_IF (1 << 9)
#define MSR_EFER 0xc0000080