kproc_hide.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 <linux/sched.h>
#include <linux/file.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>

Go to the source code of this file.

Functions

 MODULE_AUTHOR ("Michal Purzynski")
 MODULE_DESCRIPTION ("RSBAC REG kproc_hide decision module")
 MODULE_LICENSE ("GPL")
int is_kproc (int pid)
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 = 9999992


Function Documentation

void cleanup_module void   ) 
 

Definition at line 111 of file kproc_hide.c.

References handle, and rsbac_reg_unregister().

int init_module void   ) 
 

Definition at line 83 of file kproc_hide.c.

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

int is_kproc int  pid  ) 
 

Definition at line 37 of file kproc_hide.c.

References NULL.

Referenced by request_func().

MODULE_AUTHOR "Michal Purzynski"   ) 
 

MODULE_DESCRIPTION "RSBAC REG kproc_hide 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 51 of file kproc_hide.c.

References DO_NOT_CARE, is_kproc(), NOT_GRANTED, rsbac_target_id_t::process, R_GET_STATUS_DATA, and T_PROCESS.

Referenced by init_module().


Variable Documentation

long handle = 9999992 [static]
 

Definition at line 27 of file kproc_hide.c.

Referenced by cleanup_module(), and init_module().


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