Searched refs:ptrace (Results 1 - 25 of 755) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/os-Linux/sys-x86_64/
H A Dprctl.c6 #include <sys/ptrace.h>
7 #include <linux/ptrace.h>
11 return ptrace(PTRACE_ARCH_PRCTL, pid, (unsigned long) addr, code);
H A Dregisters.c29 if(ptrace(int_op, pid, 0, regs->skas.regs) < 0)
32 if(ptrace(fp_op, pid, 0, regs->skas.fp) < 0)
62 err = ptrace(PTRACE_GETREGS, pid, 0, exec_regs);
67 err = ptrace(PTRACE_GETFPREGS, pid, 0, exec_fp_regs);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/parisc/math-emu/
H A Dmath-emu.h24 #include <asm/ptrace.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-v850/
H A Dsigcontext.h17 #include <asm/ptrace.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/kernel/
H A Dptrace.h2 * linux/arch/arm/kernel/ptrace.h
10 #include <linux/ptrace.h>
21 task->ptrace &= ~PT_SINGLESTEP;
27 task->ptrace |= PT_SINGLESTEP;
35 if (task->ptrace & PT_SINGLESTEP) {
43 if (task->ptrace & PT_SINGLESTEP)
49 if (task->ptrace & PT_SINGLESTEP)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/kernel/tt/ptproxy/
H A Dsysdep.c22 *arg1 = ptrace(PTRACE_PEEKUSR, pid, PT_SYSCALL_ARG1_OFFSET, 0);
23 *arg2 = ptrace(PTRACE_PEEKUSR, pid, PT_SYSCALL_ARG2_OFFSET, 0);
24 *arg3 = ptrace(PTRACE_PEEKUSR, pid, PT_SYSCALL_ARG3_OFFSET, 0);
25 *arg4 = ptrace(PTRACE_PEEKUSR, pid, PT_SYSCALL_ARG4_OFFSET, 0);
26 *arg5 = ptrace(PTRACE_PEEKUSR, pid, PT_SYSCALL_ARG5_OFFSET, 0);
27 return(ptrace(PTRACE_PEEKUSR, pid, PT_SYSCALL_NR_OFFSET, 0));
32 if((ptrace(PTRACE_POKEUSR, pid, PT_SYSCALL_NR_OFFSET,
34 (ptrace(PTRACE_SYSCALL, pid, 0, 0) < 0) ||
36 (ptrace(PTRACE_POKEUSR, pid, PT_SYSCALL_RET_OFFSET, result) < 0) ||
37 (ptrace(PTRACE_SYSCAL
[all...]
H A DMakefile6 obj-y = proxy.o ptrace.o sysdep.o wait.o
H A Dwait.c17 #include "sysdep/ptrace.h"
34 ptrace(PTRACE_POKEDATA, debugger->pid,
38 ptrace (PTRACE_POKEDATA, pid, rusage_ptr, ...); */
60 ip = ptrace(PTRACE_PEEKUSR, pid, PT_IP_OFFSET, 0);
63 if(ptrace(PTRACE_POKEUSR, pid, PT_IP_OFFSET, ip) < 0)
67 if((ptrace(PTRACE_SYSCALL, debugger->pid, 0, SIGCHLD) < 0) ||
68 (ptrace(PTRACE_SYSCALL, debugger->pid, 0, 0) < 0) ||
69 (ptrace(PTRACE_SYSCALL, debugger->pid, 0, 0) < 0) ||
H A Dptrace.c2 ptrace.c
69 return(ptrace(PTRACE_CONT, child, arg3, arg4));
77 result = ptrace(PTRACE_GETFPREGS, child, 0, regs);
81 ptrace(PTRACE_POKEDATA, debugger->pid, arg4 + 4 * i,
93 result = ptrace(PTRACE_GETFPXREGS, child, 0, regs);
97 ptrace(PTRACE_POKEDATA, debugger->pid, arg4 + 4 * i,
109 result = ptrace(PTRACE_GETREGS, child, 0, regs);
113 ptrace (PTRACE_POKEDATA, debugger->pid,
121 result = ptrace(PTRACE_KILL, child, arg3, arg4);
135 result = ptrace(arg
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/include/skas/
H A Dmode-skas.h9 #include <sysdep/ptrace.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/m68k/mac/
H A Dmac_ksyms.c2 #include <asm/ptrace.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-cris/
H A Dsigcontext.h6 #include <asm/ptrace.h>
H A Dptrace.h4 #include <asm/arch/ptrace.h>
7 /* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/sys-x86_64/
H A Dptrace_user.c15 if(ptrace(PTRACE_GETREGS, pid, 0, regs_out) < 0)
22 if(ptrace(PTRACE_SETREGS, pid, 0, regs) < 0)
29 if (ptrace(PTRACE_SETFPREGS, pid, 0, regs) < 0)
50 if(ptrace(PTRACE_POKEUSR, pid, CS, UM_USER_CS) < 0)
54 if(ptrace(PTRACE_POKEUSR, pid, DS, __USER_DS) < 0)
56 if(ptrace(PTRACE_POKEUSR, pid, ES, __USER_DS) < 0)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/m68k/mvme16x/
H A Dmvme16x_ksyms.c3 #include <asm/ptrace.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-ia64/
H A Dnamei.h9 #include <asm/ptrace.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/kernel/tt/
H A Dexec_user.c23 if((ptrace(PTRACE_ATTACH, new_pid, 0, 0) < 0) ||
24 (ptrace(PTRACE_CONT, new_pid, 0, 0) < 0))
39 if (ptrace(PTRACE_OLDSETOPTIONS, new_pid, 0, (void *)PTRACE_O_TRACESYSGOOD) < 0)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/sys-ppc/
H A Dptrace_user.c2 #include <asm/ptrace.h>
3 #include "sysdep/ptrace.h"
10 regs_out->regs[i] = ptrace(PTRACE_PEEKUSR, pid, i*4, 0);
23 if (ptrace(PTRACE_POKEUSR, pid, i*4, regs_in->regs[i]) < 0) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-powerpc/
H A Dpmc.h23 #include <asm/ptrace.h>
H A Dsigcontext.h11 #include <asm/ptrace.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-blackfin/
H A Dirq.h21 #include <asm/ptrace.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/os-Linux/
H A Dtls.c3 #include <sys/ptrace.h>
28 ret = ptrace(PTRACE_SET_THREAD_AREA, pid, info->entry_number,
41 ret = ptrace(PTRACE_GET_THREAD_AREA, pid, info->entry_number,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/sys-i386/
H A Dptrace_user.c11 /* Grr, asm/user.h includes asm/ptrace.h, so has to follow ptrace_user.h */
21 if (ptrace(PTRACE_GETREGS, pid, 0, regs_out) < 0)
28 if (ptrace(PTRACE_SETREGS, pid, 0, regs) < 0)
35 if (ptrace(PTRACE_GETFPREGS, pid, 0, regs) < 0)
42 if (ptrace(PTRACE_SETFPREGS, pid, 0, regs) < 0)
58 if(ptrace(PTRACE_POKEUSR, pid, &dummy->u_debugreg[i],
60 printk("write_debugregs - ptrace failed on "
74 regs[i] = ptrace(PTRACE_PEEKUSR, pid,
98 /* Only called by the ptrace proxy */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm/
H A Dbranch.h11 #include <asm/ptrace.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-s390/
H A Duser.h13 #include <asm/ptrace.h>
54 from the ptrace(3,...) function. */

Completed in 130 milliseconds

1234567891011>>