Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
ptrace_64.c File Reference
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/errno.h>
#include <linux/ptrace.h>
#include <linux/user.h>
#include <linux/smp.h>
#include <linux/security.h>
#include <linux/seccomp.h>
#include <linux/audit.h>
#include <linux/signal.h>
#include <linux/regset.h>
#include <linux/tracehook.h>
#include <trace/syscall.h>
#include <linux/compat.h>
#include <linux/elf.h>
#include <asm/asi.h>
#include <asm/pgtable.h>
#include <asm/uaccess.h>
#include <asm/psrcompat.h>
#include <asm/visasm.h>
#include <asm/spitfire.h>
#include <asm/page.h>
#include <asm/cpudata.h>
#include <asm/cacheflush.h>
#include <trace/events/syscalls.h>
#include "entry.h"

Go to the source code of this file.

Data Structures

struct  fps
 

Macros

#define CREATE_TRACE_POINTS
 

Enumerations

enum  sparc_regset { REGSET_GENERAL, REGSET_FP, REGSET_GENERAL, REGSET_FP }
 

Functions

void ptrace_disable (struct task_struct *child)
 
void flush_ptrace_access (struct vm_area_struct *vma, struct page *page, unsigned long uaddr, void *kaddr, unsigned long len, int write)
 
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 int syscall_trace_enter (struct pt_regs *regs)
 
asmlinkage void syscall_trace_leave (struct pt_regs *regs)
 

Macro Definition Documentation

#define CREATE_TRACE_POINTS

Definition at line 40 of file ptrace_64.c.

Enumeration Type Documentation

Enumerator:
REGSET_GENERAL 
REGSET_FP 
REGSET_GENERAL 
REGSET_FP 

Definition at line 199 of file ptrace_64.c.

Function Documentation

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

Definition at line 971 of file ptrace_64.c.

void flush_ptrace_access ( struct vm_area_struct vma,
struct page page,
unsigned long  uaddr,
void kaddr,
unsigned long  len,
int  write 
)

Definition at line 67 of file ptrace_64.c.

void ptrace_disable ( struct task_struct child)

Definition at line 52 of file ptrace_64.c.

Definition at line 1060 of file ptrace_64.c.

asmlinkage void syscall_trace_leave ( struct pt_regs regs)

Definition at line 1085 of file ptrace_64.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 838 of file ptrace_64.c.