Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Enumerations | Functions
ptrace.c File Reference
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/smp.h>
#include <linux/errno.h>
#include <linux/ptrace.h>
#include <linux/user.h>
#include <linux/security.h>
#include <linux/signal.h>
#include <linux/regset.h>
#include <linux/elf.h>
#include <linux/tracehook.h>
#include <asm/uaccess.h>
#include <asm/page.h>
#include <asm/pgtable.h>
#include <asm/processor.h>
#include <asm/unistd.h>

Go to the source code of this file.

Enumerations

enum  frv_regset { REGSET_GENERAL, REGSET_FPMEDIA }
 

Functions

struct user_regset_viewtask_user_regset_view (struct task_struct *task)
 
void user_enable_single_step (struct task_struct *child)
 
void user_disable_single_step (struct task_struct *child)
 
void ptrace_disable (struct task_struct *child)
 
long arch_ptrace (struct task_struct *child, long request, unsigned long addr, unsigned long data)
 
asmlinkage unsigned long syscall_trace_entry (void)
 
asmlinkage void syscall_trace_exit (void)
 

Enumeration Type Documentation

enum frv_regset
Enumerator:
REGSET_GENERAL 
REGSET_FPMEDIA 

Definition at line 154 of file ptrace.c.

Function Documentation

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

Definition at line 256 of file ptrace.c.

void ptrace_disable ( struct task_struct child)

Definition at line 251 of file ptrace.c.

asmlinkage unsigned long syscall_trace_entry ( void  )

Definition at line 355 of file ptrace.c.

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

void user_disable_single_step ( struct task_struct child)

Definition at line 246 of file ptrace.c.

void user_enable_single_step ( struct task_struct child)

Definition at line 241 of file ptrace.c.