Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/arm64/abi/
H A Dptrace.c45 ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_TLS, &read_iov); in test_tpidr()
55 ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_TLS, &read_iov); in test_tpidr()
61 ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_TLS, &read_iov); in test_tpidr()
90 ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_TLS, &read_iov); in test_tpidr()
117 ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_TLS, in test_tpidr()
145 ret = ptrace(PTRACE_GETREGSET, child, type, &iov); in test_hw_debug()
/linux/tools/testing/selftests/powerpc/ptrace/
H A Dptrace.h116 ret = ptrace(PTRACE_GETREGSET, child, type, &iov); in ptrace_read_regs()
158 ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TAR, &iov); in show_tar_registers()
166 ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_PPR, &iov); in show_tar_registers()
174 ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_DSCR, &iov); in show_tar_registers()
248 ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CTAR, &iov); in show_tm_checkpointed_state()
256 ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CPPR, &iov); in show_tm_checkpointed_state()
264 ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CDSCR, &iov); in show_tm_checkpointed_state()
377 ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CFPR, &iov); in show_ckpt_fpr()
401 ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CFPR, &iov); in write_ckpt_fpr()
551 ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CGPR, &iov); in show_ckpt_gpr()
[all …]
/linux/arch/x86/um/os-Linux/
H A Dregisters.c31 if (ptrace(PTRACE_GETREGSET, pid, ptrace_regset, &iov) < 0) in get_fp_registers()
63 ret = ptrace(PTRACE_GETREGSET, pid, ptrace_regset, &iov); in arch_init_registers()
74 ret = ptrace(PTRACE_GETREGSET, pid, ptrace_regset, &iov); in arch_init_registers()
/linux/tools/testing/selftests/riscv/vector/
H A Dvalidate_v_ptrace.c73 ret = ptrace(PTRACE_GETREGSET, pid, NT_RISCV_VECTOR, &iov); in TEST()
199 ASSERT_EQ(0, ptrace(PTRACE_GETREGSET, pid, NT_RISCV_VECTOR, &iov)); in TEST()
290 ASSERT_EQ(0, ptrace(PTRACE_GETREGSET, pid, NT_RISCV_VECTOR, &iov)); in TEST()
310 ASSERT_EQ(0, ptrace(PTRACE_GETREGSET, pid, NT_PRSTATUS, &iov)); in TEST()
323 ASSERT_EQ(0, ptrace(PTRACE_GETREGSET, pid, NT_RISCV_VECTOR, &iov)); in TEST()
620 ASSERT_EQ(0, ptrace(PTRACE_GETREGSET, pid, NT_RISCV_VECTOR, &iov)); in TEST_F()
829 ASSERT_EQ(0, ptrace(PTRACE_GETREGSET, pid, NT_RISCV_VECTOR, &iov)); in TEST_F()
862 ASSERT_EQ(0, ptrace(PTRACE_GETREGSET, pid, NT_PRSTATUS, &iov)); in TEST_F()
875 ASSERT_EQ(0, ptrace(PTRACE_GETREGSET, pid, NT_RISCV_VECTOR, &iov)); in TEST_F()
890 ASSERT_EQ(0, ptrace(PTRACE_GETREGSET, pid, NT_PRSTATUS, &iov)); in TEST_F()
[all …]
H A Dvstate_ptrace.c72 if (do_ptrace(PTRACE_GETREGSET, child, NT_RISCV_VECTOR, size, data)) in do_parent()
83 if (do_ptrace(PTRACE_GETREGSET, child, NT_RISCV_VECTOR, size, data)) in do_parent()
97 if (do_ptrace(PTRACE_GETREGSET, child, NT_PRSTATUS, size, data)) in do_parent()
/linux/tools/testing/selftests/mm/
H A Dprotection_keys.c1428 ret = ptrace(PTRACE_GETREGSET, child, (void *)NT_X86_XSTATE, &iov); in test_executing_on_unreadable_memory()
1441 ret = ptrace(PTRACE_GETREGSET, child, (void *)NT_X86_XSTATE, &iov); in test_implicit_mprotect_exec_only_memory()
1456 ret = ptrace(PTRACE_GETREGSET, child, (void *)NT_X86_XSTATE, &iov); in test_implicit_mprotect_exec_only_memory()
1469 ret = ptrace(PTRACE_GETREGSET, child, (void *)NT_X86_XSTATE, &iov); in test_implicit_mprotect_exec_only_memory()
1483 ret = ptrace(PTRACE_GETREGSET, child, (void *)NT_X86_XSTATE, &iov); in test_ptrace_modifies_pkru()
1536 ret = ptrace(PTRACE_GETREGSET, child, (void *)NT_ARM_POE, &iov); in test_ptrace_modifies_pkru()
1547 ret = ptrace(PTRACE_GETREGSET, child, (void *)NT_ARM_POE, &iov); in test_ptrace_modifies_pkru()
1562 ret = ptrace(PTRACE_GETREGSET, child, (void *)NT_ARM_POE, &iov); in test_ptrace_modifies_pkru()
/linux/tools/testing/selftests/arm64/fp/
H A Dzt-ptrace.c77 if (ptrace(PTRACE_GETREGSET, pid, NT_ARM_ZA, &iov)) in get_za()
108 return ptrace(PTRACE_GETREGSET, pid, NT_ARM_ZT, &iov); in get_zt()
H A Dfp-ptrace.c389 ret = ptrace(PTRACE_GETREGSET, child, NT_PRSTATUS, &iov); in continue_breakpoint()
440 ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_SVE, &iov); in check_ptrace_values_sve()
533 ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_SSVE, &iov); in check_ptrace_values_ssve()
621 ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_ZA, &iov); in check_ptrace_values_za()
673 ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_ZT, &iov); in check_ptrace_values()
694 ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_FPMR, &iov); in check_ptrace_values()
713 ret = ptrace(PTRACE_GETREGSET, child, NT_PRFPREG, &iov); in run_parent()
H A Dza-ptrace.c82 if (ptrace(PTRACE_GETREGSET, pid, NT_ARM_ZA, &iov)) in get_za()
H A Dsve-ptrace.c102 ret = ptrace(PTRACE_GETREGSET, pid, NT_PRFPREG, &iov); in get_fpsimd()
144 ret = ptrace(PTRACE_GETREGSET, pid, type->regset, &iov); in get_sve()
/linux/Documentation/arch/arm64/
H A Dsme.rst65 ptrace(PTRACE_GETREGSET, pid, NT_ARM_<regset>, &iov).
265 state via PTRACE_GETREGSET and PTRACE_SETREGSET, this is documented in
269 PTRACE_GETREGSET and PTRACE_SETREGSET.
280 If a call to PTRACE_GETREGSET requests less data than the value of
331 PTRACE_GETREGSET and PTRACE_SETREGSET.
349 data that would have been read if a PTRACE_GETREGSET of the corresponding
354 been read if a PTRACE_GETREGSET of NT_ARM_ZA were executed for each thread
359 been read if a PTRACE_GETREGSET of NT_ARM_ZT were executed for each thread
H A Dgcs.rst204 * A new regset NT_ARM_GCS is defined for use with PTRACE_GETREGSET and
218 have been read if a PTRACE_GETREGSET of the corresponding type were
H A Dpointer-authentication.rst74 userspace can acquire via PTRACE_GETREGSET.
/linux/include/uapi/linux/
H A Dptrace.h50 #define PTRACE_GETREGSET 0x4204 macro
/linux/tools/testing/selftests/riscv/cfi/
H A Dcfitests.c89 ret = ptrace(PTRACE_GETREGSET, pid, (void *)NT_RISCV_USER_CFI, &iov); in cfi_ptrace_test()
91 ksft_exit_fail_msg("%s: PTRACE_GETREGSET failed\n", __func__); in cfi_ptrace_test()
117 ksft_exit_fail_msg("%s: PTRACE_GETREGSET failed\n", __func__); in cfi_ptrace_test()
/linux/tools/testing/selftests/arm64/gcs/
H A Dlibc-gcs.c233 ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_GCS, &iov); in TEST()
/linux/tools/testing/selftests/x86/
H A Dtest_shadow_stack.c994 if (ptrace(PTRACE_GETREGSET, pid, NT_X86_SHSTK, &iov)) { in test_ptrace()
/linux/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c1947 ptrace(PTRACE_GETREGSET, tracee, NT_PRSTATUS, &__v); \