Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
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/signal.h>
#include <linux/security.h>
#include <asm/uaccess.h>
#include <asm/page.h>
#include <asm/pgtable.h>
#include <asm/processor.h>
#include <arch/hwregs/supp_reg.h>

Go to the source code of this file.

Macros

#define CCS_MASK   0x00087c00 /* SXNZVC */
 
#define SBIT_USER   (1 << (S_CCS_BITNR + CCS_SHIFT))
 

Functions

void deconfigure_bp (long pid)
 
long get_reg (struct task_struct *task, unsigned int regno)
 
int put_reg (struct task_struct *task, unsigned int regno, unsigned long data)
 
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)
 
void do_syscall_trace (void)
 

Variables

unsigned long cris_signal_return_page
 

Macro Definition Documentation

#define CCS_MASK   0x00087c00 /* SXNZVC */

Definition at line 25 of file ptrace.c.

#define SBIT_USER   (1 << (S_CCS_BITNR + CCS_SHIFT))

Definition at line 27 of file ptrace.c.

Function Documentation

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

Definition at line 126 of file ptrace.c.

void deconfigure_bp ( long  pid)

Definition at line 337 of file ptrace.c.

void do_syscall_trace ( void  )

Definition at line 250 of file ptrace.c.

long get_reg ( struct task_struct task,
unsigned int  regno 
)

Definition at line 39 of file ptrace.c.

void ptrace_disable ( struct task_struct child)

Definition at line 115 of file ptrace.c.

int put_reg ( struct task_struct task,
unsigned int  regno,
unsigned long  data 
)

Definition at line 63 of file ptrace.c.

void user_disable_single_step ( struct task_struct child)

Definition at line 97 of file ptrace.c.

void user_enable_single_step ( struct task_struct child)

Definition at line 80 of file ptrace.c.

Variable Documentation

unsigned long cris_signal_return_page

Definition at line 33 of file fault.c.