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

Go to the source code of this file.

Macros

#define USER_PSW_BITS   (PSW_N | PSW_V | PSW_CB)
 

Functions

void ptrace_disable (struct task_struct *task)
 
void user_disable_single_step (struct task_struct *task)
 
void user_enable_single_step (struct task_struct *task)
 
void user_enable_block_step (struct task_struct *task)
 
long arch_ptrace (struct task_struct *child, long request, unsigned long addr, unsigned long data)
 
long do_syscall_trace_enter (struct pt_regs *regs)
 
void do_syscall_trace_exit (struct pt_regs *regs)
 

Macro Definition Documentation

#define USER_PSW_BITS   (PSW_N | PSW_V | PSW_CB)

Definition at line 29 of file ptrace.c.

Function Documentation

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

Definition at line 112 of file ptrace.c.

long do_syscall_trace_enter ( struct pt_regs regs)

Definition at line 268 of file ptrace.c.

void do_syscall_trace_exit ( struct pt_regs regs)

Definition at line 277 of file ptrace.c.

void ptrace_disable ( struct task_struct task)

Definition at line 36 of file ptrace.c.

void user_disable_single_step ( struct task_struct task)

Definition at line 52 of file ptrace.c.

void user_enable_block_step ( struct task_struct task)

Definition at line 100 of file ptrace.c.

void user_enable_single_step ( struct task_struct task)

Definition at line 57 of file ptrace.c.