| /linux/tools/testing/selftests/powerpc/ptrace/ |
| H A D | ptrace.h | 136 ret = ptrace(PTRACE_SETREGSET, child, type, &iov); in ptrace_write_regs() 206 ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TAR, &iov); in write_tar_registers() 213 ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_PPR, &iov); in write_tar_registers() 220 ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_DSCR, &iov); in write_tar_registers() 297 ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TM_CTAR, &iov); in write_ckpt_tar_registers() 304 ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TM_CPPR, &iov); in write_ckpt_tar_registers() 311 ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TM_CDSCR, &iov); in write_ckpt_tar_registers() 410 ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TM_CFPR, &iov); in write_ckpt_fpr() 588 ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TM_CGPR, &iov); in write_ckpt_gpr() 648 ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TM_CVMX, &iov); in write_vmx_ckpt() [all …]
|
| /linux/tools/testing/selftests/arm64/abi/ |
| H A D | ptrace.c | 51 ret = ptrace(PTRACE_SETREGSET, child, NT_ARM_TLS, &write_iov); in test_tpidr() 82 ret = ptrace(PTRACE_SETREGSET, child, NT_ARM_TLS, &write_iov); in test_tpidr() 112 ret = ptrace(PTRACE_SETREGSET, child, NT_ARM_TLS, &write_iov); in test_tpidr()
|
| /linux/tools/testing/selftests/riscv/vector/ |
| H A D | vstate_ptrace.c | 89 if (do_ptrace(PTRACE_SETREGSET, child, NT_RISCV_VECTOR, size, data)) in do_parent() 101 if (do_ptrace(PTRACE_SETREGSET, child, NT_PRSTATUS, size, data)) in do_parent()
|
| H A D | validate_v_ptrace.c | 312 ASSERT_EQ(0, ptrace(PTRACE_SETREGSET, pid, NT_PRSTATUS, &iov)); in TEST() 647 ret = ptrace(PTRACE_SETREGSET, pid, NT_RISCV_VECTOR, &iov); in TEST_F() 855 ASSERT_EQ(0, ptrace(PTRACE_SETREGSET, pid, NT_RISCV_VECTOR, &iov)); in TEST_F() 864 ASSERT_EQ(0, ptrace(PTRACE_SETREGSET, pid, NT_PRSTATUS, &iov)); in TEST_F() 892 ASSERT_EQ(0, ptrace(PTRACE_SETREGSET, pid, NT_PRSTATUS, &iov)); in TEST_F()
|
| /linux/tools/testing/selftests/x86/ |
| H A D | test_shadow_stack.c | 1007 if (!ptrace(PTRACE_SETREGSET, pid, NT_X86_SHSTK, &iov)) { in test_ptrace() 1013 if (!ptrace(PTRACE_SETREGSET, pid, NT_X86_SHSTK, &iov)) { in test_ptrace() 1019 if (!ptrace(PTRACE_SETREGSET, pid, NT_X86_SHSTK, &iov)) { in test_ptrace() 1025 if (!ptrace(PTRACE_SETREGSET, pid, NT_X86_SHSTK, &iov)) { in test_ptrace() 1036 if (ptrace(PTRACE_SETREGSET, pid, NT_X86_SHSTK, &iov)) { in test_ptrace()
|
| /linux/tools/testing/selftests/arm64/fp/ |
| H A D | zt-ptrace.c | 99 return ptrace(PTRACE_SETREGSET, pid, NT_ARM_ZA, &iov); in set_za() 117 return ptrace(PTRACE_SETREGSET, pid, NT_ARM_ZT, &iov); in set_zt()
|
| H A D | fp-ptrace.c | 398 ret = ptrace(PTRACE_SETREGSET, child, NT_PRSTATUS, &iov); 1151 ret = ptrace(PTRACE_SETREGSET, child, NT_PRFPREG, &iov); 1181 ret = ptrace(PTRACE_SETREGSET, child, NT_ARM_FPMR, &iov); in sve_write_sve() 1251 ret = ptrace(PTRACE_SETREGSET, child, regset, &iov); in sve_write_fpsimd() 1286 ret = ptrace(PTRACE_SETREGSET, child, NT_ARM_SVE, &iov); in za_write_expected() 1354 ret = ptrace(PTRACE_SETREGSET, child, NT_ARM_ZA, &iov); 1397 ret = ptrace(PTRACE_SETREGSET, child, NT_ARM_ZT, &iov); in run_test()
|
| H A D | za-ptrace.c | 104 return ptrace(PTRACE_SETREGSET, pid, NT_ARM_ZA, &iov); in set_za()
|
| H A D | sve-ptrace.c | 115 ret = ptrace(PTRACE_SETREGSET, pid, NT_PRFPREG, &iov); in set_fpsimd() 171 ret = ptrace(PTRACE_SETREGSET, pid, type->regset, &iov); in set_sve()
|
| /linux/arch/x86/um/os-Linux/ |
| H A D | registers.c | 43 if (ptrace(PTRACE_SETREGSET, pid, ptrace_regset, &iov) < 0) in put_fp_registers()
|
| /linux/include/uapi/linux/ |
| H A D | ptrace.h | 51 #define PTRACE_SETREGSET 0x4205 macro
|
| /linux/tools/testing/selftests/riscv/cfi/ |
| H A D | cfitests.c | 115 ret = ptrace(PTRACE_SETREGSET, pid, (void *)NT_RISCV_USER_CFI, &iov); in cfi_ptrace_test()
|
| /linux/tools/testing/selftests/breakpoints/ |
| H A D | breakpoint_test_arm64.c | 98 if (ptrace(PTRACE_SETREGSET, pid, NT_ARM_HW_WATCH, &iov) == 0) in set_watchpoint()
|
| /linux/tools/testing/selftests/mm/ |
| H A D | protection_keys.c | 1436 ret = ptrace(PTRACE_SETREGSET, child, (void *)NT_X86_XSTATE, &iov); in test_implicit_mprotect_exec_only_memory() 1464 ret = ptrace(PTRACE_SETREGSET, child, (void *)NT_X86_XSTATE, &iov); in test_implicit_mprotect_exec_only_memory() 1542 ret = ptrace(PTRACE_SETREGSET, child, (void *)NT_ARM_POE, &iov); in test_ptrace_modifies_pkru()
|
| /linux/Documentation/arch/arm64/ |
| H A D | sme.rst | 265 state via PTRACE_GETREGSET and PTRACE_SETREGSET, this is documented in 269 PTRACE_GETREGSET and PTRACE_SETREGSET. 331 PTRACE_GETREGSET and PTRACE_SETREGSET.
|
| H A D | gcs.rst | 205 PTRACE_SETREGSET.
|
| /linux/tools/testing/selftests/seccomp/ |
| H A D | seccomp_bpf.c | 1778 EXPECT_EQ(0, ptrace(PTRACE_SETREGSET, tracee, \ 1953 ptrace(PTRACE_SETREGSET, tracee, NT_PRSTATUS, &__v); \
|