/daten/src/linux-2.4.27-rsbac-v1.2.3/include/rsbac/gen_lists.h File Reference

#include <linux/init.h>
#include <rsbac/rkmem.h>
#include <rsbac/lists.h>

Go to the source code of this file.

Data Structures

struct  rsbac_list_item_t
struct  rsbac_list_lol_item_t
struct  rsbac_list_reg_item_t
struct  rsbac_list_lol_reg_item_t
struct  rsbac_list_reg_head_t
struct  rsbac_list_lol_reg_head_t
struct  rsbac_list_write_item_t
struct  rsbac_list_write_head_t
struct  rsbac_list_lol_write_item_t
struct  rsbac_list_lol_write_head_t
struct  rsbac_list_filelist_desc_t
struct  rsbac_list_filelist_data_t

Defines

#define RSBAC_LIST_DISK_VERSION   10002
#define RSBAC_LIST_DISK_OLD_VERSION   10001
#define RSBAC_LIST_NONAME   "(no name)"
#define RSBAC_LIST_PROC_NAME   "gen_lists"
#define RSBAC_LIST_DEVICENAME   "gen_list_device"
#define RSBAC_LIST_FILENAME   "genlst"
#define RSBAC_GEN_LIST_DISK_VERSION   10001
#define RSBAC_GEN_LIST_KEY   0x101face

Typedefs

typedef __u32 rsbac_list_count_t

Functions

void __init rsbac_list_init (void)
int rsbac_list_mount (kdev_t kdev)
int rsbac_list_umount (kdev_t kdev)
int rsbac_check_lists (int correct)


Define Documentation

#define RSBAC_GEN_LIST_DISK_VERSION   10001
 

Definition at line 22 of file gen_lists.h.

#define RSBAC_GEN_LIST_KEY   0x101face
 

Definition at line 23 of file gen_lists.h.

#define RSBAC_LIST_DEVICENAME   "gen_list_device"
 

Definition at line 19 of file gen_lists.h.

#define RSBAC_LIST_DISK_OLD_VERSION   10001
 

Definition at line 16 of file gen_lists.h.

Referenced by read_list(), and read_lol_list().

#define RSBAC_LIST_DISK_VERSION   10002
 

Definition at line 15 of file gen_lists.h.

Referenced by fill_buffer(), fill_lol_buffer(), read_list(), and read_lol_list().

#define RSBAC_LIST_FILENAME   "genlst"
 

Definition at line 20 of file gen_lists.h.

#define RSBAC_LIST_NONAME   "(no name)"
 

Definition at line 17 of file gen_lists.h.

Referenced by create_lol_reg(), and create_reg().

#define RSBAC_LIST_PROC_NAME   "gen_lists"
 

Definition at line 18 of file gen_lists.h.

Referenced by rsbac_list_init().


Typedef Documentation

typedef __u32 rsbac_list_count_t
 

Definition at line 75 of file gen_lists.h.

Referenced by read_list(), and read_lol_list().


Function Documentation

int rsbac_check_lists int  correct  ) 
 

Definition at line 3902 of file gen_lists.c.

References do_remove_item(), do_remove_lol_item(), do_remove_lol_subitem(), rsbac_list_lol_reg_head_t::head, rsbac_list_reg_head_t::head, list_initialized, rsbac_list_lol_reg_head_t::lock, rsbac_list_reg_head_t::lock, lol_reg_head, reg_head, RSBAC_ENOTINITIALIZED, RSBAC_LIST_DEF_DATA, and RSBAC_LIST_PERSIST.

Referenced by rsbac_do_init(), and sys_rsbac_check().

void __init rsbac_list_init void   ) 
 

Definition at line 3609 of file gen_lists.c.

References rsbac_list_lol_reg_head_t::count, rsbac_list_reg_head_t::count, rsbac_list_lol_reg_head_t::curr, rsbac_list_reg_head_t::curr, rsbac_list_lol_reg_head_t::head, rsbac_list_reg_head_t::head, list_initialized, rsbac_list_lol_reg_head_t::lock, rsbac_list_reg_head_t::lock, lol_reg_head, NULL, proc_rsbac_root_p, reg_head, RSBAC_LIST_PROC_NAME, rsbac_list_lol_reg_head_t::tail, rsbac_list_reg_head_t::tail, and TRUE.

Referenced by rsbac_do_init().

int rsbac_list_mount kdev_t  kdev  ) 
 

Definition at line 3642 of file gen_lists.c.

Referenced by rsbac_mount().

int rsbac_list_umount kdev_t  kdev  ) 
 

Definition at line 3647 of file gen_lists.c.

Referenced by rsbac_umount().


Generated on Tue Aug 31 10:05:27 2004 for RSBAC by doxygen 1.3.8