Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
configs.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/init.h>
#include <asm/uaccess.h>
#include "config_data.h"

Go to the source code of this file.

Macros

#define MAGIC_START   "IKCFG_ST"
 
#define MAGIC_END   "IKCFG_ED"
 
#define MAGIC_SIZE   (sizeof(MAGIC_START) - 1)
 
#define kernel_config_data_size   (sizeof(kernel_config_data) - 1 - MAGIC_SIZE * 2)
 

Functions

 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Randy Dunlap")
 
 MODULE_DESCRIPTION ("Echo the kernel .config file used to build the kernel")
 

Macro Definition Documentation

#define kernel_config_data_size   (sizeof(kernel_config_data) - 1 - MAGIC_SIZE * 2)

Definition at line 52 of file configs.c.

#define MAGIC_END   "IKCFG_ED"

Definition at line 47 of file configs.c.

#define MAGIC_SIZE   (sizeof(MAGIC_START) - 1)

Definition at line 51 of file configs.c.

#define MAGIC_START   "IKCFG_ST"

Definition at line 46 of file configs.c.

Function Documentation

MODULE_AUTHOR ( "Randy Dunlap"  )
MODULE_DESCRIPTION ( "Echo the kernel .config file used to build the kernel"  )
MODULE_LICENSE ( "GPL"  )