• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/kernel/

Lines Matching refs:child

29  * does not yet catch signals sent when the child dies.
59 static void ptrace_disable_singlestep(struct task_struct *child)
61 clear_tsk_thread_flag(child, TIF_SINGLESTEP);
70 if (child->thread.ubc_pc != 0) {
72 child->thread.ubc_pc = 0;
81 void ptrace_disable(struct task_struct *child)
83 ptrace_disable_singlestep(child);
86 long arch_ptrace(struct task_struct *child, long request, long addr, long data)
98 copied = access_process_vm(child, addr, &tmp, sizeof(tmp), 0);
116 tmp = get_stack_long(child, addr);
119 if (!tsk_used_math(child)) {
125 tmp = ((long *)&child->thread.fpu)
128 tmp = !!tsk_used_math(child);
139 if (access_process_vm(child, addr, &data, sizeof(data), 1) == sizeof(data))
151 ret = put_stack_long(child, addr, data);
154 set_stopped_child_used_math(child);
155 ((long *)&child->thread.fpu)
159 conditional_stopped_child_used_math(data, child);
170 set_tsk_thread_flag(child, TIF_SYSCALL_TRACE);
172 clear_tsk_thread_flag(child, TIF_SYSCALL_TRACE);
174 ptrace_disable_singlestep(child);
176 child->exit_code = data;
177 wake_up_process(child);
183 * make the child exit. Best I can do is send it a sigkill.
189 if (child->exit_state == EXIT_ZOMBIE) /* already dead */
191 ptrace_disable_singlestep(child);
192 child->exit_code = SIGKILL;
193 wake_up_process(child);
204 clear_tsk_thread_flag(child, TIF_SYSCALL_TRACE);
205 if ((child->ptrace & PT_DTRACE) == 0) {
207 child->ptrace |= PT_DTRACE;
210 pc = get_stack_long(child, (long)&dummy->pc);
213 if (child->thread.ubc_pc == 0)
215 child->thread.ubc_pc = pc;
217 set_tsk_thread_flag(child, TIF_SINGLESTEP);
218 child->exit_code = data;
220 wake_up_process(child);
226 ret = ptrace_detach(child, data);
234 dp = ((unsigned long) child) + THREAD_SIZE -
248 dp = ((unsigned long) child) + THREAD_SIZE -
259 ret = ptrace_request(child, request, addr, data);