00001 /********************************* */ 00002 /* Rule Set Based Access Control */ 00003 /* Author and (c) 1999-2001: */ 00004 /* Amon Ott <ao@rsbac.org> */ 00005 /* Getname functions for ACL parts */ 00006 /* Last modified: 02/Aug/2001 */ 00007 /********************************* */ 00008 00009 #ifndef __RSBAC_ACL_GETNAME_H 00010 #define __RSBAC_ACL_GETNAME_H 00011 00012 #include <rsbac/types.h> 00013 00014 char * get_acl_subject_type_name(char * name, 00015 enum rsbac_acl_subject_type_t value); 00016 00017 #ifndef __KERNEL__ 00018 enum rsbac_acl_subject_type_t get_acl_subject_type_nr(const char * name); 00019 #endif 00020 00021 char * get_acl_group_syscall_name(char * name, 00022 enum rsbac_acl_group_syscall_type_t value); 00023 00024 #ifndef __KERNEL__ 00025 enum rsbac_acl_group_syscall_type_t get_acl_group_syscall_nr(const char * name); 00026 #endif 00027 00028 char * get_acl_special_right_name(char * name, 00029 enum rsbac_acl_special_rights_t value); 00030 00031 #ifndef __KERNEL__ 00032 enum rsbac_acl_special_rights_t get_acl_special_right_nr(const char * name); 00033 #endif 00034 00035 char * get_acl_scd_type_name(char * name, 00036 enum rsbac_acl_scd_type_t value); 00037 00038 #ifndef __KERNEL__ 00039 enum rsbac_acl_scd_type_t get_acl_scd_type_nr(const char * name); 00040 #endif 00041 00042 #endif