Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/rwsem.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/smp.h>
#include <linux/bitops.h>
#include <linux/errno.h>
#include <linux/ptrace.h>
#include <linux/user.h>
#include <linux/signal.h>
#include <linux/syscalls.h>
#include <linux/audit.h>
#include <linux/seccomp.h>
#include <linux/tracehook.h>
#include <linux/elf.h>
#include <linux/regset.h>
#include <asm/io.h>
#include <asm/uaccess.h>
#include <asm/pgtable.h>
#include <asm/processor.h>
#include <asm/mmu_context.h>
#include <asm/syscalls.h>
#include <asm/fpu.h>
#include <asm/traps.h>
#include <trace/events/syscalls.h>
Go to the source code of this file.
Macros | |
#define | CREATE_TRACE_POINTS |
#define | SR_MASK (0xffff8cfd) |
#define | WPC_DBRMODE 0x0d104008 |
Enumerations | |
enum | sh_regset { REGSET_GENERAL, REGSET_GENERAL } |
Functions | |
void | user_enable_single_step (struct task_struct *child) |
void | user_disable_single_step (struct task_struct *child) |
struct user_regset_view * | task_user_regset_view (struct task_struct *task) |
long | arch_ptrace (struct task_struct *child, long request, unsigned long addr, unsigned long data) |
asmlinkage int | sh64_ptrace (long request, long pid, unsigned long addr, unsigned long data) |
asmlinkage long long | do_syscall_trace_enter (struct pt_regs *regs) |
asmlinkage void | do_syscall_trace_leave (struct pt_regs *regs) |
asmlinkage void | do_single_step (unsigned long long vec, struct pt_regs *regs) |
BUILD_TRAP_HANDLER (breakpoint) | |
void | ptrace_disable (struct task_struct *child) |
Variables | |
struct pt_regs_offset | regoffset_table [] |
#define CREATE_TRACE_POINTS |
Definition at line 43 of file ptrace_64.c.
#define SR_MASK (0xffff8cfd) |
Definition at line 48 of file ptrace_64.c.
#define WPC_DBRMODE 0x0d104008 |
enum sh_regset |
Definition at line 337 of file ptrace_64.c.
long arch_ptrace | ( | struct task_struct * | child, |
long | request, | ||
unsigned long | addr, | ||
unsigned long | data | ||
) |
Definition at line 386 of file ptrace_64.c.
BUILD_TRAP_HANDLER | ( | breakpoint | ) |
Definition at line 574 of file ptrace_64.c.
Definition at line 561 of file ptrace_64.c.
asmlinkage long long do_syscall_trace_enter | ( | struct pt_regs * | regs | ) |
Definition at line 521 of file ptrace_64.c.
asmlinkage void do_syscall_trace_leave | ( | struct pt_regs * | regs | ) |
Definition at line 546 of file ptrace_64.c.
void ptrace_disable | ( | struct task_struct * | child | ) |
Definition at line 590 of file ptrace_64.c.
Definition at line 486 of file ptrace_64.c.
|
read |
task_user_regset_view - Return the process's native regset view. : a thread of the process in question
Return the &struct user_regset_view that is native for the given process. For example, what it would access when it called ptrace(). Throughout the life of the process, this only changes at exec.
Definition at line 381 of file ptrace_64.c.
void user_disable_single_step | ( | struct task_struct * | child | ) |
Definition at line 139 of file ptrace_64.c.
void user_enable_single_step | ( | struct task_struct * | child | ) |
Definition at line 130 of file ptrace_64.c.
struct pt_regs_offset regoffset_table[] |
Definition at line 255 of file ptrace_64.c.