Home
last modified time | relevance | path

Searched refs:PTRACE_GETREGS (Results 1 – 25 of 35) sorted by relevance

12

/linux-6.3-rc2/arch/um/os-Linux/
A Dregisters.c18 err = ptrace(PTRACE_GETREGS, pid, 0, regs->gp); in save_registers()
43 err = ptrace(PTRACE_GETREGS, pid, 0, exec_regs); in init_pid_registers()
A Dstart_up.c183 if (ptrace(PTRACE_GETREGS, pid, 0, regs) < 0) in check_sysemu()
/linux-6.3-rc2/tools/testing/selftests/x86/
A Dptrace_syscall.c208 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0) in test_ptrace_syscall_restart()
239 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0) in test_ptrace_syscall_restart()
271 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0) in test_ptrace_syscall_restart()
331 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0) in test_restart_under_ptrace()
353 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0) in test_restart_under_ptrace()
391 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0) in test_restart_under_ptrace()
A Dfsgsbase_restore.c190 if (ptrace(PTRACE_GETREGS, chld, NULL, &regs) != 0) in main()
/linux-6.3-rc2/tools/testing/selftests/powerpc/ptrace/
A Dptrace-syscall.c96 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0) in test_ptrace_syscall_restart()
134 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0) in test_ptrace_syscall_restart()
177 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0) in test_ptrace_syscall_restart()
A Dptrace.h430 ret = ptrace(PTRACE_GETREGS, child, NULL, regs); in show_gpr()
519 ret = ptrace(PTRACE_GETREGS, child, NULL, regs); in write_gpr()
/linux-6.3-rc2/arch/um/kernel/
A Dptrace.c66 #ifdef PTRACE_GETREGS in arch_ptrace()
67 case PTRACE_GETREGS: { /* Get all gp regs from the child. */ in arch_ptrace()
/linux-6.3-rc2/arch/sh/include/uapi/asm/
A Dptrace.h9 #define PTRACE_GETREGS 12 /* General registers */ macro
/linux-6.3-rc2/arch/x86/um/
A Dptrace_user.c11 if (ptrace(PTRACE_GETREGS, pid, 0, regs_out) < 0) in ptrace_getregs()
/linux-6.3-rc2/arch/xtensa/include/uapi/asm/
A Dptrace.h34 #define PTRACE_GETREGS 12 macro
/linux-6.3-rc2/arch/parisc/include/uapi/asm/
A Dptrace.h91 #define PTRACE_GETREGS 18 macro
/linux-6.3-rc2/arch/x86/include/uapi/asm/
A Dptrace-abi.h68 #define PTRACE_GETREGS 12 macro
/linux-6.3-rc2/arch/m68k/include/uapi/asm/
A Dptrace.h70 #define PTRACE_GETREGS 12 macro
/linux-6.3-rc2/arch/mips/include/uapi/asm/
A Dptrace.h51 #define PTRACE_GETREGS 12 macro
/linux-6.3-rc2/arch/arm/include/uapi/asm/
A Dptrace.h16 #define PTRACE_GETREGS 12 macro
/linux-6.3-rc2/arch/ia64/include/uapi/asm/
A Dptrace.h243 #define PTRACE_GETREGS 18 /* get all registers (pt_all_user_regs) in one shot */ macro
/linux-6.3-rc2/arch/powerpc/include/uapi/asm/
A Dptrace.h182 #define PTRACE_GETREGS 0xc macro
/linux-6.3-rc2/arch/sparc/include/uapi/asm/
A Dptrace.h332 #define PTRACE_GETREGS 12 macro
/linux-6.3-rc2/arch/powerpc/kernel/ptrace/
A Dptrace32.c267 case PTRACE_GETREGS: /* Get all pt_regs from the child. */ in compat_arch_ptrace()
A Dptrace.c125 case PTRACE_GETREGS: /* Get all pt_regs from the child. */ in arch_ptrace()
/linux-6.3-rc2/arch/um/os-Linux/skas/
A Dprocess.c85 if (ptrace(PTRACE_GETREGS, pid, 0, regs) < 0) in ptrace_dump_regs()
434 if (ptrace(PTRACE_GETREGS, pid, 0, regs->gp)) { in userspace()
/linux-6.3-rc2/arch/mips/kernel/
A Dptrace32.c272 case PTRACE_GETREGS: in compat_arch_ptrace()
/linux-6.3-rc2/arch/m68k/kernel/
A Dptrace.c225 case PTRACE_GETREGS: /* Get all gp regs from the child. */ in arch_ptrace()
/linux-6.3-rc2/arch/parisc/kernel/
A Dptrace.c186 case PTRACE_GETREGS: /* Get all gp regs from the child. */ in arch_ptrace()
311 case PTRACE_GETREGS: in compat_arch_ptrace()
/linux-6.3-rc2/arch/x86/kernel/
A Dptrace.c779 case PTRACE_GETREGS: /* Get all gp regs from the child. */ in arch_ptrace()
1083 case PTRACE_GETREGS: /* Get all gp regs from the child. */ in ia32_arch_ptrace()
1182 case PTRACE_GETREGS: /* Get all gp regs from the child. */ in x32_arch_ptrace()

Completed in 29 milliseconds

12