Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
ptrace.c File Reference
#include <linux/ptrace.h>
#include <linux/tracehook.h>
#include <linux/regset.h>
#include <linux/elf.h>
#include <asm/cacheflush.h>

Go to the source code of this file.

Macros

#define PT_REG_SIZE   (sizeof(struct pt_regs))
 

Enumerations

enum  c6x_regset { REGSET_GPR }
 

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)
 
asmlinkage unsigned long syscall_trace_entry (struct pt_regs *regs)
 
asmlinkage void syscall_trace_exit (struct pt_regs *regs)
 

Macro Definition Documentation

#define PT_REG_SIZE   (sizeof(struct pt_regs))

Definition at line 20 of file ptrace.c.

Enumeration Type Documentation

enum c6x_regset
Enumerator:
REGSET_GPR 

Definition at line 112 of file ptrace.c.

Function Documentation

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

Definition at line 142 of file ptrace.c.

void ptrace_disable ( struct task_struct child)

Definition at line 25 of file ptrace.c.

asmlinkage unsigned long syscall_trace_entry ( struct pt_regs regs)

Definition at line 168 of file ptrace.c.

Definition at line 184 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 134 of file ptrace.c.