modules_off.c File Reference

#include <linux/config.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/fs.h>
#include <rsbac/types.h>
#include <rsbac/reg.h>
#include <rsbac/adf.h>
#include <rsbac/aci.h>
#include <rsbac/getname.h>
#include <rsbac/error.h>
#include <rsbac/proc_fs.h>
#include <linux/namei.h>

Go to the source code of this file.

Functions

 MODULE_AUTHOR ("Michal Purzynski")
 MODULE_DESCRIPTION ("RSBAC REG modules_off decision module")
 MODULE_LICENSE ("GPL")
static int request_func (enum rsbac_adf_request_t request, rsbac_pid_t owner_pid, enum rsbac_target_t target, union rsbac_target_id_t tid, enum rsbac_attribute_t attr, union rsbac_attribute_value_t attr_val, rsbac_uid_t owner)
int init_module (void)
void cleanup_module (void)

Variables

static long handle = 9999991
static rsbac_inode_nr_t inode_nr = 0
static kdev_t device_nr = 0


Function Documentation

void cleanup_module void   ) 
 

Definition at line 99 of file modules_off.c.

References handle, and rsbac_reg_unregister().

int init_module void   ) 
 

Definition at line 62 of file modules_off.c.

References device_nr, handle, inode_nr, request_func(), rsbac_reg_register(), RSBAC_REG_VERSION, and TRUE.

MODULE_AUTHOR "Michal Purzynski"   ) 
 

MODULE_DESCRIPTION "RSBAC REG modules_off decision module"   ) 
 

MODULE_LICENSE "GPL"   ) 
 

static int request_func enum rsbac_adf_request_t  request,
rsbac_pid_t  owner_pid,
enum rsbac_target_t  target,
union rsbac_target_id_t  tid,
enum rsbac_attribute_t  attr,
union rsbac_attribute_value_t  attr_val,
rsbac_uid_t  owner
[static]
 

Definition at line 35 of file modules_off.c.

References device_nr, DO_NOT_CARE, inode_nr, NOT_GRANTED, R_ADD_TO_KERNEL, R_GET_STATUS_DATA, R_REMOVE_FROM_KERNEL, and T_FILE.


Variable Documentation

kdev_t device_nr = 0 [static]
 

Definition at line 31 of file modules_off.c.

Referenced by init_module(), and request_func().

long handle = 9999991 [static]
 

Definition at line 28 of file modules_off.c.

rsbac_inode_nr_t inode_nr = 0 [static]
 

Definition at line 30 of file modules_off.c.

Referenced by init_module(), and request_func().


Generated on Fri Jun 17 09:45:29 2005 for RSBAC by  doxygen 1.4.2