Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ptrace.h File Reference
#include <linux/compiler.h>
#include <asm/ptrace-generic.h>
#include <asm/errno.h>

Go to the source code of this file.

Macros

#define __FRAME_OFFSETS   /* Needed to get the R* macros */
 
#define user_mode(r)   UPT_IS_USER(&(r)->regs)
 
#define PT_REGS_AX(r)   UPT_AX(&(r)->regs)
 
#define PT_REGS_BX(r)   UPT_BX(&(r)->regs)
 
#define PT_REGS_CX(r)   UPT_CX(&(r)->regs)
 
#define PT_REGS_DX(r)   UPT_DX(&(r)->regs)
 
#define PT_REGS_SI(r)   UPT_SI(&(r)->regs)
 
#define PT_REGS_DI(r)   UPT_DI(&(r)->regs)
 
#define PT_REGS_BP(r)   UPT_BP(&(r)->regs)
 
#define PT_REGS_EFLAGS(r)   UPT_EFLAGS(&(r)->regs)
 
#define PT_REGS_CS(r)   UPT_CS(&(r)->regs)
 
#define PT_REGS_SS(r)   UPT_SS(&(r)->regs)
 
#define PT_REGS_DS(r)   UPT_DS(&(r)->regs)
 
#define PT_REGS_ES(r)   UPT_ES(&(r)->regs)
 
#define PT_REGS_ORIG_SYSCALL(r)   PT_REGS_AX(r)
 
#define PT_REGS_SYSCALL_RET(r)   PT_REGS_AX(r)
 
#define PT_FIX_EXEC_STACK(sp)   do ; while(0)
 
#define profile_pc(regs)   PT_REGS_IP(regs)
 
#define UPT_RESTART_SYSCALL(r)   (UPT_IP(r) -= 2)
 
#define PT_REGS_SET_SYSCALL_RETURN(r, res)   (PT_REGS_AX(r) = (res))
 
#define HOST_AUDIT_ARCH   AUDIT_ARCH_X86_64
 
#define PT_REGS_R8(r)   UPT_R8(&(r)->regs)
 
#define PT_REGS_R9(r)   UPT_R9(&(r)->regs)
 
#define PT_REGS_R10(r)   UPT_R10(&(r)->regs)
 
#define PT_REGS_R11(r)   UPT_R11(&(r)->regs)
 
#define PT_REGS_R12(r)   UPT_R12(&(r)->regs)
 
#define PT_REGS_R13(r)   UPT_R13(&(r)->regs)
 
#define PT_REGS_R14(r)   UPT_R14(&(r)->regs)
 
#define PT_REGS_R15(r)   UPT_R15(&(r)->regs)
 

Functions

long arch_prctl (struct task_struct *task, int code, unsigned long __user *addr)
 

Macro Definition Documentation

#define __FRAME_OFFSETS   /* Needed to get the R* macros */

Definition at line 6 of file ptrace.h.

#define HOST_AUDIT_ARCH   AUDIT_ARCH_X86_64

Definition at line 60 of file ptrace.h.

#define profile_pc (   regs)    PT_REGS_IP(regs)

Definition at line 32 of file ptrace.h.

#define PT_FIX_EXEC_STACK (   sp)    do ; while(0)

Definition at line 30 of file ptrace.h.

#define PT_REGS_AX (   r)    UPT_AX(&(r)->regs)

Definition at line 12 of file ptrace.h.

#define PT_REGS_BP (   r)    UPT_BP(&(r)->regs)

Definition at line 19 of file ptrace.h.

#define PT_REGS_BX (   r)    UPT_BX(&(r)->regs)

Definition at line 13 of file ptrace.h.

#define PT_REGS_CS (   r)    UPT_CS(&(r)->regs)

Definition at line 22 of file ptrace.h.

#define PT_REGS_CX (   r)    UPT_CX(&(r)->regs)

Definition at line 14 of file ptrace.h.

#define PT_REGS_DI (   r)    UPT_DI(&(r)->regs)

Definition at line 18 of file ptrace.h.

#define PT_REGS_DS (   r)    UPT_DS(&(r)->regs)

Definition at line 24 of file ptrace.h.

#define PT_REGS_DX (   r)    UPT_DX(&(r)->regs)

Definition at line 15 of file ptrace.h.

#define PT_REGS_EFLAGS (   r)    UPT_EFLAGS(&(r)->regs)

Definition at line 20 of file ptrace.h.

#define PT_REGS_ES (   r)    UPT_ES(&(r)->regs)

Definition at line 25 of file ptrace.h.

#define PT_REGS_ORIG_SYSCALL (   r)    PT_REGS_AX(r)

Definition at line 27 of file ptrace.h.

#define PT_REGS_R10 (   r)    UPT_R10(&(r)->regs)

Definition at line 64 of file ptrace.h.

#define PT_REGS_R11 (   r)    UPT_R11(&(r)->regs)

Definition at line 65 of file ptrace.h.

#define PT_REGS_R12 (   r)    UPT_R12(&(r)->regs)

Definition at line 66 of file ptrace.h.

#define PT_REGS_R13 (   r)    UPT_R13(&(r)->regs)

Definition at line 67 of file ptrace.h.

#define PT_REGS_R14 (   r)    UPT_R14(&(r)->regs)

Definition at line 68 of file ptrace.h.

#define PT_REGS_R15 (   r)    UPT_R15(&(r)->regs)

Definition at line 69 of file ptrace.h.

#define PT_REGS_R8 (   r)    UPT_R8(&(r)->regs)

Definition at line 62 of file ptrace.h.

#define PT_REGS_R9 (   r)    UPT_R9(&(r)->regs)

Definition at line 63 of file ptrace.h.

#define PT_REGS_SET_SYSCALL_RETURN (   r,
  res 
)    (PT_REGS_AX(r) = (res))

Definition at line 35 of file ptrace.h.

#define PT_REGS_SI (   r)    UPT_SI(&(r)->regs)

Definition at line 17 of file ptrace.h.

#define PT_REGS_SS (   r)    UPT_SS(&(r)->regs)

Definition at line 23 of file ptrace.h.

#define PT_REGS_SYSCALL_RET (   r)    PT_REGS_AX(r)

Definition at line 28 of file ptrace.h.

#define UPT_RESTART_SYSCALL (   r)    (UPT_IP(r) -= 2)

Definition at line 34 of file ptrace.h.

#define user_mode (   r)    UPT_IS_USER(&(r)->regs)

Definition at line 10 of file ptrace.h.

Function Documentation

long arch_prctl ( struct task_struct task,
int  code,
unsigned long __user addr 
)

Definition at line 12 of file syscalls_64.c.