Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
binfmt_flat.c File Reference
#include <linux/export.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/mman.h>
#include <linux/errno.h>
#include <linux/signal.h>
#include <linux/string.h>
#include <linux/fs.h>
#include <linux/file.h>
#include <linux/stat.h>
#include <linux/fcntl.h>
#include <linux/ptrace.h>
#include <linux/user.h>
#include <linux/slab.h>
#include <linux/binfmts.h>
#include <linux/personality.h>
#include <linux/init.h>
#include <linux/flat.h>
#include <linux/syscalls.h>
#include <asm/byteorder.h>
#include <asm/uaccess.h>
#include <asm/unaligned.h>
#include <asm/cacheflush.h>
#include <asm/page.h>

Go to the source code of this file.

Data Structures

struct  lib_info
 

Macros

#define DBG_FLT(a...)
 
#define FLAT_DATA_ALIGN   (0x20)
 
#define FLAT_STACK_ALIGN   max_t(unsigned long, sizeof(void *), ARCH_SLAB_MINALIGN)
 
#define RELOC_FAILED   0xff00ff01 /* Relocation incorrect somewhere */
 
#define UNLOADED_LIB   0x7ff000ff /* Placeholder for unused library */
 
#define TOP_OF_ARGS   (PAGE_SIZE * MAX_ARG_PAGES - sizeof(void *))
 

Functions

void old_reloc (unsigned long rl)
 
 core_initcall (init_flat_binfmt)
 

Macro Definition Documentation

#define DBG_FLT (   a...)

Definition at line 54 of file binfmt_flat.c.

#define FLAT_DATA_ALIGN   (0x20)

Definition at line 63 of file binfmt_flat.c.

#define FLAT_STACK_ALIGN   max_t(unsigned long, sizeof(void *), ARCH_SLAB_MINALIGN)

Definition at line 70 of file binfmt_flat.c.

#define RELOC_FAILED   0xff00ff01 /* Relocation incorrect somewhere */

Definition at line 72 of file binfmt_flat.c.

#define TOP_OF_ARGS   (PAGE_SIZE * MAX_ARG_PAGES - sizeof(void *))
#define UNLOADED_LIB   0x7ff000ff /* Placeholder for unused library */

Definition at line 73 of file binfmt_flat.c.

Function Documentation

core_initcall ( init_flat_binfmt  )
void old_reloc ( unsigned long  rl)

Definition at line 381 of file binfmt_flat.c.