/linux-2.4.37.9/arch/sh64/kernel/ |
D | ptrace.c | 130 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() 246 child->ptrace |= PT_TRACESYS; in sys_ptrace() 248 child->ptrace &= ~PT_TRACESYS; in sys_ptrace() 275 child->ptrace &= ~PT_TRACESYS; in sys_ptrace() 276 if ((child->ptrace & PT_DTRACE) == 0) { in sys_ptrace() 278 child->ptrace |= PT_DTRACE; in sys_ptrace() 298 child->ptrace |= PT_TRACESYSGOOD; in sys_ptrace() 300 child->ptrace &= ~PT_TRACESYSGOOD; in sys_ptrace() [all …]
|
D | Makefile | 21 ptrace.o setup.o time.o sys_sh64.o semaphore.o sh_ksyms.o
|
/linux-2.4.37.9/arch/sh/kernel/ |
D | ptrace.c | 152 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() 264 child->ptrace |= PT_TRACESYS; in sys_ptrace() 266 child->ptrace &= ~PT_TRACESYS; in sys_ptrace() 297 child->ptrace &= ~PT_TRACESYS; in sys_ptrace() 298 if ((child->ptrace & PT_DTRACE) == 0) { in sys_ptrace() 300 child->ptrace |= PT_DTRACE; in sys_ptrace() 346 child->ptrace |= PT_TRACESYSGOOD; in sys_ptrace() 348 child->ptrace &= ~PT_TRACESYSGOOD; in sys_ptrace() [all …]
|
/linux-2.4.37.9/arch/mips64/kernel/ |
D | ptrace.c | 57 if (current->ptrace & PT_PTRACED) in sys32_ptrace() 60 current->ptrace |= PT_PTRACED; in sys32_ptrace() 240 child->ptrace |= PT_TRACESYS; in sys32_ptrace() 242 child->ptrace &= ~PT_TRACESYS; in sys32_ptrace() 268 child->ptrace |= PT_TRACESYSGOOD; in sys32_ptrace() 270 child->ptrace &= ~PT_TRACESYSGOOD; in sys32_ptrace() 301 if (current->ptrace & PT_PTRACED) in sys_ptrace() 304 current->ptrace |= PT_PTRACED; in sys_ptrace() 461 child->ptrace |= PT_TRACESYS; in sys_ptrace() 463 child->ptrace &= ~PT_TRACESYS; in sys_ptrace() [all …]
|
/linux-2.4.37.9/arch/parisc/kernel/ |
D | ptrace.c | 102 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() 300 child->ptrace &= ~(PT_SINGLESTEP|PT_BLOCKSTEP); in sys_ptrace() 302 child->ptrace |= PT_TRACESYS; in sys_ptrace() 304 child->ptrace &= ~PT_TRACESYS; in sys_ptrace() 325 child->ptrace &= ~(PT_TRACESYS|PT_SINGLESTEP); in sys_ptrace() 326 child->ptrace |= PT_BLOCKSTEP; in sys_ptrace() 341 child->ptrace &= ~(PT_TRACESYS|PT_BLOCKSTEP); in sys_ptrace() 342 child->ptrace |= PT_SINGLESTEP; in sys_ptrace() [all …]
|
/linux-2.4.37.9/arch/i386/kernel/ |
D | ptrace.c | 160 if (current->ptrace & PT_PTRACED) in sys_ptrace() 163 current->ptrace |= PT_PTRACED; in sys_ptrace() 281 child->ptrace |= PT_TRACESYS; in sys_ptrace() 283 child->ptrace &= ~PT_TRACESYS; in sys_ptrace() 318 child->ptrace &= ~PT_TRACESYS; in sys_ptrace() 319 if ((child->ptrace & PT_DTRACE) == 0) { in sys_ptrace() 321 child->ptrace |= PT_DTRACE; in sys_ptrace() 415 child->ptrace |= PT_TRACESYSGOOD; in sys_ptrace() 417 child->ptrace &= ~PT_TRACESYSGOOD; in sys_ptrace() 435 if ((current->ptrace & (PT_PTRACED|PT_TRACESYS)) != in syscall_trace() [all …]
|
/linux-2.4.37.9/arch/mips/kernel/ |
D | ptrace.c | 55 if (current->ptrace & PT_PTRACED) { in sys_ptrace() 60 current->ptrace |= PT_PTRACED; in sys_ptrace() 242 child->ptrace |= PT_TRACESYS; in sys_ptrace() 244 child->ptrace &= ~PT_TRACESYS; in sys_ptrace() 270 child->ptrace |= PT_TRACESYSGOOD; in sys_ptrace() 272 child->ptrace &= ~PT_TRACESYSGOOD; in sys_ptrace() 289 if ((current->ptrace & (PT_PTRACED|PT_TRACESYS)) in syscall_trace() 294 current->exit_code = SIGTRAP | ((current->ptrace & PT_TRACESYSGOOD) in syscall_trace()
|
/linux-2.4.37.9/arch/x86_64/kernel/ |
D | ptrace.c | 189 if (current->ptrace & PT_PTRACED) in sys_ptrace() 192 current->ptrace |= PT_PTRACED; in sys_ptrace() 314 child->ptrace |= PT_TRACESYS; in sys_ptrace() 316 child->ptrace &= ~PT_TRACESYS; in sys_ptrace() 352 child->ptrace &= ~PT_TRACESYS; in sys_ptrace() 353 if ((child->ptrace & PT_DTRACE) == 0) { in sys_ptrace() 355 child->ptrace |= PT_DTRACE; in sys_ptrace() 424 child->ptrace |= PT_TRACESYSGOOD; in sys_ptrace() 426 child->ptrace &= ~PT_TRACESYSGOOD; in sys_ptrace() 444 if ((current->ptrace & (PT_PTRACED|PT_TRACESYS)) != in syscall_trace() [all …]
|
/linux-2.4.37.9/arch/cris/kernel/ |
D | ptrace.c | 112 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() 206 child->ptrace |= PT_TRACESYS; in sys_ptrace() 208 child->ptrace &= ~PT_TRACESYS; in sys_ptrace() 233 child->ptrace &= ~PT_TRACESYS; in sys_ptrace() 294 if ((current->ptrace & (PT_PTRACED | PT_TRACESYS)) != in syscall_trace()
|
D | Makefile | 22 ptrace.o setup.o time.o sys_cris.o shadows.o \
|
/linux-2.4.37.9/arch/s390/kernel/ |
D | ptrace.c | 229 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() 304 child->ptrace |= PT_TRACESYS; in sys_ptrace() 306 child->ptrace &= ~PT_TRACESYS; in sys_ptrace() 333 child->ptrace &= ~PT_TRACESYS; in sys_ptrace() 365 if ((current->ptrace & (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
|
D | asm-offsets.c | 28 DEFINE(__TASK_ptrace, offsetof(struct task_struct, ptrace),); in main()
|
/linux-2.4.37.9/kernel/ |
D | ptrace.c | 25 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() 83 task->ptrace |= PT_PTRACE_CAP; in ptrace_attach() 111 child->ptrace = 0; in ptrace_detach()
|
/linux-2.4.37.9/arch/arm/kernel/ |
D | ptrace.c | 618 child->ptrace |= PT_TRACESYS; in do_ptrace() 620 child->ptrace &= ~PT_TRACESYS; in do_ptrace() 651 child->ptrace &= ~PT_TRACESYS; in do_ptrace() 680 child->ptrace |= PT_TRACESYSGOOD; in do_ptrace() 682 child->ptrace &= ~PT_TRACESYSGOOD; in do_ptrace() 703 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() 761 current->exit_code = SIGTRAP | ((current->ptrace & PT_TRACESYSGOOD) in syscall_trace()
|
/linux-2.4.37.9/arch/ppc/kernel/ |
D | ptrace.c | 178 if (current->ptrace & PT_PTRACED) in sys_ptrace() 181 current->ptrace |= PT_PTRACED; in sys_ptrace() 285 child->ptrace |= PT_TRACESYS; in sys_ptrace() 287 child->ptrace &= ~PT_TRACESYS; in sys_ptrace() 322 child->ptrace &= ~PT_TRACESYS; in sys_ptrace() 366 if ((current->ptrace & (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
|
/linux-2.4.37.9/arch/ppc64/kernel/ |
D | ptrace.c | 127 if (current->ptrace & PT_PTRACED) in sys_ptrace() 130 current->ptrace |= PT_PTRACED; in sys_ptrace() 232 child->ptrace |= PT_TRACESYS; in sys_ptrace() 234 child->ptrace &= ~PT_TRACESYS; in sys_ptrace() 263 child->ptrace &= ~PT_TRACESYS; in sys_ptrace() 372 if ((current->ptrace & (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
|
D | ptrace32.c | 128 if (current->ptrace & PT_PTRACED) in sys32_ptrace() 131 current->ptrace |= PT_PTRACED; in sys32_ptrace() 388 child->ptrace |= PT_TRACESYS; in sys32_ptrace() 390 child->ptrace &= ~PT_TRACESYS; in sys32_ptrace() 419 child->ptrace &= ~PT_TRACESYS; in sys32_ptrace()
|
D | Makefile | 23 time.o process.o signal.o syscalls.o misc.o ptrace.o \ 68 $(TOPDIR)/include/asm/ptrace.h
|
/linux-2.4.37.9/arch/m68k/kernel/ |
D | ptrace.c | 112 if (current->ptrace & PT_PTRACED) in sys_ptrace() 115 current->ptrace |= PT_PTRACED; in sys_ptrace() 241 child->ptrace |= PT_TRACESYS; in sys_ptrace() 243 child->ptrace &= ~PT_TRACESYS; in sys_ptrace() 278 child->ptrace &= ~PT_TRACESYS; in sys_ptrace() 359 if ((current->ptrace & (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
|
/linux-2.4.37.9/arch/alpha/kernel/ |
D | ptrace.c | 261 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() 340 child->ptrace |= PT_TRACESYS; in sys_ptrace() 342 child->ptrace &= ~PT_TRACESYS; in sys_ptrace() 370 child->ptrace &= ~PT_TRACESYS; in sys_ptrace() 395 if ((current->ptrace & (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
|
/linux-2.4.37.9/Documentation/ |
D | ptrace.txt | 4 Some programs such as Systrace[1] can make use of the ptrace mechanisms to 10 to analyze the call through ptrace(). 26 in the way ptrace works on all architectures, which is clearly not an option 36 process activities using ptrace report alerts when the monitored process
|
/linux-2.4.37.9/arch/s390x/kernel/ |
D | ptrace.c | 438 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() 522 child->ptrace |= PT_TRACESYS; in sys_ptrace() 524 child->ptrace &= ~PT_TRACESYS; in sys_ptrace() 551 child->ptrace &= ~PT_TRACESYS; in sys_ptrace() 598 if ((current->ptrace & (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
|
D | asm-offsets.c | 28 DEFINE(__TASK_ptrace, offsetof(struct task_struct, ptrace),); in main()
|
/linux-2.4.37.9/arch/sparc/kernel/ |
D | ptrace.c | 286 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() 539 child->ptrace |= PT_TRACESYS; in do_ptrace() 541 child->ptrace &= ~PT_TRACESYS; in do_ptrace() 600 if ((current->ptrace & (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
|
/linux-2.4.37.9/arch/sparc64/kernel/ |
D | ptrace.c | 137 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() 526 child->ptrace |= PT_TRACESYS; in do_ptrace() 528 child->ptrace &= ~PT_TRACESYS; in do_ptrace() 608 if ((current->ptrace & (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
|