support PTRACE_O_TRACEFORK, PTRACE_O_TRACEVFORK, PTRACE_O_TRACEVFORKDONE.
to start with a SIGSTOP, do not set proc->ftn->status to PS_RUNNING in __runq_add_proc(). change vfork() set CLONE_VFORK. refs #266 refs #267 refs #372 support PTRACE_GETEVENTMSG. to store ptrace event, add 'unsigned long ptrace_eventmsg;' member in struct fork_tree_node. refs #273
This commit is contained in:
@@ -528,6 +528,7 @@ static int syscall_packet_handler(struct ihk_ikc_channel_desc *c,
|
||||
proc = (struct process *)packet->arg;
|
||||
|
||||
settid(proc, 0, ihk_mc_get_processor_id(), -1);
|
||||
proc->ftn->status = PS_RUNNING;
|
||||
runq_add_proc(proc, ihk_mc_get_processor_id());
|
||||
|
||||
//cpu_local_var(next) = (struct process *)packet->arg;
|
||||
|
||||
Reference in New Issue
Block a user