Home
last modified time | relevance | path

Searched refs:PTRACE_SETREGSET (Results 1 – 19 of 19) sorted by relevance

/linux/tools/testing/selftests/powerpc/ptrace/
H A Dptrace.h136 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 Dptrace.c51 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/x86/
H A Dtest_shadow_stack.c927 if (!ptrace(PTRACE_SETREGSET, pid, NT_X86_SHSTK, &iov)) { in test_ptrace()
933 if (!ptrace(PTRACE_SETREGSET, pid, NT_X86_SHSTK, &iov)) { in test_ptrace()
939 if (!ptrace(PTRACE_SETREGSET, pid, NT_X86_SHSTK, &iov)) { in test_ptrace()
945 if (!ptrace(PTRACE_SETREGSET, pid, NT_X86_SHSTK, &iov)) { in test_ptrace()
956 if (ptrace(PTRACE_SETREGSET, pid, NT_X86_SHSTK, &iov)) { in test_ptrace()
H A Dxstate.c301 if (ptrace(PTRACE_SETREGSET, target, (uint32_t)NT_X86_XSTATE, &iov)) in ptracer_inject_xstate()
/linux/tools/testing/selftests/arm64/fp/
H A Dzt-ptrace.c99 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 Dfp-ptrace.c381 ret = ptrace(PTRACE_SETREGSET, child, NT_PRSTATUS, &iov); in continue_breakpoint()
1116 ret = ptrace(PTRACE_SETREGSET, child, NT_PRFPREG, &iov); in fpsimd_write()
1146 ret = ptrace(PTRACE_SETREGSET, child, NT_ARM_FPMR, &iov); in fpmr_write()
1216 ret = ptrace(PTRACE_SETREGSET, child, regset, &iov); in sve_write_sve()
1254 ret = ptrace(PTRACE_SETREGSET, child, NT_ARM_SVE, &iov); in sve_write_fpsimd()
1322 ret = ptrace(PTRACE_SETREGSET, child, NT_ARM_ZA, &iov); in za_write()
1365 ret = ptrace(PTRACE_SETREGSET, child, NT_ARM_ZT, &iov); in zt_write()
H A Dza-ptrace.c104 return ptrace(PTRACE_SETREGSET, pid, NT_ARM_ZA, &iov); in set_za()
H A Dsve-ptrace.c115 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 Dregisters.c43 if (ptrace(PTRACE_SETREGSET, pid, ptrace_regset, &iov) < 0) in put_fp_registers()
/linux/include/uapi/linux/
H A Dptrace.h51 #define PTRACE_SETREGSET 0x4205 macro
/linux/tools/testing/selftests/breakpoints/
H A Dbreakpoint_test_arm64.c98 if (ptrace(PTRACE_SETREGSET, pid, NT_ARM_HW_WATCH, &iov) == 0) in set_watchpoint()
/linux/tools/testing/selftests/mm/
H A Dprotection_keys.c1542 ret = ptrace(PTRACE_SETREGSET, child, (void *)NT_X86_XSTATE, &iov); in test_ptrace_modifies_pkru()
1570 ret = ptrace(PTRACE_SETREGSET, child, (void *)NT_X86_XSTATE, &iov); in test_ptrace_modifies_pkru()
1648 ret = ptrace(PTRACE_SETREGSET, child, (void *)NT_ARM_POE, &iov); in test_ptrace_modifies_pkru()
/linux/Documentation/arch/arm64/
H A Dsme.rst265 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 Dgcs.rst205 PTRACE_SETREGSET.
H A Dmemory-tagging-extension.rst220 ``PTRACE_GETREGSET`` and ``PTRACE_SETREGSET`` with ``addr ==
H A Dsve.rst290 PTRACE_GETREGSET and PTRACE_SETREGSET. NT_ARM_SSVE describes the
/linux/kernel/
H A Dptrace.c1332 case PTRACE_SETREGSET: { in ptrace_request()
1494 case PTRACE_SETREGSET: in compat_ptrace_request()
/linux/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c1772 EXPECT_EQ(0, ptrace(PTRACE_SETREGSET, tracee, \
1947 ptrace(PTRACE_SETREGSET, tracee, NT_PRSTATUS, &__v); \
/linux/Documentation/virt/uml/
H A Duser_mode_linux_howto_v2.rst1122 ptrace(PTRACE_SETREGSET, 16967, NT_X86_XSTATE, [{iov_base=0xd5f35010, iov_len=2696}]) = 0