00001
00002
00003
00004
00005
00006
00007
00008
00009
#ifndef __RSBAC_REG_MAIN_H
00010
#define __RSBAC_REG_MAIN_H
00011
00012
#include <rsbac/types.h>
00013
#include <rsbac/debug.h>
00014
#include <rsbac/reg.h>
00015
00016 #define RSBAC_REG_PROC_NAME "reg_entries"
00017
00018
00019
00020
00021
00022
#ifdef __KERNEL__
00023
00024
00025
00026
00027
struct rsbac_reg_list_item_t
00028 {
00029
struct rsbac_reg_entry_t entry;
00030
struct rsbac_reg_list_item_t * prev;
00031
struct rsbac_reg_list_item_t * next;
00032 };
00033
00034
struct rsbac_reg_sc_list_item_t
00035 {
00036
struct rsbac_reg_syscall_entry_t entry;
00037
struct rsbac_reg_sc_list_item_t * prev;
00038
struct rsbac_reg_sc_list_item_t * next;
00039 };
00040
00041
00042
00043
00044
struct rsbac_reg_list_head_t
00045 {
00046
struct rsbac_reg_list_item_t * head;
00047
struct rsbac_reg_list_item_t * tail;
00048
struct rsbac_reg_list_item_t * curr;
00049 rwlock_t lock;
00050 u_int count;
00051 };
00052
00053
struct rsbac_reg_sc_list_head_t
00054 {
00055
struct rsbac_reg_sc_list_item_t * head;
00056
struct rsbac_reg_sc_list_item_t * tail;
00057
struct rsbac_reg_sc_list_item_t * curr;
00058 rwlock_t lock;
00059 u_int count;
00060 };
00061
00062
#endif
00063
00064
00065
00066
00067
00068
#endif