safec  3.0
Safe C Library - ISO TR24731 Bounds Checking Interface
slkm_init.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include "../safeclib/safeclib_private.h"
+ Include dependency graph for slkm_init.c:

Macros

#define DRV_NAME   "slk"
 
#define DRV_VERSION   "0.0"
 
#define DRV_DESCRIPTION   "Safe C Library Kernel Module"
 
#define DRV_COPYRIGHT   "Copyright(c) 2012 cisco Systems, Inc."
 

Functions

 MODULE_DESCRIPTION (DRV_DESCRIPTION)
 
 MODULE_AUTHOR (DRV_COPYRIGHT)
 
 MODULE_LICENSE ("MIT")
 
 MODULE_VERSION (DRV_VERSION)
 
 MODULE_ALIAS ("slk")
 
static int __init slk_init (void)
 Module initialization function. More...
 
static void __exit slk_exit (void)
 Module exit function. More...
 
 module_init (slk_init)
 
 module_exit (slk_exit)
 

Macro Definition Documentation

◆ DRV_NAME

#define DRV_NAME   "slk"

◆ DRV_VERSION

#define DRV_VERSION   "0.0"

◆ DRV_DESCRIPTION

#define DRV_DESCRIPTION   "Safe C Library Kernel Module"

◆ DRV_COPYRIGHT

#define DRV_COPYRIGHT   "Copyright(c) 2012 cisco Systems, Inc."

Function Documentation

◆ MODULE_DESCRIPTION()

MODULE_DESCRIPTION ( DRV_DESCRIPTION  )

◆ MODULE_AUTHOR()

MODULE_AUTHOR ( DRV_COPYRIGHT  )

◆ MODULE_LICENSE()

MODULE_LICENSE ( "MIT"  )

◆ MODULE_VERSION()

MODULE_VERSION ( DRV_VERSION  )

◆ MODULE_ALIAS()

MODULE_ALIAS ( "slk"  )

◆ slk_init()

static int __init slk_init ( void  )
static

Module initialization function.

Returns
0 on success; < 0 on failure

◆ slk_exit()

static void __exit slk_exit ( void  )
static

Module exit function.

◆ module_init()

module_init ( slk_init  )

◆ module_exit()

module_exit ( slk_exit  )