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

Lines Matching refs:child

29  * does not yet catch signals sent when the child dies.
94 void ptrace_disable(struct task_struct *child)
98 tmp = get_reg(child, PT_SR) & ~(TRACE_BITS << 16);
99 put_reg(child, PT_SR, tmp);
102 long arch_ptrace(struct task_struct *child, long request, long addr, long data)
113 copied = access_process_vm(child, addr, &tmp, sizeof(tmp), 0);
134 tmp = get_reg(child, addr);
138 tmp = child->thread.fp[addr - 21];
148 tmp = child->mm->start_code;
150 tmp = child->mm->start_data;
152 tmp = child->mm->end_code;
163 if (access_process_vm(child, addr, &data, sizeof(data), 1) == sizeof(data))
179 data |= get_reg(child, PT_SR) & ~(SR_MASK << 16);
182 if (put_reg(child, addr, data))
199 child->thread.fp[addr - 21] = data;
212 set_tsk_thread_flag(child, TIF_SYSCALL_TRACE);
214 clear_tsk_thread_flag(child, TIF_SYSCALL_TRACE);
215 child->exit_code = data;
217 tmp = get_reg(child, PT_SR) & ~(TRACE_BITS << 16);
218 put_reg(child, PT_SR, tmp);
219 wake_up_process(child);
225 * make the child exit. Best I can do is send it a sigkill.
233 if (child->exit_state == EXIT_ZOMBIE) /* already dead */
235 child->exit_code = SIGKILL;
237 tmp = get_reg(child, PT_SR) & ~(TRACE_BITS << 16);
238 put_reg(child, PT_SR, tmp);
239 wake_up_process(child);
249 clear_tsk_thread_flag(child, TIF_SYSCALL_TRACE);
250 tmp = get_reg(child, PT_SR) | (TRACE_BITS << 16);
251 put_reg(child, PT_SR, tmp);
253 child->exit_code = data;
255 wake_up_process(child);
261 ret = ptrace_detach(child, data);
264 case PTRACE_GETREGS: { /* Get all gp regs from the child. */
268 tmp = get_reg(child, i);
281 case PTRACE_SETREGS: { /* Set all gp regs in the child. */
292 tmp |= get_reg(child, PT_SR) & ~(SR_MASK << 16);
294 put_reg(child, i, tmp);
302 case PTRACE_GETFPREGS: { /* Get the child FPU state. */
304 if (copy_to_user((void *)data, &child->thread.fp,
312 case PTRACE_SETFPREGS: { /* Set the child FPU state. */
314 if (copy_from_user(&child->thread.fp, (void *)data,