Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Enumerations | Functions | Variables
ptrace.c File Reference
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/smp.h>
#include <linux/ptrace.h>
#include <linux/user.h>
#include <linux/security.h>
#include <linux/init.h>
#include <linux/signal.h>
#include <linux/uaccess.h>
#include <linux/perf_event.h>
#include <linux/hw_breakpoint.h>
#include <linux/regset.h>
#include <linux/tracehook.h>
#include <linux/elf.h>
#include <asm/compat.h>
#include <asm/debug-monitors.h>
#include <asm/pgtable.h>
#include <asm/traps.h>
#include <asm/system_misc.h>

Go to the source code of this file.

Enumerations

enum  aarch64_regset { REGSET_GPR, REGSET_FPR, REGSET_TLS }
 

Functions

void ptrace_disable (struct task_struct *child)
 
struct user_regset_viewtask_user_regset_view (struct task_struct *task)
 
long arch_ptrace (struct task_struct *child, long request, unsigned long addr, unsigned long data)
 
 core_initcall (ptrace_break_init)
 
asmlinkage int syscall_trace (int dir, struct pt_regs *regs)
 

Variables

enum aarch64_regset __attribute__
 

Enumeration Type Documentation

Enumerator:
REGSET_GPR 
REGSET_FPR 
REGSET_TLS 

Definition at line 570 of file ptrace.c.

Function Documentation

long arch_ptrace ( struct task_struct child,
long  request,
unsigned long  addr,
unsigned long  data 
)

Definition at line 1108 of file ptrace.c.

core_initcall ( ptrace_break_init  )
void ptrace_disable ( struct task_struct child)

Definition at line 52 of file ptrace.c.

asmlinkage int syscall_trace ( int  dir,
struct pt_regs regs 
)

Definition at line 1124 of file ptrace.c.

struct user_regset_view* task_user_regset_view ( struct task_struct tsk)
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 1099 of file ptrace.c.

Variable Documentation