/linux-2.6.21.1-rsbac-1.3.4/include/rsbac/acl_data_structures.h

Go to the documentation of this file.
00001 /**************************************/
00002 /* Rule Set Based Access Control      */
00003 /* Author and (c) 1999-2006:          */
00004 /*   Amon Ott <ao@rsbac.org>          */
00005 /* Data structures / ACL              */
00006 /* Last modified: 09/Sep/2006         */
00007 /**************************************/
00008 
00009 #ifndef __RSBAC_ACL_DATA_STRUC_H
00010 #define __RSBAC_ACL_DATA_STRUC_H
00011 
00012 #include <linux/types.h>
00013 #include <rsbac/aci.h>
00014 #include <rsbac/types.h>
00015 #include <rsbac/lists.h>
00016 
00017 #define RSBAC_ACL_LIST_KEY 0x815affe
00018 
00019 #define RSBAC_ACL_GENERAL_FD_ENTRY \
00020    { ACLS_GROUP, \
00021      RSBAC_ACL_GROUP_EVERYONE, \
00022      ( RSBAC_FD_REQUEST_VECTOR & RSBAC_READ_WRITE_REQUEST_VECTOR ) | RSBAC_EXECUTE_REQUEST_VECTOR | RSBAC_ACL_GEN_RIGHTS_VECTOR }
00023 
00024 #define RSBAC_ACL_ACMAN_FD_ENTRY \
00025    { ACLS_USER, \
00026      RSBAC_SECOFF_UID, \
00027      ( RSBAC_FD_REQUEST_VECTOR & \
00028        ( RSBAC_READ_WRITE_REQUEST_VECTOR | RSBAC_EXECUTE_REQUEST_VECTOR | RSBAC_SECURITY_REQUEST_VECTOR ) ) \
00029      | RSBAC_ACL_ACMAN_RIGHTS_VECTOR }
00030 
00031 #define RSBAC_ACL_SYSADM_FD_ENTRY \
00032    { ACLS_USER, \
00033      RSBAC_SYSADM_UID, \
00034      ( RSBAC_FD_REQUEST_VECTOR & \
00035        ( RSBAC_READ_WRITE_REQUEST_VECTOR | RSBAC_EXECUTE_REQUEST_VECTOR | RSBAC_SYSTEM_REQUEST_VECTOR ) ) \
00036      | RSBAC_ACL_SYSADM_RIGHTS_VECTOR }
00037 
00038 #define RSBAC_ACL_GENERAL_DEV_ENTRY \
00039    { ACLS_GROUP, \
00040      RSBAC_ACL_GROUP_EVERYONE, \
00041      ( RSBAC_DEV_REQUEST_VECTOR & RSBAC_READ_WRITE_REQUEST_VECTOR ) | RSBAC_ACL_GEN_RIGHTS_VECTOR }
00042 
00043 #define RSBAC_ACL_ACMAN_DEV_ENTRY \
00044    { ACLS_USER, \
00045      RSBAC_SECOFF_UID, \
00046      ( RSBAC_DEV_REQUEST_VECTOR & \
00047        ( RSBAC_READ_WRITE_REQUEST_VECTOR | RSBAC_SECURITY_REQUEST_VECTOR ) ) \
00048      | RSBAC_ACL_ACMAN_RIGHTS_VECTOR }
00049 
00050 #define RSBAC_ACL_SYSADM_DEV_ENTRY \
00051    { ACLS_USER, \
00052      RSBAC_SYSADM_UID, \
00053      ( RSBAC_DEV_REQUEST_VECTOR & \
00054        ( RSBAC_READ_WRITE_REQUEST_VECTOR | RSBAC_SYSTEM_REQUEST_VECTOR ) ) \
00055      | RSBAC_ACL_SYSADM_RIGHTS_VECTOR }
00056 
00057 #define RSBAC_ACL_GENERAL_IPC_ENTRY \
00058    { ACLS_GROUP, \
00059      RSBAC_ACL_GROUP_EVERYONE, \
00060      ( RSBAC_IPC_REQUEST_VECTOR & RSBAC_READ_WRITE_REQUEST_VECTOR ) | RSBAC_ACL_GEN_RIGHTS_VECTOR }
00061 
00062 #define RSBAC_ACL_ACMAN_IPC_ENTRY \
00063    { ACLS_USER, \
00064      RSBAC_SECOFF_UID, \
00065      ( RSBAC_IPC_REQUEST_VECTOR & \
00066        ( RSBAC_READ_WRITE_REQUEST_VECTOR | RSBAC_SECURITY_REQUEST_VECTOR ) ) \
00067      | RSBAC_ACL_ACMAN_RIGHTS_VECTOR }
00068 
00069 #define RSBAC_ACL_SYSADM_IPC_ENTRY \
00070    { ACLS_USER, \
00071      RSBAC_SYSADM_UID, \
00072      ( RSBAC_IPC_REQUEST_VECTOR & \
00073        ( RSBAC_READ_WRITE_REQUEST_VECTOR | RSBAC_SYSTEM_REQUEST_VECTOR ) ) \
00074      | RSBAC_ACL_SYSADM_RIGHTS_VECTOR }
00075 
00076 #define RSBAC_ACL_GENERAL_SCD_ENTRY \
00077    { ACLS_GROUP, \
00078      RSBAC_ACL_GROUP_EVERYONE, \
00079      ( RSBAC_SCD_REQUEST_VECTOR & \
00080        ( RSBAC_READ_WRITE_REQUEST_VECTOR | ((rsbac_request_vector_t) 1 << R_MODIFY_SYSTEM_DATA) ) \
00081      ) \
00082      | RSBAC_ACL_GEN_RIGHTS_VECTOR \
00083    }
00084 
00085 #ifdef CONFIG_RSBAC_USER_MOD_IOPERM
00086 #define RSBAC_ACL_GENERAL_SCD_IOPORTS_ENTRY \
00087    { ACLS_GROUP, \
00088      RSBAC_ACL_GROUP_EVERYONE, \
00089      ((rsbac_request_vector_t) 1 << R_MODIFY_PERMISSIONS_DATA) \
00090    }
00091 #endif
00092 
00093 #define RSBAC_ACL_GENERAL_SCD_OTHER_ENTRY \
00094    { ACLS_GROUP, \
00095      RSBAC_ACL_GROUP_EVERYONE, \
00096      ((rsbac_request_vector_t) 1 << R_MAP_EXEC) \
00097    }
00098 
00099 #define RSBAC_ACL_GENERAL_SCD_NETWORK_ENTRY \
00100    { ACLS_GROUP, \
00101      RSBAC_ACL_GROUP_EVERYONE, \
00102      ((rsbac_request_vector_t) 1 << R_GET_STATUS_DATA) \
00103    }
00104 
00105 #define RSBAC_ACL_ACMAN_SCD_ENTRY \
00106    { ACLS_USER, \
00107      RSBAC_SECOFF_UID, \
00108      ( RSBAC_SCD_REQUEST_VECTOR & \
00109        ( RSBAC_READ_WRITE_REQUEST_VECTOR | RSBAC_SECURITY_REQUEST_VECTOR ) ) \
00110      | RSBAC_ACL_ACMAN_RIGHTS_VECTOR }
00111 
00112 #define RSBAC_ACL_ACMAN_SCD_OTHER_ENTRY \
00113    { ACLS_USER, \
00114      RSBAC_SECOFF_UID, \
00115      ( RSBAC_NONE_REQUEST_VECTOR & \
00116        ( \
00117           ((rsbac_request_vector_t) 1 << R_MAP_EXEC) \
00118         | ((rsbac_request_vector_t) 1 << R_MODIFY_ATTRIBUTE) \
00119         | ((rsbac_request_vector_t) 1 << R_GET_STATUS_DATA) \
00120         | ((rsbac_request_vector_t) 1 << R_MODIFY_PERMISSIONS_DATA) \
00121         | ((rsbac_request_vector_t) 1 << R_READ_ATTRIBUTE) \
00122         | ((rsbac_request_vector_t) 1 << R_SWITCH_LOG) \
00123         | ((rsbac_request_vector_t) 1 << R_SWITCH_MODULE) \
00124        ) \
00125      ) \
00126      | RSBAC_ACL_ACMAN_RIGHTS_VECTOR }
00127 
00128 #define RSBAC_ACL_SYSADM_SCD_ENTRY \
00129    { ACLS_USER, \
00130      RSBAC_SYSADM_UID, \
00131      ( RSBAC_SCD_REQUEST_VECTOR & \
00132        ( \
00133           ((rsbac_request_vector_t) 1 << R_GET_PERMISSIONS_DATA) \
00134         | ((rsbac_request_vector_t) 1 << R_GET_STATUS_DATA) \
00135         | ((rsbac_request_vector_t) 1 << R_MODIFY_PERMISSIONS_DATA) \
00136         | ((rsbac_request_vector_t) 1 << R_MODIFY_SYSTEM_DATA) \
00137         | ((rsbac_request_vector_t) 1 << R_WRITE) \
00138        ) \
00139      ) \
00140      | RSBAC_ACL_SYSADM_RIGHTS_VECTOR }
00141 
00142 #define RSBAC_ACL_SYSADM_SCD_OTHER_ENTRY \
00143    { ACLS_USER, \
00144      RSBAC_SYSADM_UID, \
00145      ( RSBAC_NONE_REQUEST_VECTOR & \
00146        ( \
00147           ((rsbac_request_vector_t) 1 << R_ADD_TO_KERNEL) \
00148         | ((rsbac_request_vector_t) 1 << R_CHANGE_GROUP) \
00149         | ((rsbac_request_vector_t) 1 << R_CHANGE_OWNER) \
00150         | ((rsbac_request_vector_t) 1 << R_GET_STATUS_DATA) \
00151         | ((rsbac_request_vector_t) 1 << R_MAP_EXEC) \
00152         | ((rsbac_request_vector_t) 1 << R_MOUNT) \
00153         | ((rsbac_request_vector_t) 1 << R_REMOVE_FROM_KERNEL) \
00154         | ((rsbac_request_vector_t) 1 << R_UMOUNT) \
00155         | ((rsbac_request_vector_t) 1 << R_SHUTDOWN) \
00156        ) \
00157      ) \
00158      | ((rsbac_request_vector_t) 1 << R_MODIFY_SYSTEM_DATA) \
00159      | RSBAC_ACL_SYSADM_RIGHTS_VECTOR }
00160 
00161 #define RSBAC_ACL_AUDITOR_SCD_RSBACLOG_ENTRY \
00162    { ACLS_USER, \
00163      RSBAC_AUDITOR_UID, \
00164      ( RSBAC_SCD_REQUEST_VECTOR & \
00165        ( \
00166           ((rsbac_request_vector_t) 1 << R_GET_STATUS_DATA) \
00167         | ((rsbac_request_vector_t) 1 << R_MODIFY_SYSTEM_DATA) \
00168        ) \
00169      ) \
00170    }
00171 
00172 #ifdef CONFIG_RSBAC_USER_MOD_IOPERM
00173 #define RSBAC_ACL_SYSADM_SCD_KMEM_ENTRY \
00174    { ACLS_USER, \
00175      RSBAC_SYSADM_UID, \
00176      ((rsbac_request_vector_t) 1 << R_GET_STATUS_DATA) \
00177    }
00178 #endif
00179 
00180 #define RSBAC_ACL_GENERAL_U_ENTRY \
00181    { ACLS_GROUP, \
00182      RSBAC_ACL_GROUP_EVERYONE, \
00183      RSBAC_REQUEST_VECTOR(R_CHANGE_OWNER) | RSBAC_REQUEST_VECTOR(R_SEARCH) \
00184      | RSBAC_REQUEST_VECTOR(R_GET_STATUS_DATA) }
00185 
00186 #define RSBAC_ACL_ACMAN_U_ENTRY \
00187    { ACLS_USER, \
00188      RSBAC_SECOFF_UID, \
00189      RSBAC_ACL_USER_RIGHTS_VECTOR \
00190      | RSBAC_ACL_ACMAN_RIGHTS_VECTOR }
00191 
00192 #define RSBAC_ACL_SYSADM_U_ENTRY \
00193    { ACLS_USER, \
00194      RSBAC_SYSADM_UID, \
00195      RSBAC_REQUEST_VECTOR(R_CHANGE_OWNER) | RSBAC_ACL_RIGHTS_VECTOR(R_READ_ATTRIBUTE) \
00196      | RSBAC_REQUEST_VECTOR(R_SEARCH) | RSBAC_REQUEST_VECTOR(R_GET_STATUS_DATA) \
00197      | RSBAC_REQUEST_VECTOR(R_AUTHENTICATE) \
00198      | RSBAC_ACL_SYSADM_RIGHTS_VECTOR }
00199 
00200 #define RSBAC_ACL_GENERAL_P_ENTRY \
00201    { ACLS_GROUP, \
00202      RSBAC_ACL_GROUP_EVERYONE, \
00203      ( RSBAC_PROCESS_REQUEST_VECTOR & RSBAC_READ_WRITE_REQUEST_VECTOR ) | RSBAC_ACL_GEN_RIGHTS_VECTOR }
00204 
00205 #define RSBAC_ACL_ACMAN_P_ENTRY \
00206    { ACLS_USER, \
00207      RSBAC_SECOFF_UID, \
00208      ( RSBAC_PROCESS_REQUEST_VECTOR & \
00209        ( RSBAC_READ_WRITE_REQUEST_VECTOR | RSBAC_SECURITY_REQUEST_VECTOR ) ) \
00210      | RSBAC_ACL_ACMAN_RIGHTS_VECTOR }
00211 
00212 #define RSBAC_ACL_SYSADM_P_ENTRY \
00213    { ACLS_USER, \
00214      RSBAC_SYSADM_UID, \
00215      ( RSBAC_PROCESS_REQUEST_VECTOR & \
00216        ( RSBAC_READ_WRITE_REQUEST_VECTOR | RSBAC_SYSTEM_REQUEST_VECTOR ) ) \
00217      | RSBAC_ACL_SYSADM_RIGHTS_VECTOR }
00218 
00219 #define RSBAC_ACL_GENERAL_G_ENTRY \
00220    { ACLS_GROUP, \
00221      RSBAC_ACL_GROUP_EVERYONE, \
00222      RSBAC_REQUEST_VECTOR(R_SEARCH) | RSBAC_REQUEST_VECTOR(R_READ) }
00223 
00224 #define RSBAC_ACL_ACMAN_G_ENTRY \
00225    { ACLS_USER, \
00226      RSBAC_SECOFF_UID, \
00227      ( RSBAC_GROUP_REQUEST_VECTOR & \
00228        ( RSBAC_READ_WRITE_REQUEST_VECTOR | RSBAC_SECURITY_REQUEST_VECTOR ) ) \
00229      | RSBAC_ACL_ACMAN_RIGHTS_VECTOR }
00230 
00231 #define RSBAC_ACL_SYSADM_G_ENTRY \
00232    { ACLS_USER, \
00233      RSBAC_SYSADM_UID, \
00234      RSBAC_REQUEST_VECTOR(R_SEARCH) | RSBAC_REQUEST_VECTOR(R_READ) }
00235 
00236 #define RSBAC_ACL_GENERAL_NETDEV_ENTRY \
00237    { ACLS_GROUP, \
00238      RSBAC_ACL_GROUP_EVERYONE, \
00239      ( RSBAC_NETDEV_REQUEST_VECTOR ) | RSBAC_ACL_GEN_RIGHTS_VECTOR }
00240 
00241 #define RSBAC_ACL_ACMAN_NETDEV_ENTRY \
00242    { ACLS_USER, \
00243      RSBAC_SECOFF_UID, \
00244      ( RSBAC_NETDEV_REQUEST_VECTOR & \
00245        ( RSBAC_READ_WRITE_REQUEST_VECTOR | RSBAC_SECURITY_REQUEST_VECTOR ) ) \
00246      | RSBAC_ACL_ACMAN_RIGHTS_VECTOR }
00247 
00248 #define RSBAC_ACL_SYSADM_NETDEV_ENTRY \
00249    { ACLS_USER, \
00250      RSBAC_SYSADM_UID, \
00251      ( RSBAC_NETDEV_REQUEST_VECTOR & \
00252        ( RSBAC_READ_WRITE_REQUEST_VECTOR | RSBAC_SYSTEM_REQUEST_VECTOR ) ) \
00253      | RSBAC_ACL_SYSADM_RIGHTS_VECTOR }
00254 
00255 #define RSBAC_ACL_GENERAL_NETTEMP_NT_ENTRY \
00256    { ACLS_GROUP, \
00257      RSBAC_ACL_GROUP_EVERYONE, \
00258      ( RSBAC_NETTEMP_REQUEST_VECTOR & RSBAC_READ_REQUEST_VECTOR ) | RSBAC_ACL_GEN_RIGHTS_VECTOR }
00259 
00260 #define RSBAC_ACL_ACMAN_NETTEMP_NT_ENTRY \
00261    { ACLS_USER, \
00262      RSBAC_SECOFF_UID, \
00263      ( RSBAC_NETTEMP_REQUEST_VECTOR & \
00264        ( RSBAC_READ_WRITE_REQUEST_VECTOR | RSBAC_SECURITY_REQUEST_VECTOR ) ) \
00265      | RSBAC_ACL_ACMAN_RIGHTS_VECTOR }
00266 
00267 #define RSBAC_ACL_SYSADM_NETTEMP_NT_ENTRY \
00268    { ACLS_USER, \
00269      RSBAC_SYSADM_UID, \
00270      ( RSBAC_NETTEMP_REQUEST_VECTOR & \
00271        ( RSBAC_READ_REQUEST_VECTOR | RSBAC_SYSTEM_REQUEST_VECTOR ) ) \
00272      | RSBAC_ACL_SYSADM_RIGHTS_VECTOR }
00273 
00274 #define RSBAC_ACL_GENERAL_NETOBJ_ENTRY \
00275    { ACLS_GROUP, \
00276      RSBAC_ACL_GROUP_EVERYONE, \
00277      ( RSBAC_NETOBJ_REQUEST_VECTOR & RSBAC_READ_WRITE_REQUEST_VECTOR ) \
00278      | RSBAC_REQUEST_VECTOR(R_MODIFY_SYSTEM_DATA) \
00279      | RSBAC_ACL_GEN_RIGHTS_VECTOR }
00280 
00281 #define RSBAC_ACL_ACMAN_NETOBJ_ENTRY \
00282    { ACLS_USER, \
00283      RSBAC_SECOFF_UID, \
00284      ( RSBAC_NETOBJ_REQUEST_VECTOR & \
00285        ( RSBAC_READ_WRITE_REQUEST_VECTOR | RSBAC_SECURITY_REQUEST_VECTOR ) ) \
00286      | RSBAC_REQUEST_VECTOR(R_MODIFY_SYSTEM_DATA) \
00287      | RSBAC_ACL_ACMAN_RIGHTS_VECTOR }
00288 
00289 #define RSBAC_ACL_SYSADM_NETOBJ_ENTRY \
00290    { ACLS_USER, \
00291      RSBAC_SYSADM_UID, \
00292      ( RSBAC_NETOBJ_REQUEST_VECTOR & \
00293        ( RSBAC_READ_WRITE_REQUEST_VECTOR | RSBAC_SYSTEM_REQUEST_VECTOR ) ) \
00294      | RSBAC_REQUEST_VECTOR(R_MODIFY_SYSTEM_DATA) \
00295      | RSBAC_ACL_SYSADM_RIGHTS_VECTOR }
00296 
00297 
00298 /**********************************************/
00299 /* Lists of ACL / General subitems            */
00300 /**********************************************/
00301 
00302 /* Each list represents sets of ACL entries, using a set-id and a sublist each */
00303 
00304 #define RSBAC_ACL_VERSION 1
00305 
00306 /**********************************************/
00307 /* ACL and device entries for File/Dir ACL    */
00308 /**********************************************/
00309 
00310 #define RSBAC_ACL_FD_FILENAME "aclfd"
00311 #define RSBAC_ACL_FD_OLD_FILENAME "aclfd."
00312 #define RSBAC_ACL_DEF_FD_FILENAME "aclfd.df"
00313 #define RSBAC_ACL_NR_FD_LISTS 4
00314 #define RSBAC_ACL_FD_LIST_VERSION 2
00315 #define RSBAC_ACL_DEF_FD_LIST_VERSION 2
00316 #define RSBAC_ACL_FD_OLD_LIST_VERSION 1
00317 #define RSBAC_ACL_DEF_FD_OLD_LIST_VERSION 1
00318 
00319 /* The list of devices is also a double linked list, so we define list    */
00320 /* items and a list head.                                                 */
00321 
00322 struct rsbac_acl_device_list_item_t {
00323         kdev_t id;
00324         u_int mount_count;
00325         rsbac_list_handle_t handle;
00326         struct rsbac_acl_device_list_item_t *prev;
00327         struct rsbac_acl_device_list_item_t *next;
00328 };
00329 
00330 /* To provide consistency we use spinlocks for all list accesses. The     */
00331 /* 'curr' entry is used to avoid repeated lookups for the same item.       */
00332 
00333 struct rsbac_acl_device_list_head_t {
00334         struct rsbac_acl_device_list_item_t *head;
00335         struct rsbac_acl_device_list_item_t *tail;
00336         struct rsbac_acl_device_list_item_t *curr;
00337         u_int count;
00338 };
00339 
00340 
00341 /**********************************************/
00342 /* ACL entries for Device ACL                 */
00343 /**********************************************/
00344 
00345 #define RSBAC_ACL_DEV_FILENAME "acldev"
00346 #define RSBAC_ACL_DEV_MAJOR_FILENAME "acldevm"
00347 #define RSBAC_ACL_DEV_LIST_VERSION 3
00348 #define RSBAC_ACL_DEV_OLD_LIST_VERSION 2
00349 #define RSBAC_ACL_DEV_OLD_OLD_LIST_VERSION 1
00350 #define RSBAC_ACL_DEF_DEV_FILENAME "acldev.df"
00351 #define RSBAC_ACL_DEF_DEV_LIST_VERSION 2
00352 #define RSBAC_ACL_DEF_DEV_OLD_LIST_VERSION 1
00353 
00354 /**********************************************/
00355 /* ACL entries for IPC ACL                    */
00356 /**********************************************/
00357 
00358 #define RSBAC_ACL_DEF_IPC_FILENAME "aclipc.df"
00359 #define RSBAC_ACL_DEF_IPC_LIST_VERSION 2
00360 #define RSBAC_ACL_DEF_IPC_OLD_LIST_VERSION 1
00361 
00362 /**********************************************/
00363 /* ACL entries for SCD ACL                    */
00364 /**********************************************/
00365 
00366 #define RSBAC_ACL_SCD_FILENAME "aclscd"
00367 #define RSBAC_ACL_DEF_SCD_FILENAME "aclscd.df"
00368 #define RSBAC_ACL_SCD_LIST_VERSION 2
00369 #define RSBAC_ACL_DEF_SCD_LIST_VERSION 2
00370 #define RSBAC_ACL_SCD_OLD_LIST_VERSION 1
00371 #define RSBAC_ACL_DEF_SCD_OLD_LIST_VERSION 1
00372 
00373 /**********************************************/
00374 /* ACL entries for user ACL                   */
00375 /**********************************************/
00376 
00377 #define RSBAC_ACL_U_FILENAME "acluser"
00378 #define RSBAC_ACL_U_LIST_VERSION 1
00379 #define RSBAC_ACL_DEF_U_FILENAME "acluser.df"
00380 #define RSBAC_ACL_DEF_U_LIST_VERSION 2
00381 #define RSBAC_ACL_DEF_U_OLD_LIST_VERSION 1
00382 
00383 /**********************************************/
00384 /* ACL entries for process ACL                */
00385 /**********************************************/
00386 
00387 #define RSBAC_ACL_DEF_P_FILENAME "aclproc.df"
00388 #define RSBAC_ACL_DEF_P_LIST_VERSION 2
00389 #define RSBAC_ACL_DEF_P_OLD_LIST_VERSION 1
00390 
00391 /**********************************************/
00392 /* ACL entries for Linux group ACL            */
00393 /**********************************************/
00394 
00395 #define RSBAC_ACL_G_FILENAME "acllgrp"
00396 #define RSBAC_ACL_G_LIST_VERSION 1
00397 #define RSBAC_ACL_DEF_G_FILENAME "acllgrp.df"
00398 #define RSBAC_ACL_DEF_G_LIST_VERSION 2
00399 #define RSBAC_ACL_DEF_G_OLD_LIST_VERSION 1
00400 
00401 /**********************************************/
00402 /* ACL entries for Network Device ACL         */
00403 /**********************************************/
00404 
00405 #define RSBAC_ACL_NETDEV_FILENAME "aclndev"
00406 #define RSBAC_ACL_NETDEV_LIST_VERSION 2
00407 #define RSBAC_ACL_NETDEV_OLD_LIST_VERSION 1
00408 #define RSBAC_ACL_DEF_NETDEV_FILENAME "aclndev.df"
00409 #define RSBAC_ACL_DEF_NETDEV_LIST_VERSION 2
00410 #define RSBAC_ACL_DEF_NETDEV_OLD_LIST_VERSION 1
00411 
00412 /**********************************************/
00413 /* ACL entries for Network Template NT (template protection) ACL */
00414 /**********************************************/
00415 
00416 #define RSBAC_ACL_NETTEMP_NT_FILENAME "aclntnt"
00417 #define RSBAC_ACL_NETTEMP_NT_LIST_VERSION 2
00418 #define RSBAC_ACL_NETTEMP_NT_OLD_LIST_VERSION 1
00419 #define RSBAC_ACL_DEF_NETTEMP_NT_FILENAME "aclntnt.df"
00420 #define RSBAC_ACL_DEF_NETTEMP_NT_LIST_VERSION 2
00421 #define RSBAC_ACL_DEF_NETTEMP_NT_OLD_LIST_VERSION 1
00422 
00423 /**********************************************/
00424 /* ACL entries for Network Object ACL         */
00425 /**********************************************/
00426 
00427 #define RSBAC_ACL_NETTEMP_FILENAME "aclnt"
00428 #define RSBAC_ACL_NETTEMP_LIST_VERSION 2
00429 #define RSBAC_ACL_NETTEMP_OLD_LIST_VERSION 1
00430 #define RSBAC_ACL_NETOBJ_FILENAME "aclno"
00431 #define RSBAC_ACL_NETOBJ_LIST_VERSION 2
00432 #define RSBAC_ACL_NETOBJ_OLD_LIST_VERSION 1
00433 #define RSBAC_ACL_DEF_NETOBJ_FILENAME "aclno.df"
00434 #define RSBAC_ACL_DEF_NETOBJ_LIST_VERSION 2
00435 #define RSBAC_ACL_DEF_NETOBJ_OLD_LIST_VERSION 1
00436 
00437 
00438 /**********************************************/
00439 /* Group Lists                                */
00440 /**********************************************/
00441 
00442 #define RSBAC_ACL_GROUP_FILENAME "aclgrp"
00443 #define RSBAC_ACL_GM_FILENAME "aclgm"
00444 
00445 /* In acl_types.h: #define RSBAC_ACL_GROUP_VERSION 2 */
00446 
00447 #define RSBAC_ACL_GM_VERSION 1
00448 
00449 #endif

Generated on Wed May 16 11:53:26 2007 for RSBAC by  doxygen 1.5.1