/linux-4.4.14/include/linux/ |
D | ptrace.h | 92 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()
|
D | tracehook.h | 61 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()
|
D | sched.h | 1385 unsigned int ptrace; member
|
/linux-4.4.14/arch/um/os-Linux/ |
D | start_up.c | 36 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 …]
|
D | registers.c | 18 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()
|
D | process.c | 118 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/ |
D | breakpoint_test.c | 43 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/ |
D | registers.c | 17 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()
|
D | tls.c | 51 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()
|
D | prctl.c | 11 return ptrace(PTRACE_ARCH_PRCTL, pid, (unsigned long) addr, code); in os_arch_prctl()
|
/linux-4.4.14/tools/testing/selftests/x86/ |
D | ptrace_syscall.c | 170 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, ®s) != 0) in test_ptrace_syscall_restart() 217 if (ptrace(PTRACE_SETREGS, chld, 0, ®s) != 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, ®s) != 0) in test_ptrace_syscall_restart() 249 if (ptrace(PTRACE_SETREGS, chld, 0, ®s) != 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, ®s) != 0) in test_ptrace_syscall_restart() 268 if (ptrace(PTRACE_CONT, chld, 0, 0) != 0) in test_ptrace_syscall_restart()
|
D | test_syscall_vdso.c | 351 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/ |
D | process.c | 35 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 …]
|
D | mem.c | 65 err = ptrace(PTRACE_CONT, pid, 0, 0); in do_syscall_stub()
|
/linux-4.4.14/Documentation/security/ |
D | Yama.txt | 24 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
|
D | credentials.txt | 470 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
|
D | Smack.txt | 238 ptrace 239 This is used to define the current ptrace policy
|
/linux-4.4.14/kernel/ |
D | exit.c | 532 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 …]
|
D | ptrace.c | 74 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 …]
|
D | signal.c | 97 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 …]
|
D | Makefile | 7 sysctl.o sysctl_binary.o capability.o ptrace.o user.o \
|
D | seccomp.c | 553 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/ |
D | ptrace_user.c | 11 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/ |
D | signal.c | 28 if ((current->ptrace & PT_DTRACE) && (current->ptrace & PT_PTRACED)) in handle_signal() 103 if (current->ptrace & PT_DTRACE) in do_signal()
|
D | ptrace.c | 15 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()
|
D | exec.c | 45 current->ptrace &= ~PT_DTRACE; in start_thread()
|
D | Makefile | 14 physmem.o process.o ptrace.o reboot.o sigio.o \
|
D | process.c | 341 if (!(task->ptrace & PT_DTRACE)) in singlestepping()
|
/linux-4.4.14/arch/xtensa/kernel/ |
D | ptrace.c | 35 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()
|
D | Makefile | 8 ptrace.o setup.o signal.o stacktrace.o syscall.o time.o traps.o \
|
D | signal.c | 461 if (current->ptrace & PT_SINGLESTEP) in do_signal() 487 if (current->ptrace & PT_SINGLESTEP) in do_signal()
|
D | asm-offsets.c | 72 DEFINE(TASK_PTRACE, offsetof (struct task_struct, ptrace)); in main()
|
/linux-4.4.14/drivers/connector/ |
D | cn_proc.c | 203 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/ |
D | ptrace.c | 121 if (!(current->ptrace & PT_PTRACED)) in syscall_trace() 135 ptrace_notify(SIGTRAP | ((current->ptrace & PT_TRACESYSGOOD) in syscall_trace()
|
D | Makefile | 6 obj-y := dma.o elf.o entry.o process.o ptrace.o
|
D | entry.S | 181 @ 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/ |
D | seccomp_bpf.c | 1038 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/ |
D | ptrace.c | 186 if (!(current->ptrace & PT_PTRACED)) in do_syscall_trace() 191 ptrace_notify(SIGTRAP | ((current->ptrace & PT_TRACESYSGOOD) in do_syscall_trace()
|
D | Makefile | 9 process.o setup.o signal.o traps.o time.o ptrace.o \
|
/linux-4.4.14/Documentation/powerpc/ |
D | 00-INDEX | 29 ptrace.txt 30 - Information on the ptrace interfaces for hardware debug registers.
|
D | ptrace.txt | 8 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
|
D | dscr.txt | 80 (3) ptrace interface (Explicitly set user DSCR value)
|
D | transactional_memory.txt | 193 GDB and ptrace are not currently TM-aware. If one stops during a transaction,
|
/linux-4.4.14/arch/x86/include/uapi/asm/ |
D | Kbuild | 42 header-y += ptrace-abi.h 43 header-y += ptrace.h
|
/linux-4.4.14/arch/score/kernel/ |
D | Makefile | 7 obj-y += entry.o irq.o process.o ptrace.o \
|
D | ptrace.c | 363 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/ |
D | Kbuild | 6 header-y += ptrace.h
|
/linux-4.4.14/arch/openrisc/kernel/ |
D | Makefile | 8 traps.o time.o irq.o entry.o ptrace.o signal.o \
|
D | asm-offsets.c | 47 DEFINE(TASK_PTRACE, offsetof(struct task_struct, ptrace)); in main()
|
/linux-4.4.14/arch/m32r/kernel/ |
D | Makefile | 8 m32r_ksyms.o sys_m32r.o signal.o ptrace.o
|
D | ptrace.c | 685 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/ |
D | Kbuild | 8 header-y += ptrace.h
|
/linux-4.4.14/arch/cris/kernel/ |
D | Makefile | 9 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/ |
D | Makefile | 9 process.o ptrace.o setup.o signal.o traps.o time.o \
|
D | ptrace.c | 255 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/ |
D | Makefile | 7 obj-y := process.o traps.o irq.o signal.o ptrace.o
|
D | entry.S | 344 ;; Check for ptrace
|
/linux-4.4.14/arch/c6x/include/uapi/asm/ |
D | Kbuild | 8 header-y += ptrace.h
|
/linux-4.4.14/arch/metag/include/uapi/asm/ |
D | Kbuild | 6 header-y += ptrace.h
|
/linux-4.4.14/arch/h8300/kernel/ |
D | Makefile | 7 obj-y := process.o traps.o ptrace.o \
|
D | asm-offsets.c | 25 OFFSET(TASK_PTRACE, task_struct, ptrace); in main()
|
/linux-4.4.14/arch/hexagon/include/uapi/asm/ |
D | Kbuild | 8 header-y += ptrace.h
|
/linux-4.4.14/arch/avr32/kernel/ |
D | Makefile | 9 obj-y += setup.o traps.o ocd.o ptrace.o
|
D | ptrace.c | 196 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/ |
D | Makefile | 15 obj-y += ptrace.o
|
/linux-4.4.14/security/yama/ |
D | Kconfig | 8 access controls. Currently available is ptrace scope restriction.
|
/linux-4.4.14/arch/hexagon/kernel/ |
D | Makefile | 6 obj-y += process.o trampoline.o reset.o ptrace.o vdso.o
|
/linux-4.4.14/arch/blackfin/include/uapi/asm/ |
D | Kbuild | 13 header-y += ptrace.h
|
/linux-4.4.14/arch/tile/include/uapi/asm/ |
D | Kbuild | 11 header-y += ptrace.h
|
/linux-4.4.14/arch/arm/include/uapi/asm/ |
D | Kbuild | 13 header-y += ptrace.h
|
/linux-4.4.14/Documentation/features/core/tracehook/ |
D | arch-support.txt | 4 # description: arch supports tracehook (ptrace) register handling APIs
|
/linux-4.4.14/arch/arm64/include/uapi/asm/ |
D | Kbuild | 14 header-y += ptrace.h
|
/linux-4.4.14/arch/tile/kernel/ |
D | ptrace.c | 223 unsigned int flags = child->ptrace; in arch_ptrace() 226 child->ptrace = flags; in arch_ptrace()
|
D | Makefile | 7 pci-dma.o proc.o process.o ptrace.o reboot.o \
|
/linux-4.4.14/arch/microblaze/kernel/ |
D | Makefile | 19 platform.o process.o prom.o ptrace.o \
|
D | asm-offsets.c | 76 DEFINE(TASK_PTRACE, offsetof(struct task_struct, ptrace)); in main()
|
/linux-4.4.14/arch/frv/kernel/ |
D | Makefile | 11 process.o traps.o ptrace.o signal.o dma.o \
|
/linux-4.4.14/include/uapi/linux/ |
D | cn_proc.h | 107 } ptrace; member
|
D | Kbuild | 342 header-y += ptrace.h
|
/linux-4.4.14/arch/xtensa/include/uapi/asm/ |
D | Kbuild | 13 header-y += ptrace.h
|
/linux-4.4.14/arch/sh/include/uapi/asm/ |
D | Kbuild | 13 header-y += ptrace.h
|
/linux-4.4.14/arch/m68k/kernel/ |
D | Makefile | 16 obj-y := entry.o irq.o m68k_ksyms.o module.o process.o ptrace.o
|
D | ptrace.c | 276 ptrace_notify(SIGTRAP | ((current->ptrace & PT_TRACESYSGOOD) in syscall_trace()
|
/linux-4.4.14/arch/metag/kernel/ |
D | Makefile | 17 obj-y += ptrace.o
|
/linux-4.4.14/arch/s390/kernel/ |
D | traps.c | 101 if (!current->ptrace) in do_per_trap() 194 if (current->ptrace) { in illegal_op()
|
D | Makefile | 43 obj-y += processor.o sys_s390.o ptrace.o signal.o cpcmd.o ebcdic.o nmi.o
|
/linux-4.4.14/arch/arc/kernel/ |
D | Makefile | 11 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/ |
D | Makefile | 8 entry.o process.o bfin_ksyms.o ptrace.o setup.o signal.o \
|
D | asm-offsets.c | 24 DEFINE(TASK_PTRACE, offsetof(struct task_struct, ptrace)); in main()
|
/linux-4.4.14/arch/parisc/include/uapi/asm/ |
D | Kbuild | 17 header-y += ptrace.h
|
/linux-4.4.14/arch/mn10300/include/uapi/asm/ |
D | Kbuild | 18 header-y += ptrace.h
|
/linux-4.4.14/arch/score/include/uapi/asm/ |
D | Kbuild | 18 header-y += ptrace.h
|
/linux-4.4.14/arch/m32r/include/uapi/asm/ |
D | Kbuild | 17 header-y += ptrace.h
|
/linux-4.4.14/arch/mn10300/kernel/ |
D | Makefile | 10 ptrace.o setup.o time.o sys_mn10300.o io.o \
|
/linux-4.4.14/arch/m68k/include/uapi/asm/ |
D | Kbuild | 29 header-y += ptrace.h
|
/linux-4.4.14/arch/microblaze/include/uapi/asm/ |
D | Kbuild | 21 header-y += ptrace.h
|
/linux-4.4.14/arch/avr32/include/uapi/asm/ |
D | Kbuild | 10 header-y += ptrace.h
|
/linux-4.4.14/arch/parisc/kernel/ |
D | Makefile | 9 ptrace.o hardware.o inventory.o drivers.o \
|
D | syscall_table.S | 90 ENTRY_COMP(ptrace)
|
D | asm-offsets.c | 61 DEFINE(TASK_PTRACE, offsetof(struct task_struct, ptrace)); in main()
|
/linux-4.4.14/arch/frv/include/uapi/asm/ |
D | Kbuild | 18 header-y += ptrace.h
|
/linux-4.4.14/arch/mips/include/uapi/asm/ |
D | Kbuild | 23 header-y += ptrace.h
|
/linux-4.4.14/include/uapi/asm-generic/ |
D | Kbuild.asm | 24 header-y += ptrace.h
|
/linux-4.4.14/tools/testing/selftests/ |
D | Makefile | 18 TARGETS += ptrace
|
/linux-4.4.14/arch/cris/include/uapi/asm/ |
D | Kbuild | 24 header-y += ptrace.h
|
/linux-4.4.14/arch/sh/kernel/ |
D | Makefile | 17 process_$(BITS).o ptrace.o ptrace_$(BITS).o \
|
/linux-4.4.14/arch/alpha/include/uapi/asm/ |
D | Kbuild | 24 header-y += ptrace.h
|
/linux-4.4.14/arch/powerpc/include/uapi/asm/ |
D | Kbuild | 28 header-y += ptrace.h
|
/linux-4.4.14/arch/sparc/include/uapi/asm/ |
D | Kbuild | 31 header-y += ptrace.h
|
/linux-4.4.14/arch/ia64/include/uapi/asm/ |
D | Kbuild | 29 header-y += ptrace.h
|
/linux-4.4.14/arch/s390/include/uapi/asm/ |
D | Kbuild | 27 header-y += ptrace.h
|
/linux-4.4.14/arch/arm64/kernel/ |
D | Makefile | 15 entry-fpsimd.o process.o ptrace.o setup.o signal.o \
|
/linux-4.4.14/arch/ia64/kernel/ |
D | Makefile | 12 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/ |
D | Makefile | 19 process.o ptrace.o reboot.o return_address.o \
|
D | entry-armv.S | 184 @ r6 - orig_r0 (see pt_regs definition in ptrace.h)
|
/linux-4.4.14/Documentation/prctl/ |
D | seccomp_filter.txt | 119 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
|
D | no_new_privs.txt | 15 - The exec code has special handling for ptrace.
|
/linux-4.4.14/Documentation/vm/ |
D | overcommit-accounting | 80 o Account ptrace pages (this is hard)
|
/linux-4.4.14/Documentation/ |
D | kselftest.txt | 36 $ make -C tools/testing/selftests TARGETS=ptrace run_tests
|
D | kprobes.txt | 372 #include <linux/ptrace.h> 381 #include <linux/ptrace.h> 390 #include <linux/ptrace.h> 431 #include <linux/ptrace.h>
|
D | nommu-mmap.txt | 13 ptrace() work. Under uClinux there is no fork(), and clone() must be supplied
|
D | cachetlb.txt | 338 of arbitrary user pages (f.e. for ptrace()) it will use
|
/linux-4.4.14/arch/x86/kernel/ |
D | Makefile | 47 obj-y += ptrace.o
|
/linux-4.4.14/arch/x86/entry/syscalls/ |
D | syscall_64.tbl | 110 101 64 ptrace sys_ptrace 349 521 x32 ptrace compat_sys_ptrace
|
D | syscall_32.tbl | 35 26 i386 ptrace sys_ptrace compat_sys_ptrace
|
/linux-4.4.14/arch/mips/kernel/ |
D | Makefile | 8 process.o prom.o ptrace.o reset.o setup.o signal.o \
|
/linux-4.4.14/arch/alpha/kernel/ |
D | Makefile | 10 irq_alpha.o signal.o setup.o ptrace.o time.o \
|
/linux-4.4.14/Documentation/filesystems/ |
D | fuse.txt | 292 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
|
D | Locking | 572 /proc/pid/mem or ptrace. This function is needed only for
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | Makefile | 29 obj-y := cputable.o ptrace.o syscalls.o \
|
/linux-4.4.14/arch/ |
D | Kconfig | 195 # 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/ |
D | ioprio.txt | 67 #include <sys/ptrace.h>
|
/linux-4.4.14/arch/arm/nwfpe/ |
D | ChangeLog | 19 It is used by users of ptrace to examine the values of the
|
/linux-4.4.14/fs/ |
D | exec.c | 1005 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/ |
D | registers | 9 CR 0 (Recovery Counter) used for ptrace
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | systbl.h | 32 COMPAT_SYS(ptrace)
|
/linux-4.4.14/Documentation/cgroups/ |
D | freezer-subsystem.txt | 44 signals is gdb. In fact any program designed to use ptrace is likely to
|
/linux-4.4.14/Documentation/trace/ |
D | ftrace-design.txt | 224 - 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/ |
D | features.txt | 147 The ptrace() system call supports the following userspace debugging
|
/linux-4.4.14/Documentation/ia64/ |
D | fsys.txt | 59 yet. For convenience, the header file <asm-ia64/ptrace.h> provides
|
/linux-4.4.14/Documentation/virtual/uml/ |
D | UserModeLinux-HOWTO.txt | 113 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/ |
D | cachefiles.txt | 428 This means it may lose signals or ptrace events for example, and affects what
|
/linux-4.4.14/mm/ |
D | nommu.c | 1108 if ((flags & MAP_PRIVATE) && current->ptrace) in determine_vm_flags()
|
/linux-4.4.14/arch/arm64/ |
D | Kconfig | 774 the user helper functions, VFP support and the ptrace interface are
|
/linux-4.4.14/Documentation/DocBook/ |
D | device-drivers.xml.db | 156 API-ptrace-trap-notify
|
/linux-4.4.14/arch/mips/ |
D | Kconfig | 1986 # Set to y for ptrace access to watch registers.
|
/linux-4.4.14/Documentation/s390/ |
D | Debugging390.txt | 1985 rather inefficient ptrace interface for peeking at DATA.
|
/linux-4.4.14/ |
D | CREDITS | 505 D: ptrace proxy in user mode kernel port
|
D | MAINTAINERS | 8588 F: include/linux/ptrace.h 8591 F: include/uapi/linux/ptrace.h 8592 F: kernel/ptrace.c
|