Searched refs:PTRACE_SETREGS (Results 1 - 25 of 31) sorted by last modified time

12

/linux-master/arch/mips/kernel/
H A Dptrace.c1283 case PTRACE_SETREGS:
H A Dptrace32.c277 case PTRACE_SETREGS:
/linux-master/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c1914 * Use PTRACE_GETREGS and PTRACE_SETREGS when available. This is useful for
1919 # define ARCH_SETREGS(_regs) ptrace(PTRACE_SETREGS, tracee, 0, &(_regs))
/linux-master/arch/um/os-Linux/skas/
H A Dprocess.c354 * out of the process. However, PTRACE_SETREGS will
358 if (ptrace(PTRACE_SETREGS, pid, 0, regs->gp)) {
510 printk(UM_KERN_ERR "%s : PTRACE_SETREGS failed, pid = %d, errno = %d\n",
/linux-master/arch/um/kernel/
H A Dptrace.c78 #ifdef PTRACE_SETREGS
79 case PTRACE_SETREGS: { /* Set all gp regs in the child. */
/linux-master/arch/powerpc/kernel/ptrace/
H A Dptrace.c131 case PTRACE_SETREGS: /* Set all gp regs in the child. */
H A Dptrace32.c273 case PTRACE_SETREGS: /* Set all gp regs in the child. */
/linux-master/arch/m68k/kernel/
H A Dptrace.c237 case PTRACE_SETREGS: /* Set all gp regs in the child. */
/linux-master/arch/xtensa/kernel/
H A Dptrace.c516 case PTRACE_SETREGS:
/linux-master/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-perf-hwbreak.c56 return sys_ptrace(PTRACE_SETREGS, pid, 0, (unsigned long)result);
H A Dptrace.h528 ret = ptrace(PTRACE_SETREGS, child, NULL, regs);
/linux-master/arch/x86/kernel/
H A Dptrace.c787 case PTRACE_SETREGS: /* Set all gp regs in the child. */
887 * operations like PTRACE_SETREGS to fully restore a saved
1090 case PTRACE_SETREGS: /* Set all gp regs in the child. */
1190 case PTRACE_SETREGS: /* Set all gp regs in the child. */
/linux-master/arch/arm/kernel/
H A Dptrace.c747 case PTRACE_SETREGS:
/linux-master/arch/parisc/kernel/
H A Dptrace.c193 case PTRACE_SETREGS: /* Set all gp regs in the child. */
312 case PTRACE_SETREGS:
/linux-master/arch/sparc/kernel/
H A Dptrace_64.c953 case PTRACE_SETREGS:
H A Dptrace_32.c382 case PTRACE_SETREGS: {
/linux-master/arch/sh/kernel/
H A Dptrace_32.c418 case PTRACE_SETREGS:
/linux-master/arch/xtensa/include/uapi/asm/
H A Dptrace.h35 #define PTRACE_SETREGS 13 macro
/linux-master/arch/m68k/include/uapi/asm/
H A Dptrace.h71 #define PTRACE_SETREGS 13 macro
/linux-master/arch/arm/include/uapi/asm/
H A Dptrace.h17 #define PTRACE_SETREGS 13 macro
/linux-master/tools/testing/selftests/x86/
H A Dsyscall_numbering.c393 ptrace(PTRACE_SETREGS, testpid, NULL, &regs);
H A Dfsgsbase_restore.c8 * PTRACE_SETREGS. This is similar to what gdb does when doing
11 * restores segment state when using PTRACE_SETREGS.
208 if (ptrace(PTRACE_SETREGS, chld, NULL, &regs2) != 0)
218 if (ptrace(PTRACE_SETREGS, chld, NULL, &regs) != 0)
H A Dptrace_syscall.c232 if (ptrace(PTRACE_SETREGS, chld, 0, &regs) != 0)
233 err(1, "PTRACE_SETREGS");
264 if (ptrace(PTRACE_SETREGS, chld, 0, &regs) != 0)
265 err(1, "PTRACE_SETREGS");
368 if (ptrace(PTRACE_SETREGS, chld, 0, &regs) != 0)
369 err(1, "PTRACE_SETREGS");
/linux-master/arch/powerpc/include/uapi/asm/
H A Dptrace.h183 #define PTRACE_SETREGS 0xd macro
/linux-master/arch/sh/include/uapi/asm/
H A Dptrace.h10 #define PTRACE_SETREGS 13 macro

Completed in 475 milliseconds

12