debug.h File Reference

#include <linux/init.h>

Go to the source code of this file.

Defines

#define RSBAC_LOG_LEVELS_NAME   "log_levels"
#define RSBAC_LOG_LEVEL_LIST_NAME   "ll"
#define RSBAC_LOG_LEVEL_VERSION   2
#define RSBAC_LOG_LEVEL_OLD_VERSION   1
#define RSBAC_LOG_LEVEL_KEY   13123231
#define RSBAC_WAKEUP_KEY   'w'
#define RSBAC_WAKEUP_UKEY   'W'
#define RSBAC_LOG   printk

Functions

void rsbac_init_debug (void) __init
rsbac_boolean_t rsbac_parse_koptions (char *)
void wakeup_rsbacd (u_long dummy)
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)

Variables

int rsbac_debug_no_write
int rsbac_debug_adf_default
rsbac_log_entry_t rsbac_log_levels [R_NONE+1]
int rsbac_no_defaults


Define Documentation

#define RSBAC_LOG   printk
 

Definition at line 90 of file debug.h.

#define RSBAC_LOG_LEVEL_KEY   13123231
 

Definition at line 32 of file debug.h.

Referenced by rsbac_init_debug().

#define RSBAC_LOG_LEVEL_LIST_NAME   "ll"
 

Definition at line 29 of file debug.h.

Referenced by rsbac_init_debug().

#define RSBAC_LOG_LEVEL_OLD_VERSION   1
 

Definition at line 31 of file debug.h.

Referenced by ll_get_conv().

#define RSBAC_LOG_LEVEL_VERSION   2
 

Definition at line 30 of file debug.h.

Referenced by rsbac_init_debug().

#define RSBAC_LOG_LEVELS_NAME   "log_levels"
 

Definition at line 28 of file debug.h.

#define RSBAC_WAKEUP_KEY   'w'
 

Definition at line 44 of file debug.h.

#define RSBAC_WAKEUP_UKEY   'W'
 

Definition at line 45 of file debug.h.


Function Documentation

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.

References LL_full, log_levels_handle, R_NONE, rsbac_list_add(), rsbac_log_levels, and T_NONE.

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.

References R_NONE, RSBAC_EINVALIDVALUE, rsbac_log_levels, and T_NONE.

void 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().

rsbac_boolean_t rsbac_parse_koptions char *   ) 
 

void wakeup_rsbacd u_long  dummy  ) 
 

Referenced by rsbac_init().


Variable Documentation

int rsbac_debug_adf_default
 

Definition at line 222 of file debug.c.

Referenced by rsbac_init_debug().

int rsbac_debug_no_write
 

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
 

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:27 2005 for RSBAC by  doxygen 1.4.2