Searched refs:PTRACE_SETREGSET (Results 1 - 14 of 14) sorted by relevance

/linux-master/arch/x86/um/os-Linux/
H A Dregisters.c54 #ifdef PTRACE_SETREGSET
59 if (ptrace(PTRACE_SETREGSET, pid, NT_X86_XSTATE, &iov) < 0)
/linux-master/tools/testing/selftests/powerpc/ptrace/
H A Dptrace.h136 ret = ptrace(PTRACE_SETREGSET, child, type, &iov);
206 ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TAR, &iov);
208 perror("ptrace(PTRACE_SETREGSET) failed");
213 ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_PPR, &iov);
215 perror("ptrace(PTRACE_SETREGSET) failed");
220 ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_DSCR, &iov);
222 perror("ptrace(PTRACE_SETREGSET) failed");
297 ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TM_CTAR, &iov);
304 ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TM_CPPR, &iov);
311 ret = ptrace(PTRACE_SETREGSET, chil
[all...]
/linux-master/include/uapi/linux/
H A Dptrace.h45 * ret = ptrace(PTRACE_GETREGSET/PTRACE_SETREGSET, pid, NT_XXX_TYPE, &iov);
51 #define PTRACE_SETREGSET 0x4205 macro
/linux-master/tools/testing/selftests/arm64/abi/
H A Dptrace.c51 ret = ptrace(PTRACE_SETREGSET, child, NT_ARM_TLS, &write_iov);
82 ret = ptrace(PTRACE_SETREGSET, child, NT_ARM_TLS, &write_iov);
112 ret = ptrace(PTRACE_SETREGSET, child, NT_ARM_TLS, &write_iov);
/linux-master/tools/testing/selftests/x86/
H A Dtest_shadow_stack.c735 if (!ptrace(PTRACE_SETREGSET, pid, NT_X86_SHSTK, &iov)) {
741 if (!ptrace(PTRACE_SETREGSET, pid, NT_X86_SHSTK, &iov)) {
747 if (!ptrace(PTRACE_SETREGSET, pid, NT_X86_SHSTK, &iov)) {
753 if (!ptrace(PTRACE_SETREGSET, pid, NT_X86_SHSTK, &iov)) {
764 if (ptrace(PTRACE_SETREGSET, pid, NT_X86_SHSTK, &iov)) {
H A Damx.c887 if (ptrace(PTRACE_SETREGSET, target, (uint32_t)NT_X86_XSTATE, &iov))
888 fatal_error("PTRACE_SETREGSET");
/linux-master/tools/testing/selftests/arm64/fp/
H A Dzt-ptrace.c97 return ptrace(PTRACE_SETREGSET, pid, NT_ARM_ZA, &iov);
116 return ptrace(PTRACE_SETREGSET, pid, NT_ARM_ZT, &iov);
H A Dza-ptrace.c102 return ptrace(PTRACE_SETREGSET, pid, NT_ARM_ZA, &iov);
H A Dfp-ptrace.c336 ret = ptrace(PTRACE_SETREGSET, child, NT_PRSTATUS, &iov);
998 ret = ptrace(PTRACE_SETREGSET, child, NT_PRFPREG, &iov);
1062 ret = ptrace(PTRACE_SETREGSET, child, regset, &iov);
1144 ret = ptrace(PTRACE_SETREGSET, child, NT_ARM_ZA, &iov);
1187 ret = ptrace(PTRACE_SETREGSET, child, NT_ARM_ZT, &iov);
H A Dsve-ptrace.c108 return ptrace(PTRACE_SETREGSET, pid, NT_PRFPREG, &iov);
156 return ptrace(PTRACE_SETREGSET, pid, type->regset, &iov);
/linux-master/tools/testing/selftests/breakpoints/
H A Dbreakpoint_test_arm64.c98 if (ptrace(PTRACE_SETREGSET, pid, NT_ARM_HW_WATCH, &iov) == 0)
103 "ptrace(PTRACE_SETREGSET, NT_ARM_HW_WATCH) not supported on this hardware: %s\n",
107 "ptrace(PTRACE_SETREGSET, NT_ARM_HW_WATCH) failed: %s\n",
/linux-master/kernel/
H A Dptrace.c1207 case PTRACE_SETREGSET: {
1365 case PTRACE_SETREGSET:
/linux-master/tools/testing/selftests/mm/
H A Dprotection_keys.c1607 ret = ptrace(PTRACE_SETREGSET, child, (void *)NT_X86_XSTATE, &iov);
1635 ret = ptrace(PTRACE_SETREGSET, child, (void *)NT_X86_XSTATE, &iov);
/linux-master/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c1756 EXPECT_EQ(0, ptrace(PTRACE_SETREGSET, tracee, \
1931 ptrace(PTRACE_SETREGSET, tracee, NT_PRSTATUS, &__v); \

Completed in 176 milliseconds