Home
last modified time | relevance | path

Searched refs:PT_PTRACED (Results 1 – 25 of 63) sorted by relevance

123

/linux-2.4.37.9/arch/cris/kernel/
Dptrace.c112 if (current->ptrace & PT_PTRACED) in sys_ptrace()
115 current->ptrace |= PT_PTRACED; in sys_ptrace()
135 if (!(child->ptrace & PT_PTRACED)) in sys_ptrace()
294 if ((current->ptrace & (PT_PTRACED | PT_TRACESYS)) != in syscall_trace()
295 (PT_PTRACED | PT_TRACESYS)) in syscall_trace()
/linux-2.4.37.9/arch/sh64/kernel/
Dptrace.c130 if (current->ptrace & PT_PTRACED) in sys_ptrace()
133 current->ptrace |= PT_PTRACED; in sys_ptrace()
155 if (!(child->ptrace & PT_PTRACED)) in sys_ptrace()
322 if ((tsk->ptrace & (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
323 != (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
/linux-2.4.37.9/arch/mips/kernel/
Dptrace.c55 if (current->ptrace & PT_PTRACED) { in sys_ptrace()
60 current->ptrace |= PT_PTRACED; in sys_ptrace()
289 if ((current->ptrace & (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
290 != (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
/linux-2.4.37.9/arch/mips64/kernel/
Dptrace.c57 if (current->ptrace & PT_PTRACED) in sys32_ptrace()
60 current->ptrace |= PT_PTRACED; in sys32_ptrace()
301 if (current->ptrace & PT_PTRACED) in sys_ptrace()
304 current->ptrace |= PT_PTRACED; in sys_ptrace()
510 if ((current->ptrace & (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
511 != (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
/linux-2.4.37.9/arch/sh/kernel/
Dptrace.c152 if (current->ptrace & PT_PTRACED) in sys_ptrace()
155 current->ptrace |= PT_PTRACED; in sys_ptrace()
177 if (!(child->ptrace & PT_PTRACED)) in sys_ptrace()
399 if ((tsk->ptrace & (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
400 != (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
/linux-2.4.37.9/arch/s390/kernel/
Dptrace.c229 if (current->ptrace & PT_PTRACED) in sys_ptrace()
232 current->ptrace |= PT_PTRACED; in sys_ptrace()
258 if (!(child->ptrace & PT_PTRACED)) in sys_ptrace()
365 if ((current->ptrace & (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
366 != (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
/linux-2.4.37.9/arch/parisc/kernel/
Dptrace.c102 if (current->ptrace & PT_PTRACED) in sys_ptrace()
105 current->ptrace |= PT_PTRACED; in sys_ptrace()
127 if (!(child->ptrace & PT_PTRACED)) in sys_ptrace()
410 if ((current->ptrace & (PT_PTRACED|PT_TRACESYS)) != in syscall_trace()
411 (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
/linux-2.4.37.9/arch/alpha/kernel/
Dptrace.c261 if (current->ptrace & PT_PTRACED) in sys_ptrace()
264 current->ptrace |= PT_PTRACED; in sys_ptrace()
283 if (!(child->ptrace & PT_PTRACED)) { in sys_ptrace()
395 if ((current->ptrace & (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
396 != (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
/linux-2.4.37.9/arch/ppc/kernel/
Dptrace.c178 if (current->ptrace & PT_PTRACED) in sys_ptrace()
181 current->ptrace |= PT_PTRACED; in sys_ptrace()
366 if ((current->ptrace & (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
367 != (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
/linux-2.4.37.9/arch/ppc64/kernel/
Dptrace.c127 if (current->ptrace & PT_PTRACED) in sys_ptrace()
130 current->ptrace |= PT_PTRACED; in sys_ptrace()
372 if ((current->ptrace & (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
373 != (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
Dptrace32.c128 if (current->ptrace & PT_PTRACED) in sys32_ptrace()
131 current->ptrace |= PT_PTRACED; in sys32_ptrace()
/linux-2.4.37.9/arch/m68k/kernel/
Dptrace.c112 if (current->ptrace & PT_PTRACED) in sys_ptrace()
115 current->ptrace |= PT_PTRACED; in sys_ptrace()
359 if ((current->ptrace & (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
360 != (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
/linux-2.4.37.9/kernel/
Dptrace.c25 if (!(child->ptrace & PT_PTRACED)) in ptrace_check_attach()
77 if (task->ptrace & PT_PTRACED) in ptrace_attach()
81 task->ptrace |= PT_PTRACED; in ptrace_attach()
Dsignal.c397 if ((t->ptrace & PT_PTRACED) || sigismember(&t->blocked, sig)) in ignored_signal()
415 ((t->ptrace & (PT_PTRACED|PT_TRACESYS)) == in handle_stop_signal()
416 (PT_PTRACED|PT_TRACESYS))) in handle_stop_signal()
800 if (tsk->ptrace & PT_PTRACED) in do_notify_parent()
/linux-2.4.37.9/arch/i386/kernel/
Dptrace.c160 if (current->ptrace & PT_PTRACED) in sys_ptrace()
163 current->ptrace |= PT_PTRACED; in sys_ptrace()
435 if ((current->ptrace & (PT_PTRACED|PT_TRACESYS)) != in syscall_trace()
436 (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
/linux-2.4.37.9/arch/x86_64/kernel/
Dptrace.c189 if (current->ptrace & PT_PTRACED) in sys_ptrace()
192 current->ptrace |= PT_PTRACED; in sys_ptrace()
444 if ((current->ptrace & (PT_PTRACED|PT_TRACESYS)) != in syscall_trace()
445 (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
Dtraps.c428 if (exception_trace && !(tsk->ptrace & PT_PTRACED) && in do_trap()
517 if (exception_trace && !(tsk->ptrace & PT_PTRACED) && in do_general_protection()
654 if ((tsk->ptrace & (PT_DTRACE|PT_PTRACED)) == PT_DTRACE) in do_debug()
/linux-2.4.37.9/arch/s390x/kernel/
Dptrace.c438 if (current->ptrace & PT_PTRACED) in sys_ptrace()
441 current->ptrace |= PT_PTRACED; in sys_ptrace()
467 if (!(child->ptrace & PT_PTRACED)) in sys_ptrace()
598 if ((current->ptrace & (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
599 != (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
/linux-2.4.37.9/arch/arm/kernel/
Dptrace.c703 if (current->ptrace & PT_PTRACED) in sys_ptrace()
706 current->ptrace |= PT_PTRACED; in sys_ptrace()
728 if (!(child->ptrace & PT_PTRACED)) in sys_ptrace()
748 if ((current->ptrace & (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
749 != (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
/linux-2.4.37.9/arch/sparc/kernel/
Dptrace.c286 if (current->ptrace & PT_PTRACED) { in do_ptrace()
291 current->ptrace |= PT_PTRACED; in do_ptrace()
322 if (!(child->ptrace & PT_PTRACED)) { in do_ptrace()
600 if ((current->ptrace & (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
601 != (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
/linux-2.4.37.9/arch/sparc64/kernel/
Dptrace.c137 if (current->ptrace & PT_PTRACED) { in do_ptrace()
142 current->ptrace |= PT_PTRACED; in do_ptrace()
173 if (!(child->ptrace & PT_PTRACED)) { in do_ptrace()
608 if ((current->ptrace & (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
609 != (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
/linux-2.4.37.9/arch/ia64/kernel/
Dptrace.c1281 if (current->ptrace & PT_PTRACED) in sys_ptrace()
1283 current->ptrace |= PT_PTRACED; in sys_ptrace()
1461 if ((current->ptrace & (PT_PTRACED|PT_TRACESYS)) != (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
/linux-2.4.37.9/arch/ia64/tools/
Dprint_offsets.c206 printf ("#define PT_PTRACED_BIT\t\t\t%u\n", ffs (PT_PTRACED) - 1); in main()
/linux-2.4.37.9/arch/x86_64/mm/
Dfault.c321 if (exception_trace && !(tsk->ptrace & PT_PTRACED) && in do_page_fault()
/linux-2.4.37.9/fs/
Dbinfmt_som.c272 if (current->ptrace & PT_PTRACED) in do_load_som_binary()

123