/Linux-v6.6/tools/testing/selftests/ptrace/ |
D | get_set_sud.c | 13 static int sys_ptrace(int request, pid_t pid, void *addr, void *data) in sys_ptrace() function 28 ASSERT_EQ(0, sys_ptrace(PTRACE_TRACEME, 0, 0, 0)) { in TEST() 40 ret = sys_ptrace(PTRACE_GET_SYSCALL_USER_DISPATCH_CONFIG, child, in TEST() 54 ret = sys_ptrace(PTRACE_SET_SYSCALL_USER_DISPATCH_CONFIG, child, in TEST() 60 ret = sys_ptrace(PTRACE_GET_SYSCALL_USER_DISPATCH_CONFIG, child, in TEST()
|
D | peeksiginfo.c | 26 static int sys_ptrace(int request, pid_t pid, void *addr, void *data) in sys_ptrace() function 73 ret = sys_ptrace(PTRACE_PEEKSIGINFO, child, &arg, addr_rw); in check_error_paths() 83 ret = sys_ptrace(PTRACE_PEEKSIGINFO, child, &arg, in check_error_paths() 91 ret = sys_ptrace(PTRACE_PEEKSIGINFO, child, &arg, addr_ro); in check_error_paths() 122 ret = sys_ptrace(PTRACE_PEEKSIGINFO, child, &arg, siginfo); in check_direct_path() 188 if (sys_ptrace(PTRACE_ATTACH, child, NULL, NULL) == -1) in main() 213 if (sys_ptrace(PTRACE_KILL, child, NULL, NULL) == -1) in main()
|
D | get_syscall_info.c | 31 sys_ptrace(int request, pid_t pid, unsigned long addr, unsigned long data) in sys_ptrace() function 86 ASSERT_EQ(0, sys_ptrace(PTRACE_TRACEME, 0, 0, 0)) { in TEST() 151 ASSERT_EQ(0, sys_ptrace(PTRACE_SETOPTIONS, pid, 0, in TEST() 155 ASSERT_LT(0, (rc = sys_ptrace(PTRACE_GET_SYSCALL_INFO, in TEST() 178 ASSERT_LT(0, (rc = sys_ptrace(PTRACE_GET_SYSCALL_INFO, in TEST() 263 ASSERT_EQ(0, sys_ptrace(PTRACE_SYSCALL, pid, 0, 0)) { in TEST()
|
/Linux-v6.6/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace-perf-hwbreak.c | 39 static inline long sys_ptrace(long request, pid_t pid, unsigned long addr, unsigned long data) in sys_ptrace() function 46 return sys_ptrace(PTRACE_TRACEME, 0, 0, 0); in ptrace_traceme() 51 return sys_ptrace(PTRACE_GETREGS, pid, 0, (unsigned long)result); in ptrace_getregs() 56 return sys_ptrace(PTRACE_SETREGS, pid, 0, (unsigned long)result); in ptrace_setregs() 61 return sys_ptrace(PTRACE_CONT, pid, 0, signal); in ptrace_cont() 66 return sys_ptrace(PTRACE_SINGLESTEP, pid, 0, signal); in ptrace_singlestep() 71 return sys_ptrace(PPC_PTRACE_GETHWDBGINFO, pid, 0, (unsigned long)dbginfo); in ppc_ptrace_gethwdbginfo() 76 return sys_ptrace(PPC_PTRACE_SETHWDEBUG, pid, 0, (unsigned long)bp_info); in ppc_ptrace_sethwdbg() 81 return sys_ptrace(PPC_PTRACE_DELHWDEBUG, pid, 0L, bp_id); in ppc_ptrace_delhwdbg()
|
D | ptrace.h | 444 long sys_ptrace(enum __ptrace_request request, pid_t pid, unsigned long addr, unsigned long data) in sys_ptrace() function 466 ret = sys_ptrace(PTRACE_PEEKUSER, child, addr, (unsigned long)p); in peek_fprs() 474 ret = sys_ptrace(PTRACE_PEEKUSER, child, addr, (unsigned long)&addr); in peek_fprs() 491 ret = sys_ptrace(PTRACE_POKEUSER, child, addr, *p); in poke_fprs() 499 ret = sys_ptrace(PTRACE_POKEUSER, child, addr, addr); in poke_fprs()
|
/Linux-v6.6/arch/ia64/kernel/syscalls/ |
D | syscall.tbl | 36 24 common ptrace sys_ptrace
|
/Linux-v6.6/tools/perf/arch/mips/entry/syscalls/ |
D | syscall_n64.tbl | 109 99 n64 ptrace sys_ptrace
|
/Linux-v6.6/arch/mips/kernel/syscalls/ |
D | syscall_n64.tbl | 109 99 n64 ptrace sys_ptrace
|
D | syscall_o32.tbl | 37 26 o32 ptrace sys_ptrace compat_sys_ptrace
|
/Linux-v6.6/arch/x86/entry/syscalls/ |
D | syscall_64.tbl | 112 101 64 ptrace sys_ptrace
|
D | syscall_32.tbl | 40 26 i386 ptrace sys_ptrace compat_sys_ptrace
|
/Linux-v6.6/tools/perf/arch/x86/entry/syscalls/ |
D | syscall_64.tbl | 112 101 64 ptrace sys_ptrace
|
/Linux-v6.6/arch/xtensa/kernel/syscalls/ |
D | syscall.tbl | 176 160 common ptrace sys_ptrace
|
/Linux-v6.6/arch/parisc/kernel/syscalls/ |
D | syscall.tbl | 38 26 common ptrace sys_ptrace compat_sys_ptrace
|
/Linux-v6.6/arch/sh/kernel/syscalls/ |
D | syscall.tbl | 36 26 common ptrace sys_ptrace
|
/Linux-v6.6/arch/arm/tools/ |
D | syscall.tbl | 40 26 common ptrace sys_ptrace
|
/Linux-v6.6/arch/m68k/kernel/syscalls/ |
D | syscall.tbl | 36 26 common ptrace sys_ptrace
|
/Linux-v6.6/arch/microblaze/kernel/syscalls/ |
D | syscall.tbl | 36 26 common ptrace sys_ptrace
|
/Linux-v6.6/arch/sparc/kernel/syscalls/ |
D | syscall.tbl | 42 26 common ptrace sys_ptrace compat_sys_ptrace
|
/Linux-v6.6/arch/alpha/kernel/syscalls/ |
D | syscall.tbl | 36 26 common ptrace sys_ptrace
|
/Linux-v6.6/arch/powerpc/kernel/syscalls/ |
D | syscall.tbl | 44 26 nospu ptrace sys_ptrace compat_sys_ptrace
|
/Linux-v6.6/arch/s390/kernel/syscalls/ |
D | syscall.tbl | 34 26 common ptrace sys_ptrace compat_sys_ptrace
|
/Linux-v6.6/tools/include/uapi/asm-generic/ |
D | unistd.h | 330 __SC_COMP(__NR_ptrace, sys_ptrace, compat_sys_ptrace)
|
/Linux-v6.6/tools/perf/arch/powerpc/entry/syscalls/ |
D | syscall.tbl | 44 26 nospu ptrace sys_ptrace compat_sys_ptrace
|
/Linux-v6.6/tools/perf/arch/s390/entry/syscalls/ |
D | syscall.tbl | 34 26 common ptrace sys_ptrace compat_sys_ptrace
|