/linux/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace.h | 116 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/tools/testing/selftests/arm64/abi/ |
H A D | ptrace.c | 45 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/arch/x86/um/os-Linux/ |
H A D | registers.c | 30 if (ptrace(PTRACE_GETREGSET, pid, NT_X86_XSTATE, &iov) < 0) in get_fp_registers() 61 ret = ptrace(PTRACE_GETREGSET, pid, NT_X86_XSTATE, &iov); in arch_init_registers()
|
/linux/tools/testing/selftests/mm/ |
H A D | protection_keys.c | 1598 ret = ptrace(PTRACE_GETREGSET, child, (void *)NT_X86_XSTATE, &iov); in test_ptrace_modifies_pkru() 1611 ret = ptrace(PTRACE_GETREGSET, child, (void *)NT_X86_XSTATE, &iov); in test_ptrace_modifies_pkru() 1626 ret = ptrace(PTRACE_GETREGSET, child, (void *)NT_X86_XSTATE, &iov); in test_ptrace_modifies_pkru() 1639 ret = ptrace(PTRACE_GETREGSET, child, (void *)NT_X86_XSTATE, &iov); in test_ptrace_modifies_pkru() 1653 ret = ptrace(PTRACE_GETREGSET, child, (void *)NT_X86_XSTATE, &iov); in test_ptrace_modifies_pkru() 1706 ret = ptrace(PTRACE_GETREGSET, child, (void *)NT_ARM_POE, &iov); in test_ptrace_modifies_pkru() 1717 ret = ptrace(PTRACE_GETREGSET, child, (void *)NT_ARM_POE, &iov); in test_ptrace_modifies_pkru() 1732 ret = ptrace(PTRACE_GETREGSET, child, (void *)NT_ARM_POE, &iov); in test_ptrace_modifies_pkru()
|
/linux/tools/testing/selftests/arm64/fp/ |
H A D | zt-ptrace.c | 77 if (ptrace(PTRACE_GETREGSET, pid, NT_ARM_ZA, &iov)) in get_za() 108 return ptrace(PTRACE_GETREGSET, pid, NT_ARM_ZT, &iov);
|
H A D | fp-ptrace.c | 372 ret = ptrace(PTRACE_GETREGSET, child, NT_PRSTATUS, &iov); in check_ptrace_values_sve() 420 ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_SVE, &iov); in check_ptrace_values_sve() 497 ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_SSVE, &iov); in check_ptrace_values_ssve() 572 ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_ZA, &iov); in check_ptrace_values_zt() 624 ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_ZT, &iov); in check_ptrace_values() 645 ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_FPMR, &iov); in run_parent() 664 ret = ptrace(PTRACE_GETREGSET, child, NT_PRFPREG, &iov); in run_parent()
|
H A D | sve-ptrace.c | 101 return ptrace(PTRACE_GETREGSET, pid, NT_PRFPREG, &iov); 135 if (ptrace(PTRACE_GETREGSET, pid, type->regset, &iov)) in get_sve()
|
H A D | za-ptrace.c | 82 if (ptrace(PTRACE_GETREGSET, pid, NT_ARM_ZA, &iov)) in get_za()
|
/linux/include/uapi/linux/ |
H A D | ptrace.h | 50 #define PTRACE_GETREGSET 0x4204 macro
|
/linux/tools/testing/selftests/x86/ |
H A D | amx.c | 841 if (ptrace(PTRACE_GETREGSET, target, (uint32_t)NT_X86_XSTATE, &iov)) in ptracer_inject_tiledata() 860 if (ptrace(PTRACE_GETREGSET, target, (uint32_t)NT_X86_XSTATE, &iov)) in ptracer_inject_tiledata()
|
H A D | test_shadow_stack.c | 914 if (ptrace(PTRACE_GETREGSET, pid, NT_X86_SHSTK, &iov)) { in test_ptrace()
|
/linux/kernel/ |
H A D | ptrace.c | 902 if (req == PTRACE_GETREGSET) in ptrace_regset() 1206 case PTRACE_GETREGSET: in ptrace_request() 1364 case PTRACE_GETREGSET: in compat_ptrace_request()
|
/linux/Documentation/arch/arm64/ |
H A D | pointer-authentication.rst | 74 userspace can acquire via PTRACE_GETREGSET.
|
H A D | memory-tagging-extension.rst | 220 ``PTRACE_GETREGSET`` and ``PTRACE_SETREGSET`` with ``addr ==
|
/linux/Documentation/virt/uml/ |
H A D | user_mode_linux_howto_v2.rst | 1152 ptrace(PTRACE_GETREGSET, 16967, NT_X86_XSTATE, [{iov_base=0xd5f35010, iov_len=832}]) = 0 1160 ptrace(PTRACE_GETREGSET, 16967, NT_X86_XSTATE, [{iov_base=0xd5f35010, iov_len=832}]) = 0
|
/linux/tools/testing/selftests/seccomp/ |
H A D | seccomp_bpf.c | 1927 ptrace(PTRACE_GETREGSET, tracee, NT_PRSTATUS, &__v); \
|