Searched refs:PTRACE_GETREGS (Results 1 - 25 of 32) sorted by last modified time

12

/linux-master/arch/mips/kernel/
H A Dptrace.c97 * Write a general register set. As for PTRACE_GETREGS, we always use
1279 case PTRACE_GETREGS:
H A Dptrace32.c272 case PTRACE_GETREGS:
/linux-master/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c1914 * Use PTRACE_GETREGS and PTRACE_SETREGS when available. This is useful for
1918 # define ARCH_GETREGS(_regs) ptrace(PTRACE_GETREGS, tracee, 0, &(_regs))
/linux-master/arch/um/os-Linux/skas/
H A Dprocess.c85 if (ptrace(PTRACE_GETREGS, pid, 0, regs) < 0)
353 * segfault and PTRACE_GETREGS will read that value
389 if (ptrace(PTRACE_GETREGS, pid, 0, regs->gp)) {
390 printk(UM_KERN_ERR "%s - PTRACE_GETREGS failed, errno = %d\n",
/linux-master/arch/um/os-Linux/
H A Dregisters.c23 err = ptrace(PTRACE_GETREGS, pid, 0, exec_regs);
/linux-master/arch/um/kernel/
H A Dptrace.c64 #ifdef PTRACE_GETREGS
65 case PTRACE_GETREGS: { /* Get all gp regs from the child. */
/linux-master/arch/powerpc/kernel/ptrace/
H A Dptrace.c122 case PTRACE_GETREGS: /* Get all pt_regs from the child. */
H A Dptrace32.c267 case PTRACE_GETREGS: /* Get all pt_regs from the child. */
/linux-master/arch/m68k/kernel/
H A Dptrace.c227 case PTRACE_GETREGS: /* Get all gp regs from the child. */
/linux-master/arch/xtensa/kernel/
H A Dptrace.c512 case PTRACE_GETREGS:
/linux-master/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-perf-hwbreak.c51 return sys_ptrace(PTRACE_GETREGS, pid, 0, (unsigned long)result);
H A Dptrace.h430 ret = ptrace(PTRACE_GETREGS, child, NULL, regs);
519 ret = ptrace(PTRACE_GETREGS, child, NULL, regs);
/linux-master/arch/x86/kernel/
H A Dptrace.c780 case PTRACE_GETREGS: /* Get all gp regs from the child. */
1084 case PTRACE_GETREGS: /* Get all gp regs from the child. */
1183 case PTRACE_GETREGS: /* Get all gp regs from the child. */
/linux-master/arch/arm/kernel/
H A Dptrace.c740 case PTRACE_GETREGS:
/linux-master/arch/parisc/kernel/
H A Dptrace.c186 case PTRACE_GETREGS: /* Get all gp regs from the child. */
311 case PTRACE_GETREGS:
/linux-master/arch/sparc/kernel/
H A Dptrace_64.c946 case PTRACE_GETREGS:
H A Dptrace_32.c374 case PTRACE_GETREGS: {
/linux-master/arch/sh/kernel/
H A Dptrace_32.c413 case PTRACE_GETREGS:
/linux-master/arch/xtensa/include/uapi/asm/
H A Dptrace.h34 #define PTRACE_GETREGS 12 macro
/linux-master/arch/m68k/include/uapi/asm/
H A Dptrace.h70 #define PTRACE_GETREGS 12 macro
/linux-master/arch/arm/include/uapi/asm/
H A Dptrace.h16 #define PTRACE_GETREGS 12 macro
/linux-master/tools/testing/selftests/x86/
H A Dsyscall_numbering.c362 ptrace(PTRACE_GETREGS, testpid, NULL, &regs);
H A Dfsgsbase_restore.c7 * a function and then restoring tracee state using PTRACE_GETREGS and
190 if (ptrace(PTRACE_GETREGS, chld, NULL, &regs) != 0)
191 err(1, "PTRACE_GETREGS");
209 err(1, "PTRACE_GETREGS");
211 err(1, "PTRACE_GETREGS");
219 err(1, "PTRACE_GETREGS");
221 err(1, "PTRACE_GETREGS");
/linux-master/arch/powerpc/include/uapi/asm/
H A Dptrace.h182 #define PTRACE_GETREGS 0xc macro
/linux-master/arch/sh/include/uapi/asm/
H A Dptrace.h9 #define PTRACE_GETREGS 12 /* General registers */ macro

Completed in 273 milliseconds

12