Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
user-offsets.c File Reference
#include <stdio.h>
#include <stddef.h>
#include <signal.h>
#include <sys/poll.h>
#include <sys/mman.h>
#include <sys/user.h>
#include <asm/ptrace.h>
#include <asm/types.h>
#include <asm/syscalls_64.h>

Go to the source code of this file.

Macros

#define __FRAME_OFFSETS
 
#define __SYSCALL_64(nr, sym, compat)   [nr] = 1,
 
#define __SYSCALL_COMMON(nr, sym, compat)   [nr] = 1,
 
#define __SYSCALL_X32(nr, sym, compat)   /* Not supported */
 
#define DEFINE(sym, val)   asm volatile("\n->" #sym " %0 " #val : : "i" (val))
 
#define DEFINE_LONGS(sym, val)   asm volatile("\n->" #sym " %0 " #val : : "i" (val/sizeof(unsigned long)))
 

Functions

void foo (void)
 

Macro Definition Documentation

#define __FRAME_OFFSETS

Definition at line 7 of file user-offsets.c.

#define __SYSCALL_64 (   nr,
  sym,
  compat 
)    [nr] = 1,

Definition at line 17 of file user-offsets.c.

#define __SYSCALL_COMMON (   nr,
  sym,
  compat 
)    [nr] = 1,

Definition at line 18 of file user-offsets.c.

#define __SYSCALL_X32 (   nr,
  sym,
  compat 
)    /* Not supported */

Definition at line 19 of file user-offsets.c.

#define DEFINE (   sym,
  val 
)    asm volatile("\n->" #sym " %0 " #val : : "i" (val))

Definition at line 25 of file user-offsets.c.

#define DEFINE_LONGS (   sym,
  val 
)    asm volatile("\n->" #sym " %0 " #val : : "i" (val/sizeof(unsigned long)))

Definition at line 28 of file user-offsets.c.

Function Documentation

void foo ( void  )

Definition at line 31 of file user-offsets.c.