Home
last modified time | relevance | path

Searched refs:ptrace (Results 1 – 149 of 149) sorted by relevance

/linux-4.4.14/include/linux/
Dptrace.h92 if (unlikely(child->ptrace)) in ptrace_unlink()
114 if (unlikely(task->ptrace)) in ptrace_parent()
130 return task->ptrace & PT_EVENT_FLAG(event); in ptrace_event_enabled()
150 if ((current->ptrace & (PT_PTRACED|PT_SEIZED)) == PT_PTRACED) in ptrace_event()
196 static inline void ptrace_init_task(struct task_struct *child, bool ptrace) in ptrace_init_task() argument
201 child->ptrace = 0; in ptrace_init_task()
204 if (unlikely(ptrace) && current->ptrace) { in ptrace_init_task()
205 child->ptrace = current->ptrace; in ptrace_init_task()
208 if (child->ptrace & PT_SEIZED) in ptrace_init_task()
Dtracehook.h61 int ptrace = current->ptrace; in ptrace_report_syscall() local
63 if (!(ptrace & PT_PTRACED)) in ptrace_report_syscall()
66 ptrace_notify(SIGTRAP | ((ptrace & PT_TRACESYSGOOD) ? 0x80 : 0)); in ptrace_report_syscall()
Dsched.h1385 unsigned int ptrace; member
/linux-4.4.14/arch/um/os-Linux/
Dstart_up.c36 ptrace(PTRACE_TRACEME, 0, 0, 0) < 0) { in ptrace_child()
125 if (ptrace(PTRACE_CONT, pid, 0, 0) < 0) { in stop_ptraced_child()
173 if (ptrace(PTRACE_SYSEMU, pid, 0, 0) < 0) in check_sysemu()
183 if (ptrace(PTRACE_GETREGS, pid, 0, regs) < 0) in check_sysemu()
191 n = ptrace(PTRACE_POKEUSER, pid, PT_SYSCALL_RET_OFFSET, os_getpid()); in check_sysemu()
208 if ((ptrace(PTRACE_OLDSETOPTIONS, pid, 0, in check_sysemu()
214 if (ptrace(PTRACE_SYSEMU_SINGLESTEP, pid, 0, 0) < 0) in check_sysemu()
227 n = ptrace(PTRACE_POKEUSER, pid, PT_SYSCALL_RET_OFFSET, in check_sysemu()
266 if ((ptrace(PTRACE_OLDSETOPTIONS, pid, 0, in check_ptrace()
271 if (ptrace(PTRACE_SYSCALL, pid, 0, 0) < 0) in check_ptrace()
[all …]
Dregisters.c18 err = ptrace(PTRACE_GETREGS, pid, 0, regs->gp); in save_registers()
28 err = ptrace(PTRACE_SETREGS, pid, 0, regs->gp); in restore_registers()
43 err = ptrace(PTRACE_GETREGS, pid, 0, exec_regs); in init_registers()
Dprocess.c118 ptrace(PTRACE_KILL, pid); in os_kill_ptraced_process()
119 ptrace(PTRACE_CONT, pid); in os_kill_ptraced_process()
/linux-4.4.14/tools/testing/selftests/breakpoints/
Dbreakpoint_test.c43 ret = ptrace(PTRACE_POKEUSER, child_pid, in set_breakpoint_addr()
86 dr7 = ptrace(PTRACE_PEEKUSER, child_pid, in toggle_breakpoint()
106 ret = ptrace(PTRACE_POKEUSER, child_pid, in toggle_breakpoint()
207 ret = ptrace(PTRACE_TRACEME, 0, NULL, 0); in trigger_tests()
274 child_nr_tests = ptrace(PTRACE_PEEKDATA, child_pid, in check_success()
278 if (ptrace(PTRACE_POKEDATA, child_pid, &trapped, 1)) { in check_success()
296 ptrace(PTRACE_CONT, child_pid, NULL, 0); in launch_instruction_breakpoints()
318 ptrace(PTRACE_CONT, child_pid, NULL, 0); in launch_watchpoints()
366 ptrace(PTRACE_CONT, child_pid, NULL, 0); in launch_tests()
370 ptrace(PTRACE_CONT, child_pid, NULL, 0); in launch_tests()
[all …]
/linux-4.4.14/arch/x86/um/os-Linux/
Dregisters.c17 if (ptrace(PTRACE_GETFPREGS, pid, 0, fp_regs) < 0) in save_fp_registers()
24 if (ptrace(PTRACE_SETFPREGS, pid, 0, fp_regs) < 0) in restore_fp_registers()
33 if (ptrace(PTRACE_GETFPXREGS, pid, 0, fp_regs) < 0) in save_fpx_registers()
40 if (ptrace(PTRACE_SETFPXREGS, pid, 0, fp_regs) < 0) in restore_fpx_registers()
66 err = ptrace(PTRACE_GETFPXREGS, pid, 0, &fpx_regs); in arch_init_registers()
Dtls.c51 ret = ptrace(PTRACE_SET_THREAD_AREA, pid, info->entry_number, in os_set_thread_area()
62 ret = ptrace(PTRACE_GET_THREAD_AREA, pid, info->entry_number, in os_get_thread_area()
Dprctl.c11 return ptrace(PTRACE_ARCH_PRCTL, pid, (unsigned long) addr, code); in os_arch_prctl()
/linux-4.4.14/tools/testing/selftests/x86/
Dptrace_syscall.c170 if (ptrace(PTRACE_TRACEME, 0, 0, 0) != 0) in test_ptrace_syscall_restart()
189 if (ptrace(PTRACE_SYSEMU, chld, 0, 0) != 0) in test_ptrace_syscall_restart()
193 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0) in test_ptrace_syscall_restart()
217 if (ptrace(PTRACE_SETREGS, chld, 0, &regs) != 0) in test_ptrace_syscall_restart()
220 if (ptrace(PTRACE_SYSEMU, chld, 0, 0) != 0) in test_ptrace_syscall_restart()
224 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0) in test_ptrace_syscall_restart()
249 if (ptrace(PTRACE_SETREGS, chld, 0, &regs) != 0) in test_ptrace_syscall_restart()
252 if (ptrace(PTRACE_SYSEMU, chld, 0, 0) != 0) in test_ptrace_syscall_restart()
256 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0) in test_ptrace_syscall_restart()
268 if (ptrace(PTRACE_CONT, chld, 0, 0) != 0) in test_ptrace_syscall_restart()
Dtest_syscall_vdso.c351 if (ptrace(PTRACE_TRACEME, 0L, 0L, 0L) != 0) in ptrace_me()
373 ptrace(PTRACE_SYSCALL, pid, 0L, 0L /*sig*/); in ptrace_me()
/linux-4.4.14/arch/um/os-Linux/skas/
Dprocess.c35 if (ptrace(PTRACE_GETREGS, pid, 0, regs) < 0) in ptrace_dump_regs()
66 err = ptrace(PTRACE_CONT, pid, 0, 0); in wait_stub_done()
101 err = ptrace(PTRACE_CONT, pid, 0, SIGSEGV); in get_skas_faultinfo()
143 err = ptrace(PTRACE_POKEUSER, pid, PT_SYSCALL_NR_OFFSET, in handle_trap()
151 err = ptrace(PTRACE_SYSCALL, pid, 0, 0); in handle_trap()
190 ptrace(PTRACE_TRACEME, 0, 0, 0); in userspace_tramp()
293 if (ptrace(PTRACE_OLDSETOPTIONS, pid, NULL, in start_userspace()
335 if (ptrace(PTRACE_SETREGS, pid, 0, regs->gp)) in userspace()
347 if (ptrace(op, pid, 0, 0)) { in userspace()
361 if (ptrace(PTRACE_GETREGS, pid, 0, regs->gp)) { in userspace()
[all …]
Dmem.c65 err = ptrace(PTRACE_CONT, pid, 0, 0); in do_syscall_stub()
/linux-4.4.14/Documentation/security/
DYama.txt24 exist and remain possible if ptrace is allowed to operate as before.
25 Since ptrace is not commonly used by non-developers and non-admins, system
29 specifically disallow such ptrace attachment (e.g. ssh-agent), but many
30 do not. A more general solution is to only allow ptrace directly from a
42 to ptrace each other. If a process wishes to entirely disable these ptrace
49 0 - classic ptrace permissions: a process can PTRACE_ATTACH to any other
55 1 - restricted ptrace: a process must have a predefined relationship
63 2 - admin-only attach: only processes with CAP_SYS_PTRACE may use ptrace
66 3 - no attach: no processes may use ptrace with PTRACE_ATTACH nor via
Dcredentials.txt470 The mutex prevents ptrace() from altering the ptrace state of a process whilst
472 the ptrace state may alter the outcome, particularly in the case of execve().
488 current->cred_replace_mutex to allow ptrace() to take place, and it will notify
DSmack.txt238 ptrace
239 This is used to define the current ptrace policy
/linux-4.4.14/kernel/
Dexit.c532 if (!p->ptrace && in reparent_leader()
568 BUG_ON((!t->ptrace) != (t->parent == father)); in forget_original_parent()
569 if (likely(!t->ptrace)) in forget_original_parent()
601 if (unlikely(tsk->ptrace)) { in exit_notify()
922 eligible_child(struct wait_opts *wo, bool ptrace, struct task_struct *p) in eligible_child() argument
931 if (ptrace || (wo->wo_flags & __WALL)) in eligible_child()
1131 static int *task_stopped_code(struct task_struct *p, bool ptrace) in task_stopped_code() argument
1133 if (ptrace) { in task_stopped_code()
1163 int ptrace, struct task_struct *p) in wait_task_stopped() argument
1173 if (!ptrace && !(wo->wo_flags & WUNTRACED)) in wait_task_stopped()
[all …]
Dptrace.c74 BUG_ON(!child->ptrace); in __ptrace_unlink()
76 child->ptrace = 0; in __ptrace_unlink()
145 WARN_ON(!task->ptrace || task->parent != current); in ptrace_unfreeze_traced()
184 if (child->ptrace && child->parent == current) { in ptrace_check_attach()
341 if (task->ptrace) in ptrace_attach()
350 task->ptrace = flags; in ptrace_attach()
410 if (!current->ptrace) { in ptrace_traceme()
418 current->ptrace = PT_PTRACED; in ptrace_traceme()
494 WARN_ON(!child->ptrace || child->exit_state); in ptrace_detach()
517 if (unlikely(p->ptrace & PT_EXITKILL)) in exit_ptrace()
[all …]
Dsignal.c97 return !t->ptrace; in sig_ignored()
503 return !tsk->ptrace; in unhandled_signal()
767 WARN_ON_ONCE(!(t->ptrace & PT_SEIZED)); in ptrace_trap_notify()
814 if (likely(!(t->ptrace & PT_SEIZED))) in prepare_signal()
914 (sig == SIGKILL || !t->ptrace)) { in complete_signal()
1585 BUG_ON(!tsk->ptrace && in do_notify_parent()
1632 if (!tsk->ptrace && sig == SIGCHLD && in do_notify_parent()
1734 if (!likely(current->ptrace)) in may_ptrace_stop()
1998 if (likely(!(t->ptrace & PT_SEIZED))) in do_signal_stop()
2006 if (likely(!current->ptrace)) { in do_signal_stop()
[all …]
DMakefile7 sysctl.o sysctl_binary.o capability.o ptrace.o user.o \
Dseccomp.c553 unlikely(current->ptrace & PT_SUSPEND_SECCOMP)) in secure_computing_strict()
658 unlikely(current->ptrace & PT_SUSPEND_SECCOMP)) in seccomp_phase1()
/linux-4.4.14/arch/x86/um/
Dptrace_user.c11 if (ptrace(PTRACE_GETREGS, pid, 0, regs_out) < 0) in ptrace_getregs()
18 if (ptrace(PTRACE_SETREGS, pid, 0, regs) < 0) in ptrace_setregs()
/linux-4.4.14/arch/um/kernel/
Dsignal.c28 if ((current->ptrace & PT_DTRACE) && (current->ptrace & PT_PTRACED)) in handle_signal()
103 if (current->ptrace & PT_DTRACE) in do_signal()
Dptrace.c15 child->ptrace |= PT_DTRACE; in user_enable_single_step()
25 child->ptrace &= ~PT_DTRACE; in user_disable_single_step()
151 int ptraced = current->ptrace; in syscall_trace_leave()
Dexec.c45 current->ptrace &= ~PT_DTRACE; in start_thread()
DMakefile14 physmem.o process.o ptrace.o reboot.o sigio.o \
Dprocess.c341 if (!(task->ptrace & PT_DTRACE)) in singlestepping()
/linux-4.4.14/arch/xtensa/kernel/
Dptrace.c35 child->ptrace |= PT_SINGLESTEP; in user_enable_single_step()
40 child->ptrace &= ~PT_SINGLESTEP; in user_disable_single_step()
325 ptrace_notify(SIGTRAP|((current->ptrace & PT_TRACESYSGOOD) ? 0x80 : 0)); in do_syscall_trace()
341 && (current->ptrace & PT_PTRACED)) in do_syscall_trace_enter()
352 && (current->ptrace & PT_PTRACED)) in do_syscall_trace_leave()
DMakefile8 ptrace.o setup.o signal.o stacktrace.o syscall.o time.o traps.o \
Dsignal.c461 if (current->ptrace & PT_SINGLESTEP) in do_signal()
487 if (current->ptrace & PT_SINGLESTEP) in do_signal()
Dasm-offsets.c72 DEFINE(TASK_PTRACE, offsetof (struct task_struct, ptrace)); in main()
/linux-4.4.14/drivers/connector/
Dcn_proc.c203 ev->event_data.ptrace.process_pid = task->pid; in proc_ptrace_connector()
204 ev->event_data.ptrace.process_tgid = task->tgid; in proc_ptrace_connector()
206 ev->event_data.ptrace.tracer_pid = current->pid; in proc_ptrace_connector()
207 ev->event_data.ptrace.tracer_tgid = current->tgid; in proc_ptrace_connector()
209 ev->event_data.ptrace.tracer_pid = 0; in proc_ptrace_connector()
210 ev->event_data.ptrace.tracer_tgid = 0; in proc_ptrace_connector()
/linux-4.4.14/arch/unicore32/kernel/
Dptrace.c121 if (!(current->ptrace & PT_PTRACED)) in syscall_trace()
135 ptrace_notify(SIGTRAP | ((current->ptrace & PT_TRACESYSGOOD) in syscall_trace()
DMakefile6 obj-y := dma.o elf.o entry.o process.o ptrace.o
Dentry.S181 @ r4 - orig_r0 (see pt_regs definition in ptrace.h)
208 @ r4 - orig_r0 (see pt_regs definition in ptrace.h)
/linux-4.4.14/tools/testing/selftests/seccomp/
Dseccomp_bpf.c1038 ret = ptrace(PTRACE_ATTACH, tracee, NULL, 0); in tracer()
1045 ret = ptrace(PTRACE_SETOPTIONS, tracee, NULL, PTRACE_O_TRACESECCOMP); in tracer()
1050 ptrace(PTRACE_CONT, tracee, NULL, 0); in tracer()
1071 ret = ptrace(PTRACE_CONT, tracee, NULL, NULL); in tracer()
1136 ret = ptrace(PTRACE_GETEVENTMSG, tracee, NULL, &msg); in tracer_poke()
1147 ret = ptrace(PTRACE_POKEDATA, tracee, info->poke_addr, 0x1001); in tracer_poke()
1257 EXPECT_EQ(0, ptrace(PTRACE_GETREGSET, tracee, NT_PRSTATUS, &iov)) { in get_syscall()
1275 ret = ptrace(PTRACE_GETREGSET, tracee, NT_PRSTATUS, &iov); in change_syscall()
1289 ret = ptrace(PTRACE_SET_SYSCALL, tracee, NULL, syscall); in change_syscall()
1300 ret = ptrace(PTRACE_SETREGSET, tracee, NT_ARM_SYSTEM_CALL, in change_syscall()
[all …]
/linux-4.4.14/arch/cris/arch-v10/kernel/
Dptrace.c186 if (!(current->ptrace & PT_PTRACED)) in do_syscall_trace()
191 ptrace_notify(SIGTRAP | ((current->ptrace & PT_TRACESYSGOOD) in do_syscall_trace()
DMakefile9 process.o setup.o signal.o traps.o time.o ptrace.o \
/linux-4.4.14/Documentation/powerpc/
D00-INDEX29 ptrace.txt
30 - Information on the ptrace interfaces for hardware debug registers.
Dptrace.txt8 For that, we need to extend ptrace so that GDB can query and set these
12 following 3 new ptrace requests.
84 ptrace will return an integer (handle) uniquely identifying the breakpoint or
Ddscr.txt80 (3) ptrace interface (Explicitly set user DSCR value)
Dtransactional_memory.txt193 GDB and ptrace are not currently TM-aware. If one stops during a transaction,
/linux-4.4.14/arch/x86/include/uapi/asm/
DKbuild42 header-y += ptrace-abi.h
43 header-y += ptrace.h
/linux-4.4.14/arch/score/kernel/
DMakefile7 obj-y += entry.o irq.o process.o ptrace.o \
Dptrace.c363 if (!(current->ptrace & PT_PTRACED)) in do_syscall_trace()
371 ptrace_notify(SIGTRAP | ((current->ptrace & PT_TRACESYSGOOD) ? in do_syscall_trace()
/linux-4.4.14/arch/unicore32/include/uapi/asm/
DKbuild6 header-y += ptrace.h
/linux-4.4.14/arch/openrisc/kernel/
DMakefile8 traps.o time.o irq.o entry.o ptrace.o signal.o \
Dasm-offsets.c47 DEFINE(TASK_PTRACE, offsetof(struct task_struct, ptrace)); in main()
/linux-4.4.14/arch/m32r/kernel/
DMakefile8 m32r_ksyms.o sys_m32r.o signal.o ptrace.o
Dptrace.c685 if (!(current->ptrace & PT_PTRACED)) in do_syscall_trace()
689 ptrace_notify(SIGTRAP | ((current->ptrace & PT_TRACESYSGOOD) in do_syscall_trace()
/linux-4.4.14/arch/openrisc/include/uapi/asm/
DKbuild8 header-y += ptrace.h
/linux-4.4.14/arch/cris/kernel/
DMakefile9 obj-y := process.o traps.o irq.o ptrace.o setup.o time.o sys_cris.o
/linux-4.4.14/arch/cris/arch-v32/kernel/
DMakefile9 process.o ptrace.o setup.o signal.o traps.o time.o \
Dptrace.c255 if (!(current->ptrace & PT_PTRACED)) in do_syscall_trace()
260 ptrace_notify(SIGTRAP | ((current->ptrace & PT_TRACESYSGOOD) in do_syscall_trace()
/linux-4.4.14/arch/c6x/kernel/
DMakefile7 obj-y := process.o traps.o irq.o signal.o ptrace.o
Dentry.S344 ;; Check for ptrace
/linux-4.4.14/arch/c6x/include/uapi/asm/
DKbuild8 header-y += ptrace.h
/linux-4.4.14/arch/metag/include/uapi/asm/
DKbuild6 header-y += ptrace.h
/linux-4.4.14/arch/h8300/kernel/
DMakefile7 obj-y := process.o traps.o ptrace.o \
Dasm-offsets.c25 OFFSET(TASK_PTRACE, task_struct, ptrace); in main()
/linux-4.4.14/arch/hexagon/include/uapi/asm/
DKbuild8 header-y += ptrace.h
/linux-4.4.14/arch/avr32/kernel/
DMakefile9 obj-y += setup.o traps.o ocd.o ptrace.o
Dptrace.c196 if (!(current->ptrace & PT_PTRACED)) in syscall_trace()
201 ptrace_notify(SIGTRAP | ((current->ptrace & PT_TRACESYSGOOD) in syscall_trace()
/linux-4.4.14/arch/nios2/kernel/
DMakefile15 obj-y += ptrace.o
/linux-4.4.14/security/yama/
DKconfig8 access controls. Currently available is ptrace scope restriction.
/linux-4.4.14/arch/hexagon/kernel/
DMakefile6 obj-y += process.o trampoline.o reset.o ptrace.o vdso.o
/linux-4.4.14/arch/blackfin/include/uapi/asm/
DKbuild13 header-y += ptrace.h
/linux-4.4.14/arch/tile/include/uapi/asm/
DKbuild11 header-y += ptrace.h
/linux-4.4.14/arch/arm/include/uapi/asm/
DKbuild13 header-y += ptrace.h
/linux-4.4.14/Documentation/features/core/tracehook/
Darch-support.txt4 # description: arch supports tracehook (ptrace) register handling APIs
/linux-4.4.14/arch/arm64/include/uapi/asm/
DKbuild14 header-y += ptrace.h
/linux-4.4.14/arch/tile/kernel/
Dptrace.c223 unsigned int flags = child->ptrace; in arch_ptrace()
226 child->ptrace = flags; in arch_ptrace()
DMakefile7 pci-dma.o proc.o process.o ptrace.o reboot.o \
/linux-4.4.14/arch/microblaze/kernel/
DMakefile19 platform.o process.o prom.o ptrace.o \
Dasm-offsets.c76 DEFINE(TASK_PTRACE, offsetof(struct task_struct, ptrace)); in main()
/linux-4.4.14/arch/frv/kernel/
DMakefile11 process.o traps.o ptrace.o signal.o dma.o \
/linux-4.4.14/include/uapi/linux/
Dcn_proc.h107 } ptrace; member
DKbuild342 header-y += ptrace.h
/linux-4.4.14/arch/xtensa/include/uapi/asm/
DKbuild13 header-y += ptrace.h
/linux-4.4.14/arch/sh/include/uapi/asm/
DKbuild13 header-y += ptrace.h
/linux-4.4.14/arch/m68k/kernel/
DMakefile16 obj-y := entry.o irq.o m68k_ksyms.o module.o process.o ptrace.o
Dptrace.c276 ptrace_notify(SIGTRAP | ((current->ptrace & PT_TRACESYSGOOD) in syscall_trace()
/linux-4.4.14/arch/metag/kernel/
DMakefile17 obj-y += ptrace.o
/linux-4.4.14/arch/s390/kernel/
Dtraps.c101 if (!current->ptrace) in do_per_trap()
194 if (current->ptrace) { in illegal_op()
DMakefile43 obj-y += processor.o sys_s390.o ptrace.o signal.o cpcmd.o ebcdic.o nmi.o
/linux-4.4.14/arch/arc/kernel/
DMakefile11 obj-y := arcksyms.o setup.o irq.o time.o reset.o ptrace.o process.o devtree.o
/linux-4.4.14/arch/blackfin/kernel/
DMakefile8 entry.o process.o bfin_ksyms.o ptrace.o setup.o signal.o \
Dasm-offsets.c24 DEFINE(TASK_PTRACE, offsetof(struct task_struct, ptrace)); in main()
/linux-4.4.14/arch/parisc/include/uapi/asm/
DKbuild17 header-y += ptrace.h
/linux-4.4.14/arch/mn10300/include/uapi/asm/
DKbuild18 header-y += ptrace.h
/linux-4.4.14/arch/score/include/uapi/asm/
DKbuild18 header-y += ptrace.h
/linux-4.4.14/arch/m32r/include/uapi/asm/
DKbuild17 header-y += ptrace.h
/linux-4.4.14/arch/mn10300/kernel/
DMakefile10 ptrace.o setup.o time.o sys_mn10300.o io.o \
/linux-4.4.14/arch/m68k/include/uapi/asm/
DKbuild29 header-y += ptrace.h
/linux-4.4.14/arch/microblaze/include/uapi/asm/
DKbuild21 header-y += ptrace.h
/linux-4.4.14/arch/avr32/include/uapi/asm/
DKbuild10 header-y += ptrace.h
/linux-4.4.14/arch/parisc/kernel/
DMakefile9 ptrace.o hardware.o inventory.o drivers.o \
Dsyscall_table.S90 ENTRY_COMP(ptrace)
Dasm-offsets.c61 DEFINE(TASK_PTRACE, offsetof(struct task_struct, ptrace)); in main()
/linux-4.4.14/arch/frv/include/uapi/asm/
DKbuild18 header-y += ptrace.h
/linux-4.4.14/arch/mips/include/uapi/asm/
DKbuild23 header-y += ptrace.h
/linux-4.4.14/include/uapi/asm-generic/
DKbuild.asm24 header-y += ptrace.h
/linux-4.4.14/tools/testing/selftests/
DMakefile18 TARGETS += ptrace
/linux-4.4.14/arch/cris/include/uapi/asm/
DKbuild24 header-y += ptrace.h
/linux-4.4.14/arch/sh/kernel/
DMakefile17 process_$(BITS).o ptrace.o ptrace_$(BITS).o \
/linux-4.4.14/arch/alpha/include/uapi/asm/
DKbuild24 header-y += ptrace.h
/linux-4.4.14/arch/powerpc/include/uapi/asm/
DKbuild28 header-y += ptrace.h
/linux-4.4.14/arch/sparc/include/uapi/asm/
DKbuild31 header-y += ptrace.h
/linux-4.4.14/arch/ia64/include/uapi/asm/
DKbuild29 header-y += ptrace.h
/linux-4.4.14/arch/s390/include/uapi/asm/
DKbuild27 header-y += ptrace.h
/linux-4.4.14/arch/arm64/kernel/
DMakefile15 entry-fpsimd.o process.o ptrace.o setup.o signal.o \
/linux-4.4.14/arch/ia64/kernel/
DMakefile12 irq_lsapic.o ivt.o machvec.o pal.o patch.o process.o perfmon.o ptrace.o sal.o \
/linux-4.4.14/arch/arm/kernel/
DMakefile19 process.o ptrace.o reboot.o return_address.o \
Dentry-armv.S184 @ r6 - orig_r0 (see pt_regs definition in ptrace.h)
/linux-4.4.14/Documentation/prctl/
Dseccomp_filter.txt119 notify a ptrace()-based tracer prior to executing the system
124 using ptrace(PTRACE_SETOPTIONS). The tracer will be notified
138 allow use of ptrace, even of other sandboxed processes, without
Dno_new_privs.txt15 - The exec code has special handling for ptrace.
/linux-4.4.14/Documentation/vm/
Dovercommit-accounting80 o Account ptrace pages (this is hard)
/linux-4.4.14/Documentation/
Dkselftest.txt36 $ make -C tools/testing/selftests TARGETS=ptrace run_tests
Dkprobes.txt372 #include <linux/ptrace.h>
381 #include <linux/ptrace.h>
390 #include <linux/ptrace.h>
431 #include <linux/ptrace.h>
Dnommu-mmap.txt13 ptrace() work. Under uClinux there is no fork(), and clone() must be supplied
Dcachetlb.txt338 of arbitrary user pages (f.e. for ptrace()) it will use
/linux-4.4.14/arch/x86/kernel/
DMakefile47 obj-y += ptrace.o
/linux-4.4.14/arch/x86/entry/syscalls/
Dsyscall_64.tbl110 101 64 ptrace sys_ptrace
349 521 x32 ptrace compat_sys_ptrace
Dsyscall_32.tbl35 26 i386 ptrace sys_ptrace compat_sys_ptrace
/linux-4.4.14/arch/mips/kernel/
DMakefile8 process.o prom.o ptrace.o reset.o setup.o signal.o \
/linux-4.4.14/arch/alpha/kernel/
DMakefile10 irq_alpha.o signal.o setup.o ptrace.o time.o \
/linux-4.4.14/Documentation/filesystems/
Dfuse.txt292 mount owner can ptrace a process, it can do all of the above
294 ptrace can be used to check if a process is allowed to access
297 Note that the ptrace check is not strictly necessary to
DLocking572 /proc/pid/mem or ptrace. This function is needed only for
/linux-4.4.14/arch/powerpc/kernel/
DMakefile29 obj-y := cputable.o ptrace.o syscalls.o \
/linux-4.4.14/arch/
DKconfig195 # task_pt_regs() in asm/processor.h or asm/ptrace.h
241 declared in asm/ptrace.h
341 need to be called from a ptrace-safe context. It must then
/linux-4.4.14/Documentation/block/
Dioprio.txt67 #include <sys/ptrace.h>
/linux-4.4.14/arch/arm/nwfpe/
DChangeLog19 It is used by users of ptrace to examine the values of the
/linux-4.4.14/fs/
Dexec.c1005 if (unlikely(leader->ptrace)) in de_thread()
1256 if (p->ptrace) { in check_unsafe_exec()
1257 if (p->ptrace & PT_PTRACE_CAP) in check_unsafe_exec()
/linux-4.4.14/Documentation/parisc/
Dregisters9 CR 0 (Recovery Counter) used for ptrace
/linux-4.4.14/arch/powerpc/include/asm/
Dsystbl.h32 COMPAT_SYS(ptrace)
/linux-4.4.14/Documentation/cgroups/
Dfreezer-subsystem.txt44 signals is gdb. In fact any program designed to use ptrace is likely to
/linux-4.4.14/Documentation/trace/
Dftrace-design.txt224 - Put the trace_sys_enter() and trace_sys_exit() tracepoints calls from ptrace
225 in the ptrace syscalls tracing path.
/linux-4.4.14/Documentation/frv/
Dfeatures.txt147 The ptrace() system call supports the following userspace debugging
/linux-4.4.14/Documentation/ia64/
Dfsys.txt59 yet. For convenience, the header file <asm-ia64/ptrace.h> provides
/linux-4.4.14/Documentation/virtual/uml/
DUserModeLinux-HOWTO.txt113 13.11 UML build conflict between ptrace.h and ucontext.h
2475 ptraced for system call interception, so gdb can't ptrace them.
2483 ptrace proxy so that gdb works with UML, respectively.
3990 13.11. UML build conflict between ptrace.h and ucontext.h
3992 On some older systems, /usr/include/asm/ptrace.h and
4316 Lars Brinkhoff <http://lars.nocrew.org/> - Contributed the ptrace
/linux-4.4.14/Documentation/filesystems/caching/
Dcachefiles.txt428 This means it may lose signals or ptrace events for example, and affects what
/linux-4.4.14/mm/
Dnommu.c1108 if ((flags & MAP_PRIVATE) && current->ptrace) in determine_vm_flags()
/linux-4.4.14/arch/arm64/
DKconfig774 the user helper functions, VFP support and the ptrace interface are
/linux-4.4.14/Documentation/DocBook/
Ddevice-drivers.xml.db156 API-ptrace-trap-notify
/linux-4.4.14/arch/mips/
DKconfig1986 # Set to y for ptrace access to watch registers.
/linux-4.4.14/Documentation/s390/
DDebugging390.txt1985 rather inefficient ptrace interface for peeking at DATA.
/linux-4.4.14/
DCREDITS505 D: ptrace proxy in user mode kernel port
DMAINTAINERS8588 F: include/linux/ptrace.h
8591 F: include/uapi/linux/ptrace.h
8592 F: kernel/ptrace.c