prev_sched = current->thread.prev_sched;
if((prev_sched->exit_state == EXIT_ZOMBIE) ||
(prev_sched->exit_state == EXIT_DEAD))
- os_kill_ptraced_process(prev_sched->thread.mode.tt.extern_pid, 1);
+ os_kill_process(prev_sched->thread.mode.tt.extern_pid, 1);
/* This works around a nasty race with 'jail'. If we are switching
* between two threads of a threaded app and the incoming process
change_sig(SIGUSR1, 0);
err = 0;
+ out:
return(err);
}
-err);
}
+int singlestepping_tt(void *t)
+{
+ struct task_struct *task = t;
+
+ if(task->thread.mode.tt.singlestep_syscall)
+ return(0);
+ return(task->ptrace & PT_DTRACE);
+}
+
+void clear_singlestep(void *t)
+{
+ struct task_struct *task = t;
+
+ task->ptrace &= ~PT_DTRACE;
+}
+
int start_uml_tt(void)
{
void *sp;