Home
last modified time | relevance | path

Searched refs:PTRACE_SETREGS (Results 1 – 18 of 18) sorted by relevance

/linux/tools/testing/selftests/x86/
H A Dfsgsbase_restore.c207 if (ptrace(PTRACE_SETREGS, chld, NULL, &regs2) != 0) in main()
217 if (ptrace(PTRACE_SETREGS, chld, NULL, &regs) != 0) in main()
H A Dsyscall_numbering.c394 ptrace(PTRACE_SETREGS, testpid, NULL, &regs); in mess_with_syscall()
/linux/arch/sh/include/uapi/asm/
H A Dptrace.h10 #define PTRACE_SETREGS 13 macro
/linux/arch/x86/um/
H A Dptrace_user.c18 if (ptrace(PTRACE_SETREGS, pid, 0, regs) < 0) in ptrace_setregs()
/linux/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-syscall.c127 if (ptrace(PTRACE_SETREGS, chld, 0, &regs) != 0) in test_ptrace_syscall_restart()
170 if (ptrace(PTRACE_SETREGS, chld, 0, &regs) != 0) in test_ptrace_syscall_restart()
H A Dptrace-perf-hwbreak.c56 return sys_ptrace(PTRACE_SETREGS, pid, 0, (unsigned long)result); in ptrace_setregs()
H A Dptrace.h528 ret = ptrace(PTRACE_SETREGS, child, NULL, regs); in write_gpr()
/linux/arch/xtensa/include/uapi/asm/
H A Dptrace.h35 #define PTRACE_SETREGS 13 macro
/linux/arch/parisc/include/uapi/asm/
H A Dptrace.h92 #define PTRACE_SETREGS 19 macro
/linux/arch/m68k/include/uapi/asm/
H A Dptrace.h71 #define PTRACE_SETREGS 13 macro
/linux/arch/mips/include/uapi/asm/
H A Dptrace.h52 #define PTRACE_SETREGS 13 macro
/linux/arch/powerpc/include/uapi/asm/
H A Dptrace.h183 #define PTRACE_SETREGS 0xd macro
/linux/arch/powerpc/kernel/ptrace/
H A Dptrace32.c273 case PTRACE_SETREGS: /* Set all gp regs in the child. */ in compat_arch_ptrace()
H A Dptrace.c128 case PTRACE_SETREGS: /* Set all gp regs in the child. */ in arch_ptrace()
/linux/arch/mips/kernel/
H A Dptrace32.c277 case PTRACE_SETREGS: in compat_arch_ptrace()
/linux/arch/x86/kernel/
H A Dptrace.c787 case PTRACE_SETREGS: /* Set all gp regs in the child. */ in arch_ptrace()
1090 case PTRACE_SETREGS: /* Set all gp regs in the child. */ in ia32_arch_ptrace()
1190 case PTRACE_SETREGS: /* Set all gp regs in the child. */ in x32_arch_ptrace()
/linux/arch/um/os-Linux/skas/
H A Dprocess.c669 if (ptrace(PTRACE_SETREGS, pid, 0, regs->gp)) { in userspace()
/linux/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c1941 # define ARCH_SETREGS(_regs) ptrace(PTRACE_SETREGS, tracee, 0, &(_regs))