Defined in 1 files as a prototype:
Defined in 4 files as a macro:
Defined in 13 files as a function:
- lib/libc/arch/aarch64/sys/ptrace.S, line 34 (as a function)
- lib/libc/arch/arm/sys/ptrace.S, line 36 (as a function)
- lib/libc/arch/i386/sys/ptrace.S, line 46 (as a function)
- lib/libc/arch/m68k/sys/ptrace.S, line 52 (as a function)
- lib/libc/arch/or1k/sys/ptrace.S, line 19 (as a function)
- lib/libc/arch/powerpc/sys/ptrace.S, line 17 (as a function)
- lib/libc/arch/powerpc64/sys/ptrace.S, line 5 (as a function)
- lib/libc/arch/riscv/sys/ptrace.S, line 48 (as a function)
- lib/libc/arch/sh3/sys/ptrace.S, line 48 (as a function)
- lib/libc/arch/sparc/sys/ptrace.S, line 49 (as a function)
- lib/libc/arch/sparc64/sys/ptrace.S, line 49 (as a function)
- lib/libc/arch/x86_64/sys/ptrace.S, line 46 (as a function)
- lib/libc/sys/Lint_ptrace.c, line 12 (as a function)
Referenced in 211 files:
- external/bsd/file/dist/src/seccomp.c, line 125
- external/bsd/libproc/dist/proc_bkpt.c, 4 times
- external/bsd/libproc/dist/proc_create.c, 2 times
- external/bsd/libproc/dist/proc_regs.c, 3 times
- external/bsd/libproc/dist/proc_util.c, 7 times
- external/gpl3/binutils/dist/gprofng/src/gp-collect-app.cc, 2 times
- external/gpl3/gcc.old/dist/libsanitizer/include/system/asm/ptrace.h, line 1
- external/gpl3/gcc.old/dist/libsanitizer/include/system/sys/ptrace.h, line 1
- external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc, line 773
- external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_netbsd.cc, 2 times
- external/gpl3/gcc.old/dist/libsanitizer/tsan/tsan_rtl_report.cc, 10 times
- external/gpl3/gcc/dist/libsanitizer/include/system/asm/ptrace.h, line 1
- external/gpl3/gcc/dist/libsanitizer/include/system/sys/ptrace.h, line 1
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc, line 773
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_netbsd.cc, 2 times
- external/gpl3/gcc/dist/libsanitizer/tsan/tsan_rtl_report.cc, 10 times
- external/gpl3/gdb.old/dist/gdb/aarch64-fbsd-nat.c, 6 times
- external/gpl3/gdb.old/dist/gdb/aarch64-linux-nat.c, 13 times
- external/gpl3/gdb.old/dist/gdb/aarch64-linux-tdep.c, line 1177
- external/gpl3/gdb.old/dist/gdb/aarch64-nbsd-nat.c, 6 times
- external/gpl3/gdb.old/dist/gdb/aix-thread.c, line 314
- external/gpl3/gdb.old/dist/gdb/alpha-bsd-nat.c, 6 times
- external/gpl3/gdb.old/dist/gdb/amd64-bsd-nat.c, 2 times
- external/gpl3/gdb.old/dist/gdb/amd64-fbsd-nat.c, 2 times
- external/gpl3/gdb.old/dist/gdb/amd64-linux-nat.c, 15 times
- external/gpl3/gdb.old/dist/gdb/arm-fbsd-nat.c, 6 times
- external/gpl3/gdb.old/dist/gdb/arm-linux-nat.c, 29 times
- external/gpl3/gdb.old/dist/gdb/arm-nbsd-nat.c, 9 times
- external/gpl3/gdb.old/dist/gdb/darwin-nat.c, line 239
- external/gpl3/gdb.old/dist/gdb/fbsd-nat.c, 19 times
- external/gpl3/gdb.old/dist/gdb/gnu-nat.c, line 2100
- external/gpl3/gdb.old/dist/gdb/hppa-linux-nat.c, 2 times
- external/gpl3/gdb.old/dist/gdb/hppa-nbsd-nat.c, 6 times
- external/gpl3/gdb.old/dist/gdb/hppa-obsd-nat.c, 6 times
- external/gpl3/gdb.old/dist/gdb/i386-bsd-nat.c, 2 times
- external/gpl3/gdb.old/dist/gdb/i386-fbsd-nat.c, 2 times
- external/gpl3/gdb.old/dist/gdb/i386-linux-nat.c, 15 times
- external/gpl3/gdb.old/dist/gdb/ia64-linux-nat.c, 3 times
- external/gpl3/gdb.old/dist/gdb/inf-ptrace.c, 6 times
- external/gpl3/gdb.old/dist/gdb/linux-fork.c, 3 times
- external/gpl3/gdb.old/dist/gdb/linux-nat-trad.c, 2 times
- external/gpl3/gdb.old/dist/gdb/linux-nat.c, 12 times
- external/gpl3/gdb.old/dist/gdb/linux-nat.h, line 185
- external/gpl3/gdb.old/dist/gdb/m32r-linux-nat.c, 3 times
- external/gpl3/gdb.old/dist/gdb/m68k-bsd-nat.c, 6 times
- external/gpl3/gdb.old/dist/gdb/m68k-linux-nat.c, 9 times
- external/gpl3/gdb.old/dist/gdb/mips-fbsd-nat.c, 6 times
- external/gpl3/gdb.old/dist/gdb/mips-linux-nat.c, 10 times
- external/gpl3/gdb.old/dist/gdb/mips-nbsd-nat.c, 6 times
- external/gpl3/gdb.old/dist/gdb/mips64-obsd-nat.c, 3 times
- external/gpl3/gdb.old/dist/gdb/nat/aarch64-linux-hw-point.c, 3 times
- external/gpl3/gdb.old/dist/gdb/nat/aarch64-linux.c, line 240
- external/gpl3/gdb.old/dist/gdb/nat/aarch64-sve-linux-ptrace.c, 4 times
- external/gpl3/gdb.old/dist/gdb/nat/amd64-linux-siginfo.c, 5 times
- external/gpl3/gdb.old/dist/gdb/nat/gdb_ptrace.h, 2 times
- external/gpl3/gdb.old/dist/gdb/nat/linux-ptrace.c, 11 times
- external/gpl3/gdb.old/dist/gdb/nat/mips-linux-watch.c, line 167
- external/gpl3/gdb.old/dist/gdb/nat/netbsd-nat.c, 4 times
- external/gpl3/gdb.old/dist/gdb/nat/ppc-linux.c, line 89
- external/gpl3/gdb.old/dist/gdb/nat/riscv-linux-tdesc.c, line 63
- external/gpl3/gdb.old/dist/gdb/nat/x86-linux-dregs.c, 2 times
- external/gpl3/gdb.old/dist/gdb/nbsd-nat.c, 9 times
- external/gpl3/gdb.old/dist/gdb/obsd-nat.c, 7 times
- external/gpl3/gdb.old/dist/gdb/ppc-fbsd-nat.c, 6 times
- external/gpl3/gdb.old/dist/gdb/ppc-linux-nat.c, 29 times
- external/gpl3/gdb.old/dist/gdb/ppc-nbsd-nat.c, 6 times
- external/gpl3/gdb.old/dist/gdb/ppc-obsd-nat.c, 6 times
- external/gpl3/gdb.old/dist/gdb/riscv-fbsd-nat.c, 6 times
- external/gpl3/gdb.old/dist/gdb/riscv-linux-nat.c, 6 times
- external/gpl3/gdb.old/dist/gdb/riscv-nbsd-nat.c, 6 times
- external/gpl3/gdb.old/dist/gdb/rs6000-nat.c, line 156
- external/gpl3/gdb.old/dist/gdb/s390-linux-nat.c, 15 times
- external/gpl3/gdb.old/dist/gdb/sh-nbsd-nat.c, 3 times
- external/gpl3/gdb.old/dist/gdb/sparc-nat.c, 3 times
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.arch/aarch64-dbreg-contents.c, 4 times
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/attach-twice.c, line 43
- external/gpl3/gdb.old/dist/gdb/tilegx-linux-nat.c, 3 times
- external/gpl3/gdb.old/dist/gdb/vax-bsd-nat.c, 3 times
- external/gpl3/gdb.old/dist/gdb/x86-bsd-nat.c, 2 times
- external/gpl3/gdb.old/dist/gdb/x86-linux-nat.c, 5 times
- external/gpl3/gdb.old/dist/gdb/xtensa-linux-nat.c, 7 times
- external/gpl3/gdb.old/dist/gdbserver/linux-aarch64-low.cc, 2 times
- external/gpl3/gdb.old/dist/gdbserver/linux-arm-low.cc, 9 times
- external/gpl3/gdb.old/dist/gdbserver/linux-low.cc, 33 times
- external/gpl3/gdb.old/dist/gdbserver/linux-m68k-low.cc, line 215
- external/gpl3/gdb.old/dist/gdbserver/linux-mips-low.cc, 3 times
- external/gpl3/gdb.old/dist/gdbserver/linux-nios2-low.cc, line 194
- external/gpl3/gdb.old/dist/gdbserver/linux-ppc-low.cc, line 206
- external/gpl3/gdb.old/dist/gdbserver/linux-s390-low.cc, 3 times
- external/gpl3/gdb.old/dist/gdbserver/linux-tic6x-low.cc, line 294
- external/gpl3/gdb.old/dist/gdbserver/linux-x86-low.cc, 10 times
- external/gpl3/gdb.old/dist/gdbserver/linux-xtensa-low.cc, line 286
- external/gpl3/gdb.old/dist/gdbserver/netbsd-low.cc, 22 times
- external/gpl3/gdb/dist/gdb/aarch64-fbsd-nat.c, 6 times
- external/gpl3/gdb/dist/gdb/aarch64-linux-nat.c, 13 times
- external/gpl3/gdb/dist/gdb/aarch64-linux-tdep.c, line 1177
- external/gpl3/gdb/dist/gdb/aarch64-nbsd-nat.c, 6 times
- external/gpl3/gdb/dist/gdb/aix-thread.c, line 314
- external/gpl3/gdb/dist/gdb/alpha-bsd-nat.c, 6 times
- external/gpl3/gdb/dist/gdb/amd64-bsd-nat.c, 2 times
- external/gpl3/gdb/dist/gdb/amd64-fbsd-nat.c, 2 times
- external/gpl3/gdb/dist/gdb/amd64-linux-nat.c, 15 times
- external/gpl3/gdb/dist/gdb/arm-fbsd-nat.c, 6 times
- external/gpl3/gdb/dist/gdb/arm-linux-nat.c, 29 times
- external/gpl3/gdb/dist/gdb/arm-nbsd-nat.c, 9 times
- external/gpl3/gdb/dist/gdb/darwin-nat.c, line 239
- external/gpl3/gdb/dist/gdb/fbsd-nat.c, 19 times
- external/gpl3/gdb/dist/gdb/gnu-nat.c, line 2100
- external/gpl3/gdb/dist/gdb/hppa-linux-nat.c, 2 times
- external/gpl3/gdb/dist/gdb/hppa-nbsd-nat.c, 6 times
- external/gpl3/gdb/dist/gdb/hppa-obsd-nat.c, 6 times
- external/gpl3/gdb/dist/gdb/i386-bsd-nat.c, 2 times
- external/gpl3/gdb/dist/gdb/i386-fbsd-nat.c, 2 times
- external/gpl3/gdb/dist/gdb/i386-linux-nat.c, 15 times
- external/gpl3/gdb/dist/gdb/ia64-linux-nat.c, 3 times
- external/gpl3/gdb/dist/gdb/inf-ptrace.c, 6 times
- external/gpl3/gdb/dist/gdb/linux-fork.c, 3 times
- external/gpl3/gdb/dist/gdb/linux-nat-trad.c, 2 times
- external/gpl3/gdb/dist/gdb/linux-nat.c, 12 times
- external/gpl3/gdb/dist/gdb/linux-nat.h, line 185
- external/gpl3/gdb/dist/gdb/m32r-linux-nat.c, 3 times
- external/gpl3/gdb/dist/gdb/m68k-bsd-nat.c, 6 times
- external/gpl3/gdb/dist/gdb/m68k-linux-nat.c, 9 times
- external/gpl3/gdb/dist/gdb/mips-fbsd-nat.c, 6 times
- external/gpl3/gdb/dist/gdb/mips-linux-nat.c, 10 times
- external/gpl3/gdb/dist/gdb/mips-nbsd-nat.c, 6 times
- external/gpl3/gdb/dist/gdb/mips64-obsd-nat.c, 3 times
- external/gpl3/gdb/dist/gdb/nat/aarch64-linux-hw-point.c, 3 times
- external/gpl3/gdb/dist/gdb/nat/aarch64-linux.c, line 240
- external/gpl3/gdb/dist/gdb/nat/aarch64-sve-linux-ptrace.c, 4 times
- external/gpl3/gdb/dist/gdb/nat/amd64-linux-siginfo.c, 5 times
- external/gpl3/gdb/dist/gdb/nat/gdb_ptrace.h, 2 times
- external/gpl3/gdb/dist/gdb/nat/linux-ptrace.c, 11 times
- external/gpl3/gdb/dist/gdb/nat/mips-linux-watch.c, line 167
- external/gpl3/gdb/dist/gdb/nat/netbsd-nat.c, 4 times
- external/gpl3/gdb/dist/gdb/nat/ppc-linux.c, line 89
- external/gpl3/gdb/dist/gdb/nat/riscv-linux-tdesc.c, line 63
- external/gpl3/gdb/dist/gdb/nat/x86-linux-dregs.c, 2 times
- external/gpl3/gdb/dist/gdb/nbsd-nat.c, 9 times
- external/gpl3/gdb/dist/gdb/obsd-nat.c, 7 times
- external/gpl3/gdb/dist/gdb/ppc-fbsd-nat.c, 6 times
- external/gpl3/gdb/dist/gdb/ppc-linux-nat.c, 29 times
- external/gpl3/gdb/dist/gdb/ppc-nbsd-nat.c, 6 times
- external/gpl3/gdb/dist/gdb/ppc-obsd-nat.c, 6 times
- external/gpl3/gdb/dist/gdb/riscv-fbsd-nat.c, 6 times
- external/gpl3/gdb/dist/gdb/riscv-linux-nat.c, 6 times
- external/gpl3/gdb/dist/gdb/riscv-nbsd-nat.c, 6 times
- external/gpl3/gdb/dist/gdb/rs6000-nat.c, line 156
- external/gpl3/gdb/dist/gdb/s390-linux-nat.c, 15 times
- external/gpl3/gdb/dist/gdb/sh-nbsd-nat.c, 3 times
- external/gpl3/gdb/dist/gdb/sparc-nat.c, 3 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.arch/aarch64-dbreg-contents.c, 4 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.base/attach-twice.c, line 43
- external/gpl3/gdb/dist/gdb/tilegx-linux-nat.c, 3 times
- external/gpl3/gdb/dist/gdb/vax-bsd-nat.c, 3 times
- external/gpl3/gdb/dist/gdb/x86-bsd-nat.c, 2 times
- external/gpl3/gdb/dist/gdb/x86-linux-nat.c, 5 times
- external/gpl3/gdb/dist/gdb/xtensa-linux-nat.c, 7 times
- external/gpl3/gdb/dist/gdbserver/linux-aarch64-low.cc, 2 times
- external/gpl3/gdb/dist/gdbserver/linux-arm-low.cc, 9 times
- external/gpl3/gdb/dist/gdbserver/linux-low.cc, 33 times
- external/gpl3/gdb/dist/gdbserver/linux-m68k-low.cc, line 215
- external/gpl3/gdb/dist/gdbserver/linux-mips-low.cc, 3 times
- external/gpl3/gdb/dist/gdbserver/linux-nios2-low.cc, line 194
- external/gpl3/gdb/dist/gdbserver/linux-ppc-low.cc, line 206
- external/gpl3/gdb/dist/gdbserver/linux-s390-low.cc, 3 times
- external/gpl3/gdb/dist/gdbserver/linux-tic6x-low.cc, line 294
- external/gpl3/gdb/dist/gdbserver/linux-x86-low.cc, 10 times
- external/gpl3/gdb/dist/gdbserver/linux-xtensa-low.cc, line 286
- external/gpl3/gdb/dist/gdbserver/netbsd-low.cc, 22 times
- lib/libc/arch/aarch64/sys/ptrace.S, 2 times
- lib/libc/arch/alpha/sys/ptrace.S, 3 times
- lib/libc/arch/arm/sys/ptrace.S, 2 times
- lib/libc/arch/hppa/sys/ptrace.S, 3 times
- lib/libc/arch/i386/sys/ptrace.S, 2 times
- lib/libc/arch/ia64/sys/ptrace.S, 2 times
- lib/libc/arch/m68k/sys/ptrace.S, 2 times
- lib/libc/arch/mips/sys/ptrace.S, 4 times
- lib/libc/arch/or1k/sys/ptrace.S, 2 times
- lib/libc/arch/powerpc/sys/ptrace.S, 2 times
- lib/libc/arch/powerpc64/sys/ptrace.S, 2 times
- lib/libc/arch/riscv/sys/ptrace.S, 2 times
- lib/libc/arch/sh3/sys/ptrace.S, line 111
- lib/libc/arch/vax/sys/ptrace.S, 2 times
- lib/libc/arch/x86_64/sys/ptrace.S, 2 times
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_linux.cc, line 725
- sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_rtl_report.cc, 10 times
- sys/kern/sys_ptrace.c, line 182
- tests/kernel/t_lockf.c, 2 times
- tests/lib/libc/sys/t_ptrace.c, 7 times
- tests/lib/libc/sys/t_ptrace_amd64_wait.h, 3 times
- tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h, 23 times
- tests/lib/libc/sys/t_ptrace_clone_wait.h, 22 times
- tests/lib/libc/sys/t_ptrace_core_wait.h, 5 times
- tests/lib/libc/sys/t_ptrace_eventmask_wait.h, 4 times
- tests/lib/libc/sys/t_ptrace_exec_wait.h, 4 times
- tests/lib/libc/sys/t_ptrace_fork_wait.h, 56 times
- tests/lib/libc/sys/t_ptrace_i386_wait.h, 3 times
- tests/lib/libc/sys/t_ptrace_kill_wait.h, 2 times
- tests/lib/libc/sys/t_ptrace_lwp_wait.h, 25 times
- tests/lib/libc/sys/t_ptrace_misc_wait.h, 4 times
- tests/lib/libc/sys/t_ptrace_register_wait.h, 8 times
- tests/lib/libc/sys/t_ptrace_sigchld.c, 3 times
- tests/lib/libc/sys/t_ptrace_siginfo_wait.h, 5 times
- tests/lib/libc/sys/t_ptrace_signal_wait.h, 52 times
- tests/lib/libc/sys/t_ptrace_step_wait.h, 8 times
- tests/lib/libc/sys/t_ptrace_syscall_wait.h, 14 times
- tests/lib/libc/sys/t_ptrace_threads_wait.h, 42 times
- tests/lib/libc/sys/t_ptrace_topology_wait.h, 9 times
- tests/lib/libc/sys/t_ptrace_x86_wait.h, 83 times
- usr.bin/gcore/gcore.c, 5 times