Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Dptrace.h91 if (unlikely(child->ptrace)) in ptrace_unlink()
113 if (unlikely(task->ptrace)) in ptrace_parent()
129 return task->ptrace & PT_EVENT_FLAG(event); in ptrace_event_enabled()
149 if ((current->ptrace & (PT_PTRACED|PT_SEIZED)) == PT_PTRACED) in ptrace_event()
195 static inline void ptrace_init_task(struct task_struct *child, bool ptrace) in ptrace_init_task() argument
200 child->ptrace = 0; in ptrace_init_task()
203 if (unlikely(ptrace) && current->ptrace) { in ptrace_init_task()
204 child->ptrace = current->ptrace; in ptrace_init_task()
207 if (child->ptrace & PT_SEIZED) in ptrace_init_task()
Dtracehook.h60 int ptrace = current->ptrace; in ptrace_report_syscall() local
62 if (!(ptrace & PT_PTRACED)) in ptrace_report_syscall()
65 ptrace_notify(SIGTRAP | ((ptrace & PT_TRACESYSGOOD) ? 0x80 : 0)); in ptrace_report_syscall()
Dsched.h1298 unsigned int ptrace; member
/linux-4.1.27/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.c112 ptrace(PTRACE_KILL, pid); in os_kill_ptraced_process()
113 ptrace(PTRACE_CONT, pid); in os_kill_ptraced_process()
/linux-4.1.27/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.1.27/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.1.27/Documentation/security/
DYama.txt26 exist and remain possible if ptrace is allowed to operate as before.
27 Since ptrace is not commonly used by non-developers and non-admins, system
31 specifically disallow such ptrace attachment (e.g. ssh-agent), but many
32 do not. A more general solution is to only allow ptrace directly from a
44 to ptrace each other. If a process wishes to entirely disable these ptrace
51 0 - classic ptrace permissions: a process can PTRACE_ATTACH to any other
57 1 - restricted ptrace: a process must have a predefined relationship
65 2 - admin-only attach: only processes with CAP_SYS_PTRACE may use ptrace
68 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.txt214 ptrace
215 This is used to define the current ptrace policy
/linux-4.1.27/arch/um/os-Linux/skas/
Dprocess.c34 if (ptrace(PTRACE_GETREGS, pid, 0, regs) < 0) in ptrace_dump_regs()
65 err = ptrace(PTRACE_CONT, pid, 0, 0); in wait_stub_done()
100 err = ptrace(PTRACE_CONT, pid, 0, SIGSEGV); in get_skas_faultinfo()
145 err = ptrace(PTRACE_POKEUSER, pid, PT_SYSCALL_NR_OFFSET, in handle_trap()
153 err = ptrace(PTRACE_SYSCALL, pid, 0, 0); in handle_trap()
185 ptrace(PTRACE_TRACEME, 0, 0, 0); in userspace_tramp()
294 if (ptrace(PTRACE_OLDSETOPTIONS, pid, NULL, in start_userspace()
343 if (ptrace(PTRACE_SETREGS, pid, 0, regs->gp)) in userspace()
355 if (ptrace(op, pid, 0, 0)) { in userspace()
369 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.1.27/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()
918 eligible_child(struct wait_opts *wo, bool ptrace, struct task_struct *p) in eligible_child() argument
927 if (ptrace || (wo->wo_flags & __WALL)) in eligible_child()
1127 static int *task_stopped_code(struct task_struct *p, bool ptrace) in task_stopped_code() argument
1129 if (ptrace) { in task_stopped_code()
1159 int ptrace, struct task_struct *p) in wait_task_stopped() argument
1169 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()
508 return !tsk->ptrace; in unhandled_signal()
818 WARN_ON_ONCE(!(t->ptrace & PT_SEIZED)); in ptrace_trap_notify()
865 if (likely(!(t->ptrace & PT_SEIZED))) in prepare_signal()
965 (sig == SIGKILL || !t->ptrace)) { in complete_signal()
1636 BUG_ON(!tsk->ptrace && in do_notify_parent()
1683 if (!tsk->ptrace && sig == SIGCHLD && in do_notify_parent()
1785 if (!likely(current->ptrace)) in may_ptrace_stop()
2049 if (likely(!(t->ptrace & PT_SEIZED))) in do_signal_stop()
2057 if (likely(!current->ptrace)) { in do_signal_stop()
[all …]
DMakefile7 sysctl.o sysctl_binary.o capability.o ptrace.o user.o \
/linux-4.1.27/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.1.27/arch/um/kernel/
Dsignal.c28 if ((current->ptrace & PT_DTRACE) && (current->ptrace & PT_PTRACED)) in handle_signal()
103 if (current->ptrace & PT_DTRACE) in kern_do_signal()
Dptrace.c14 child->ptrace |= PT_DTRACE; in user_enable_single_step()
24 child->ptrace &= ~PT_DTRACE; in user_disable_single_step()
150 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.c339 if (!(task->ptrace & PT_DTRACE)) in singlestepping()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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
Dtransactional_memory.txt193 GDB and ptrace are not currently TM-aware. If one stops during a transaction,
/linux-4.1.27/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.1.27/arch/x86/include/uapi/asm/
DKbuild42 header-y += ptrace-abi.h
43 header-y += ptrace.h
/linux-4.1.27/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.1.27/arch/unicore32/include/uapi/asm/
DKbuild6 header-y += ptrace.h
/linux-4.1.27/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.1.27/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.1.27/arch/cris/kernel/
DMakefile9 obj-y := process.o traps.o irq.o ptrace.o setup.o time.o sys_cris.o
/linux-4.1.27/arch/openrisc/include/uapi/asm/
DKbuild8 header-y += ptrace.h
/linux-4.1.27/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.1.27/arch/c6x/include/uapi/asm/
DKbuild8 header-y += ptrace.h
/linux-4.1.27/arch/c6x/kernel/
DMakefile7 obj-y := process.o traps.o irq.o signal.o ptrace.o
Dentry.S344 ;; Check for ptrace
/linux-4.1.27/arch/metag/include/uapi/asm/
DKbuild6 header-y += ptrace.h
/linux-4.1.27/arch/hexagon/include/uapi/asm/
DKbuild8 header-y += ptrace.h
/linux-4.1.27/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.1.27/arch/nios2/kernel/
DMakefile15 obj-y += ptrace.o
/linux-4.1.27/arch/hexagon/kernel/
DMakefile6 obj-y += process.o trampoline.o reset.o ptrace.o vdso.o
/linux-4.1.27/arch/blackfin/include/uapi/asm/
DKbuild13 header-y += ptrace.h
/linux-4.1.27/arch/tile/include/uapi/asm/
DKbuild11 header-y += ptrace.h
/linux-4.1.27/arch/arm/include/uapi/asm/
DKbuild13 header-y += ptrace.h
/linux-4.1.27/arch/arm64/include/uapi/asm/
DKbuild14 header-y += ptrace.h
/linux-4.1.27/security/yama/
DKconfig8 access controls. Currently available is ptrace scope restriction.
/linux-4.1.27/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.1.27/arch/arc/kernel/
DMakefile11 obj-y := arcksyms.o setup.o irq.o time.o reset.o ptrace.o entry.o process.o
/linux-4.1.27/arch/sh/include/uapi/asm/
DKbuild13 header-y += ptrace.h
/linux-4.1.27/arch/xtensa/include/uapi/asm/
DKbuild13 header-y += ptrace.h
/linux-4.1.27/arch/frv/kernel/
DMakefile11 process.o traps.o ptrace.o signal.o dma.o \
/linux-4.1.27/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.1.27/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.1.27/include/uapi/linux/
Dcn_proc.h107 } ptrace; member
DKbuild335 header-y += ptrace.h
/linux-4.1.27/arch/metag/kernel/
DMakefile17 obj-y += ptrace.o
/linux-4.1.27/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.1.27/arch/parisc/include/uapi/asm/
DKbuild17 header-y += ptrace.h
/linux-4.1.27/arch/mn10300/include/uapi/asm/
DKbuild18 header-y += ptrace.h
/linux-4.1.27/arch/mn10300/kernel/
DMakefile10 ptrace.o setup.o time.o sys_mn10300.o io.o \
/linux-4.1.27/arch/m32r/include/uapi/asm/
DKbuild17 header-y += ptrace.h
/linux-4.1.27/arch/score/include/uapi/asm/
DKbuild18 header-y += ptrace.h
/linux-4.1.27/arch/frv/include/uapi/asm/
DKbuild18 header-y += ptrace.h
/linux-4.1.27/arch/avr32/include/uapi/asm/
DKbuild10 header-y += ptrace.h
/linux-4.1.27/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.1.27/arch/m68k/include/uapi/asm/
DKbuild29 header-y += ptrace.h
/linux-4.1.27/arch/microblaze/include/uapi/asm/
DKbuild21 header-y += ptrace.h
/linux-4.1.27/tools/testing/selftests/
DMakefile14 TARGETS += ptrace
/linux-4.1.27/arch/cris/include/uapi/asm/
DKbuild21 header-y += ptrace.h
/linux-4.1.27/include/uapi/asm-generic/
DKbuild.asm24 header-y += ptrace.h
/linux-4.1.27/arch/mips/include/uapi/asm/
DKbuild23 header-y += ptrace.h
/linux-4.1.27/arch/s390/kernel/
Dtraps.c101 if (!current->ptrace) in do_per_trap()
194 if (current->ptrace) { in illegal_op()
DMakefile32 obj-y += processor.o sys_s390.o ptrace.o signal.o cpcmd.o ebcdic.o nmi.o
/linux-4.1.27/arch/alpha/include/uapi/asm/
DKbuild24 header-y += ptrace.h
/linux-4.1.27/arch/powerpc/include/uapi/asm/
DKbuild26 header-y += ptrace.h
/linux-4.1.27/arch/sh/kernel/
DMakefile17 process_$(BITS).o ptrace.o ptrace_$(BITS).o \
/linux-4.1.27/arch/ia64/include/uapi/asm/
DKbuild29 header-y += ptrace.h
/linux-4.1.27/arch/sparc/include/uapi/asm/
DKbuild31 header-y += ptrace.h
/linux-4.1.27/arch/arm64/kernel/
DMakefile16 entry-fpsimd.o process.o ptrace.o setup.o signal.o \
/linux-4.1.27/arch/s390/include/uapi/asm/
DKbuild27 header-y += ptrace.h
/linux-4.1.27/arch/ia64/kernel/
DMakefile12 …irq_lsapic.o ivt.o machvec.o pal.o paravirt_patchlist.o patch.o process.o perfmon.o ptrace.o sal.o…
/linux-4.1.27/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.1.27/arch/arm/kernel/
DMakefile19 process.o ptrace.o reboot.o return_address.o \
Dentry-armv.S182 @ r6 - orig_r0 (see pt_regs definition in ptrace.h)
/linux-4.1.27/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.1.27/Documentation/vm/
Dovercommit-accounting80 o Account ptrace pages (this is hard)
/linux-4.1.27/arch/x86/syscalls/
Dsyscall_64.tbl110 101 64 ptrace sys_ptrace
346 521 x32 ptrace compat_sys_ptrace
Dsyscall_32.tbl35 26 i386 ptrace sys_ptrace compat_sys_ptrace
/linux-4.1.27/arch/x86/kernel/
DMakefile48 obj-y += ptrace.o
/linux-4.1.27/arch/mips/kernel/
DMakefile8 process.o prom.o ptrace.o reset.o setup.o signal.o \
/linux-4.1.27/arch/alpha/kernel/
DMakefile10 irq_alpha.o signal.o setup.o ptrace.o time.o \
/linux-4.1.27/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
DLocking571 /proc/pid/mem or ptrace. This function is needed only for
/linux-4.1.27/arch/powerpc/kernel/
DMakefile30 obj-y := cputable.o ptrace.o syscalls.o \
/linux-4.1.27/arch/
DKconfig187 # task_pt_regs() in asm/processor.h or asm/ptrace.h
229 declared in asm/ptrace.h
329 need to be called from a ptrace-safe context. It must then
/linux-4.1.27/arch/arm/nwfpe/
DChangeLog19 It is used by users of ptrace to examine the values of the
/linux-4.1.27/Documentation/block/
Dioprio.txt67 #include <sys/ptrace.h>
/linux-4.1.27/fs/
Dexec.c999 if (unlikely(leader->ptrace)) in de_thread()
1250 if (p->ptrace) { in check_unsafe_exec()
1251 if (p->ptrace & PT_PTRACE_CAP) in check_unsafe_exec()
/linux-4.1.27/Documentation/parisc/
Dregisters9 CR 0 (Recovery Counter) used for ptrace
/linux-4.1.27/arch/powerpc/include/asm/
Dsystbl.h32 COMPAT_SYS(ptrace)
/linux-4.1.27/Documentation/cgroups/
Dfreezer-subsystem.txt44 signals is gdb. In fact any program designed to use ptrace is likely to
/linux-4.1.27/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.1.27/Documentation/frv/
Dfeatures.txt147 The ptrace() system call supports the following userspace debugging
/linux-4.1.27/Documentation/ia64/
Dfsys.txt59 yet. For convenience, the header file <asm-ia64/ptrace.h> provides
/linux-4.1.27/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.1.27/mm/
Dnommu.c1142 if ((flags & MAP_PRIVATE) && current->ptrace) in determine_vm_flags()
/linux-4.1.27/Documentation/filesystems/caching/
Dcachefiles.txt428 This means it may lose signals or ptrace events for example, and affects what
/linux-4.1.27/arch/arm64/
DKconfig746 the user helper functions, VFP support and the ptrace interface are
/linux-4.1.27/arch/mips/
DKconfig1939 # Set to y for ptrace access to watch registers.
/linux-4.1.27/Documentation/s390/
DDebugging390.txt1985 rather inefficient ptrace interface for peeking at DATA.
/linux-4.1.27/
DCREDITS501 D: ptrace proxy in user mode kernel port
DMAINTAINERS7918 F: include/linux/ptrace.h
7921 F: include/uapi/linux/ptrace.h
7922 F: kernel/ptrace.c