Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/arm64/abi/
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-v6.6/tools/testing/selftests/powerpc/ptrace/
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-v6.6/arch/x86/um/os-Linux/
Dregisters.c31 #ifdef PTRACE_GETREGSET in save_fp_registers()
37 if (ptrace(PTRACE_GETREGSET, pid, NT_X86_XSTATE, &iov) < 0) in save_fp_registers()
128 #ifdef PTRACE_GETREGSET in arch_init_registers()
138 if (ptrace(PTRACE_GETREGSET, pid, NT_X86_XSTATE, &iov) == 0) in arch_init_registers()
/Linux-v6.6/tools/testing/selftests/arm64/fp/
Dzt-ptrace.c75 if (ptrace(PTRACE_GETREGSET, pid, NT_ARM_ZA, &iov)) in get_za()
106 return ptrace(PTRACE_GETREGSET, pid, NT_ARM_ZT, &iov); in get_zt()
Dza-ptrace.c80 if (ptrace(PTRACE_GETREGSET, pid, NT_ARM_ZA, &iov)) in get_za()
Dsve-ptrace.c99 return ptrace(PTRACE_GETREGSET, pid, NT_PRFPREG, &iov); in get_fpsimd()
133 if (ptrace(PTRACE_GETREGSET, pid, type->regset, &iov)) in get_sve()
/Linux-v6.6/Documentation/arch/arm64/
Dsme.rst65 ptrace(PTRACE_GETREGSET, pid, NT_ARM_<regset>, &iov).
275 state via PTRACE_GETREGSET and PTRACE_SETREGSET, this is documented in
279 PTRACE_GETREGSET and PTRACE_SETREGSET.
290 If a call to PTRACE_GETREGSET requests less data than the value of
341 PTRACE_GETREGSET and PTRACE_SETREGSET.
355 data that would have been read if a PTRACE_GETREGSET of the corresponding
360 been read if a PTRACE_GETREGSET of NT_ARM_ZA were executed for each thread
365 been read if a PTRACE_GETREGSET of NT_ARM_ZT were executed for each thread
Dsve.rst72 ptrace(PTRACE_GETREGSET, pid, NT_ARM_SVE, &iov). Note that when SME is
295 PTRACE_GETREGSET and PTRACE_SETREGSET. NT_ARM_SSVE describes the
312 If a call to PTRACE_GETREGSET requests less data than the value of
418 data that would have been read if a PTRACE_GETREGSET of the corresponding
Dpointer-authentication.rst74 userspace can acquire via PTRACE_GETREGSET.
Dmemory-tagging-extension.rst220 ``PTRACE_GETREGSET`` and ``PTRACE_SETREGSET`` with ``addr ==
/Linux-v6.6/include/uapi/linux/
Dptrace.h50 #define PTRACE_GETREGSET 0x4204 macro
/Linux-v6.6/tools/testing/selftests/mm/
Dprotection_keys.c1599 ret = ptrace(PTRACE_GETREGSET, child, (void *)NT_X86_XSTATE, &iov); in test_ptrace_modifies_pkru()
1612 ret = ptrace(PTRACE_GETREGSET, child, (void *)NT_X86_XSTATE, &iov); in test_ptrace_modifies_pkru()
1627 ret = ptrace(PTRACE_GETREGSET, child, (void *)NT_X86_XSTATE, &iov); in test_ptrace_modifies_pkru()
1640 ret = ptrace(PTRACE_GETREGSET, child, (void *)NT_X86_XSTATE, &iov); in test_ptrace_modifies_pkru()
1654 ret = ptrace(PTRACE_GETREGSET, child, (void *)NT_X86_XSTATE, &iov); in test_ptrace_modifies_pkru()
/Linux-v6.6/tools/testing/selftests/x86/
Damx.c871 if (ptrace(PTRACE_GETREGSET, target, (uint32_t)NT_X86_XSTATE, &iov)) in ptracer_inject_tiledata()
890 if (ptrace(PTRACE_GETREGSET, target, (uint32_t)NT_X86_XSTATE, &iov)) in ptracer_inject_tiledata()
Dtest_shadow_stack.c722 if (ptrace(PTRACE_GETREGSET, pid, NT_X86_SHSTK, &iov)) { in test_ptrace()
/Linux-v6.6/kernel/
Dptrace.c922 if (req == PTRACE_GETREGSET) in ptrace_regset()
1226 case PTRACE_GETREGSET: in ptrace_request()
1384 case PTRACE_GETREGSET: in compat_ptrace_request()
/Linux-v6.6/Documentation/virt/uml/
Duser_mode_linux_howto_v2.rst1117 ptrace(PTRACE_GETREGSET, 16967, NT_X86_XSTATE, [{iov_base=0xd5f35010, iov_len=832}]) = 0
1125 ptrace(PTRACE_GETREGSET, 16967, NT_X86_XSTATE, [{iov_base=0xd5f35010, iov_len=832}]) = 0
/Linux-v6.6/tools/testing/selftests/seccomp/
Dseccomp_bpf.c1925 ptrace(PTRACE_GETREGSET, tracee, NT_PRSTATUS, &__v); \