Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
binfmt_som.c File Reference
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/stat.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/mman.h>
#include <linux/errno.h>
#include <linux/signal.h>
#include <linux/binfmts.h>
#include <linux/som.h>
#include <linux/string.h>
#include <linux/file.h>
#include <linux/fcntl.h>
#include <linux/ptrace.h>
#include <linux/slab.h>
#include <linux/shm.h>
#include <linux/personality.h>
#include <linux/init.h>
#include <asm/uaccess.h>
#include <asm/pgtable.h>
#include <linux/elf.h>

Go to the source code of this file.

Macros

#define som_core_dump   NULL
 
#define SOM_PAGESTART(_v)   ((_v) & ~(unsigned long)(SOM_PAGESIZE-1))
 
#define SOM_PAGEOFFSET(_v)   ((_v) & (SOM_PAGESIZE-1))
 
#define SOM_PAGEALIGN(_v)   (((_v) + SOM_PAGESIZE - 1) & ~(SOM_PAGESIZE - 1))
 

Functions

 core_initcall (init_som_binfmt)
 
 module_exit (exit_som_binfmt)
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define som_core_dump   NULL

Definition at line 48 of file binfmt_som.c.

#define SOM_PAGEALIGN (   _v)    (((_v) + SOM_PAGESIZE - 1) & ~(SOM_PAGESIZE - 1))

Definition at line 53 of file binfmt_som.c.

#define SOM_PAGEOFFSET (   _v)    ((_v) & (SOM_PAGESIZE-1))

Definition at line 52 of file binfmt_som.c.

#define SOM_PAGESTART (   _v)    ((_v) & ~(unsigned long)(SOM_PAGESIZE-1))

Definition at line 51 of file binfmt_som.c.

Function Documentation

core_initcall ( init_som_binfmt  )
module_exit ( exit_som_binfmt  )
MODULE_LICENSE ( "GPL"  )