Home
last modified time | relevance | path

Searched refs:sys_ptrace (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.6.21/tools/testing/selftests/ptrace/
Dget_set_sud.c13 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()
Dpeeksiginfo.c26 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()
Dget_syscall_info.c31 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-6.6.21/tools/testing/selftests/powerpc/ptrace/
Dptrace-perf-hwbreak.c39 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()
Dptrace.h444 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-6.6.21/tools/perf/arch/mips/entry/syscalls/
Dsyscall_n64.tbl109 99 n64 ptrace sys_ptrace
/linux-6.6.21/arch/ia64/kernel/syscalls/
Dsyscall.tbl36 24 common ptrace sys_ptrace
/linux-6.6.21/arch/mips/kernel/syscalls/
Dsyscall_n64.tbl109 99 n64 ptrace sys_ptrace
Dsyscall_o32.tbl37 26 o32 ptrace sys_ptrace compat_sys_ptrace
/linux-6.6.21/tools/perf/arch/x86/entry/syscalls/
Dsyscall_64.tbl112 101 64 ptrace sys_ptrace
/linux-6.6.21/arch/xtensa/kernel/syscalls/
Dsyscall.tbl176 160 common ptrace sys_ptrace
/linux-6.6.21/arch/x86/entry/syscalls/
Dsyscall_64.tbl112 101 64 ptrace sys_ptrace
Dsyscall_32.tbl40 26 i386 ptrace sys_ptrace compat_sys_ptrace
/linux-6.6.21/arch/m68k/kernel/syscalls/
Dsyscall.tbl36 26 common ptrace sys_ptrace
/linux-6.6.21/arch/parisc/kernel/syscalls/
Dsyscall.tbl38 26 common ptrace sys_ptrace compat_sys_ptrace
/linux-6.6.21/arch/microblaze/kernel/syscalls/
Dsyscall.tbl36 26 common ptrace sys_ptrace
/linux-6.6.21/arch/sh/kernel/syscalls/
Dsyscall.tbl36 26 common ptrace sys_ptrace
/linux-6.6.21/arch/arm/tools/
Dsyscall.tbl40 26 common ptrace sys_ptrace
/linux-6.6.21/arch/alpha/kernel/syscalls/
Dsyscall.tbl36 26 common ptrace sys_ptrace
/linux-6.6.21/arch/sparc/kernel/syscalls/
Dsyscall.tbl42 26 common ptrace sys_ptrace compat_sys_ptrace
/linux-6.6.21/tools/include/uapi/asm-generic/
Dunistd.h330 __SC_COMP(__NR_ptrace, sys_ptrace, compat_sys_ptrace)
/linux-6.6.21/include/uapi/asm-generic/
Dunistd.h330 __SC_COMP(__NR_ptrace, sys_ptrace, compat_sys_ptrace)
/linux-6.6.21/tools/perf/arch/powerpc/entry/syscalls/
Dsyscall.tbl44 26 nospu ptrace sys_ptrace compat_sys_ptrace
/linux-6.6.21/tools/perf/arch/s390/entry/syscalls/
Dsyscall.tbl34 26 common ptrace sys_ptrace compat_sys_ptrace
/linux-6.6.21/arch/s390/kernel/syscalls/
Dsyscall.tbl34 26 common ptrace sys_ptrace compat_sys_ptrace

12