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

Lines Matching refs:child

39  * does not yet catch signals sent when the child dies.
46 struct task_struct *child;
55 child = ptrace_get_task_struct(pid);
56 if (IS_ERR(child)) {
57 ret = PTR_ERR(child);
62 ret = ptrace_attach(child);
66 ret = ptrace_check_attach(child, request == PTRACE_KILL);
77 copied = access_process_vm(child, addr, &tmp, sizeof(tmp), 0);
106 copied = access_process_vm(child, (u64)addrOthers, &tmp,
126 tmp = get_reg(child, index);
128 flush_fp_to_thread(child);
134 tmp = ((unsigned int *)child->thread.fpr)[index - PT_FPR0];
170 flush_fp_to_thread(child);
171 tmp = ((unsigned long int *)child->thread.fpr)[numReg - PT_FPR0];
173 tmp = get_reg(child, numReg);
186 if (access_process_vm(child, addr, &tmp, sizeof(tmp), 1)
212 if (access_process_vm(child, (u64)addrOthers, &tmp,
232 ret = put_reg(child, index, data);
234 flush_fp_to_thread(child);
240 ((unsigned int *)child->thread.fpr)[index - PT_FPR0] = data;
272 flush_fp_to_thread(child);
276 | (child->thread.regs->msr & ~MSR_DEBUGCHANGE);
277 ((u32*)child->thread.regs)[index] = data;
288 set_tsk_thread_flag(child, TIF_SYSCALL_TRACE);
290 clear_tsk_thread_flag(child, TIF_SYSCALL_TRACE);
291 child->exit_code = data;
293 clear_single_step(child);
294 wake_up_process(child);
300 * make the child exit. Best I can do is send it a sigkill.
306 if (child->exit_state == EXIT_ZOMBIE) /* already dead */
308 child->exit_code = SIGKILL;
310 clear_single_step(child);
311 wake_up_process(child);
319 clear_tsk_thread_flag(child, TIF_SYSCALL_TRACE);
320 set_single_step(child);
321 child->exit_code = data;
323 wake_up_process(child);
333 ret = put_user(child->thread.dabr, (u32 __user *)data);
338 ret = ptrace_set_debugreg(child, addr, data);
342 ret = ptrace_detach(child, data);
347 unsigned long *reg = &((unsigned long *)child->thread.regs)[0];
362 unsigned long *reg = &((unsigned long *)child->thread.regs)[0];
377 unsigned long *reg = &((unsigned long *)child->thread.fpr)[0];
380 flush_fp_to_thread(child);
394 unsigned long *reg = &((unsigned long *)child->thread.fpr)[0];
397 flush_fp_to_thread(child);
410 ret = put_user(child->ptrace_message, (unsigned int __user *) data);
415 /* Get the child altivec register state. */
416 flush_altivec_to_thread(child);
417 ret = get_vrregs((unsigned long __user *)data, child);
421 /* Set the child altivec register state. */
422 flush_altivec_to_thread(child);
423 ret = set_vrregs(child, (unsigned long __user *)data);
428 ret = ptrace_request(child, request, addr, data);
432 put_task_struct(child);