Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ptrace_64.c File Reference
#include <linux/mm.h>
#include <linux/sched.h>
#include <linux/errno.h>
#include <asm/ptrace.h>
#include <asm/uaccess.h>

Go to the source code of this file.

Macros

#define __FRAME_OFFSETS
 
#define FLAG_MASK   0x44dd5UL
 

Functions

int putreg (struct task_struct *child, int regno, unsigned long value)
 
int poke_user (struct task_struct *child, long addr, long data)
 
unsigned long getreg (struct task_struct *child, int regno)
 
int peek_user (struct task_struct *child, long addr, long data)
 
int is_syscall (unsigned long addr)
 
long subarch_ptrace (struct task_struct *child, long request, unsigned long addr, unsigned long data)
 

Macro Definition Documentation

#define __FRAME_OFFSETS

Definition at line 11 of file ptrace_64.c.

#define FLAG_MASK   0x44dd5UL

Definition at line 19 of file ptrace_64.c.

Function Documentation

unsigned long getreg ( struct task_struct child,
int  regno 
)

Definition at line 132 of file ptrace_64.c.

int is_syscall ( unsigned long  addr)

Definition at line 197 of file ptrace_64.c.

int peek_user ( struct task_struct child,
long  addr,
long  data 
)

Definition at line 176 of file ptrace_64.c.

int poke_user ( struct task_struct child,
long  addr,
long  data 
)

Definition at line 113 of file ptrace_64.c.

int putreg ( struct task_struct child,
int  regno,
unsigned long  value 
)

Definition at line 52 of file ptrace_64.c.

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

Definition at line 251 of file ptrace_64.c.