Searched refs:PTRACE_SETREGS (Results 1 - 25 of 31) sorted by relevance

12

/linux-master/arch/x86/um/
H A Dptrace_user.c18 if (ptrace(PTRACE_SETREGS, pid, 0, regs) < 0)
/linux-master/arch/sh/include/uapi/asm/
H A Dptrace.h10 #define PTRACE_SETREGS 13 macro
/linux-master/arch/parisc/include/uapi/asm/
H A Dptrace.h92 #define PTRACE_SETREGS 19 macro
/linux-master/arch/x86/include/uapi/asm/
H A Dptrace-abi.h69 #define PTRACE_SETREGS 13 macro
/linux-master/arch/mips/include/uapi/asm/
H A Dptrace.h52 #define PTRACE_SETREGS 13 macro
/linux-master/arch/m68k/include/uapi/asm/
H A Dptrace.h71 #define PTRACE_SETREGS 13 macro
/linux-master/arch/xtensa/include/uapi/asm/
H A Dptrace.h35 #define PTRACE_SETREGS 13 macro
/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/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-syscall.c3 * A ptrace test for testing PTRACE_SYSEMU, PTRACE_SETREGS and
124 * the rewind process together with PTRACE_SETREGS and PTRACE_GETREGS.
127 if (ptrace(PTRACE_SETREGS, chld, 0, &regs) != 0)
128 err(1, "PTRACE_SETREGS");
170 if (ptrace(PTRACE_SETREGS, chld, 0, &regs) != 0)
171 err(1, "PTRACE_SETREGS");
H A Dptrace-perf-hwbreak.c56 return sys_ptrace(PTRACE_SETREGS, pid, 0, (unsigned long)result);
/linux-master/tools/testing/selftests/x86/
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");
H A Dsyscall_numbering.c393 ptrace(PTRACE_SETREGS, testpid, NULL, &regs);
/linux-master/arch/arm/include/uapi/asm/
H A Dptrace.h17 #define PTRACE_SETREGS 13 macro
/linux-master/arch/powerpc/include/uapi/asm/
H A Dptrace.h183 #define PTRACE_SETREGS 0xd macro
/linux-master/arch/sparc/include/uapi/asm/
H A Dptrace.h333 #define PTRACE_SETREGS 13 macro
/linux-master/arch/mips/kernel/
H A Dptrace32.c277 case PTRACE_SETREGS:
/linux-master/arch/powerpc/kernel/ptrace/
H A Dptrace32.c273 case PTRACE_SETREGS: /* Set all gp regs in the child. */
H A Dptrace.c131 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/parisc/kernel/
H A Dptrace.c193 case PTRACE_SETREGS: /* Set all gp regs in the child. */
312 case PTRACE_SETREGS:
/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/sh/kernel/
H A Dptrace_32.c418 case PTRACE_SETREGS:
/linux-master/arch/sparc/kernel/
H A Dptrace_32.c382 case PTRACE_SETREGS: {
/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",

Completed in 406 milliseconds

12