debug.c File Reference

#include <asm/uaccess.h>
#include <rsbac/types.h>
#include <rsbac/aci.h>
#include <rsbac/aci_data_structures.h>
#include <rsbac/debug.h>
#include <rsbac/error.h>
#include <rsbac/proc_fs.h>
#include <rsbac/getname.h>
#include <rsbac/net_getname.h>
#include <rsbac/adf.h>
#include <rsbac/rkmem.h>
#include <linux/smp_lock.h>
#include <linux/init.h>
#include <linux/config.h>
#include <linux/module.h>
#include <linux/console.h>
#include <linux/net.h>
#include <linux/in.h>
#include <linux/moduleparam.h>
#include <linux/syscalls.h>

Go to the source code of this file.

Functions

void rsbac_adf_log_switch (rsbac_adf_request_int_t request, enum rsbac_target_t target, rsbac_enum_t value)
int rsbac_get_adf_log (rsbac_adf_request_int_t request, enum rsbac_target_t target, u_int *value_p)
static int R_INIT no_defaults_setup (char *line)
 __setup ("rsbac_no_defaults", no_defaults_setup)
static int ll_conv (void *old_desc, void *old_data, void *new_desc, void *new_data)
rsbac_list_conv_function_tll_get_conv (rsbac_version_t old_version)
void __init rsbac_init_debug (void)

Variables

int rsbac_debug_no_write = 0
static rsbac_boolean_t debug_initialized = FALSE
int rsbac_no_defaults = 0
static rsbac_list_handle_t log_levels_handle = NULL
int rsbac_debug_adf_default = 1
rsbac_log_entry_t rsbac_log_levels [R_NONE+1]
rsbac_boolean_t rsbac_debug_adf_dirty = FALSE


Function Documentation

__setup "rsbac_no_defaults"  ,
no_defaults_setup 
 

static int ll_conv void *  old_desc,
void *  old_data,
void *  new_desc,
void *  new_data
[static]
 

Definition at line 5247 of file debug.c.

References LL_denied, and T_NONE.

Referenced by ll_get_conv().

rsbac_list_conv_function_t* ll_get_conv rsbac_version_t  old_version  ) 
 

Definition at line 5265 of file debug.c.

References ll_conv(), NULL, and RSBAC_LOG_LEVEL_OLD_VERSION.

Referenced by rsbac_init_debug().

static int R_INIT no_defaults_setup char *  line  )  [static]
 

Definition at line 916 of file debug.c.

References rsbac_no_defaults.

void rsbac_adf_log_switch rsbac_adf_request_int_t  request,
enum rsbac_target_t  target,
rsbac_enum_t  value
 

Definition at line 262 of file debug.c.

Referenced by sys_rsbac_adf_log_switch().

int rsbac_get_adf_log rsbac_adf_request_int_t  request,
enum rsbac_target_t  target,
u_int *  value_p
 

Definition at line 277 of file debug.c.

Referenced by sys_rsbac_get_adf_log().

void __init rsbac_init_debug void   )  [inline]
 

Definition at line 5284 of file debug.c.

References debug_initialized, get_error_name(), LL_denied, ll_get_conv(), log_levels_handle, NULL, proc_rsbac_root_p, rsbac_daz_get_ttl(), rsbac_debug_adf_default, rsbac_debug_no_write, rsbac_kfree(), rsbac_kmalloc(), RSBAC_LIST_DEF_DATA, rsbac_list_get_data(), RSBAC_LIST_PERSIST, rsbac_list_register(), RSBAC_LIST_VERSION, RSBAC_LOG_LEVEL_KEY, RSBAC_LOG_LEVEL_LIST_NAME, RSBAC_LOG_LEVEL_VERSION, rsbac_log_levels, RSBAC_MAXNAMELEN, rsbac_no_defaults, T_NONE, and TRUE.

Referenced by rsbac_do_init().


Variable Documentation

rsbac_boolean_t debug_initialized = FALSE [static]
 

Definition at line 41 of file debug.c.

Referenced by rsbac_init_debug().

rsbac_list_handle_t log_levels_handle = NULL [static]
 

Definition at line 167 of file debug.c.

Referenced by rsbac_adf_log_switch(), and rsbac_init_debug().

int rsbac_debug_adf_default = 1
 

Definition at line 222 of file debug.c.

Referenced by rsbac_init_debug().

rsbac_boolean_t rsbac_debug_adf_dirty = FALSE
 

Definition at line 225 of file debug.c.

int rsbac_debug_no_write = 0
 

Definition at line 39 of file debug.c.

Referenced by rsbac_init_debug(), rsbac_mount(), rsbac_umount(), and writable().

rsbac_log_entry_t rsbac_log_levels[R_NONE+1]
 

Definition at line 223 of file debug.c.

Referenced by rsbac_adf_log_switch(), rsbac_adf_request_int(), rsbac_adf_set_attr(), rsbac_get_adf_log(), and rsbac_init_debug().

int rsbac_no_defaults = 0
 

Definition at line 165 of file debug.c.

Referenced by no_defaults_setup(), register_user_lists(), rsbac_init_acl(), rsbac_init_debug(), and rsbac_init_rc().


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