|
Data Structures |
union | rsbac_rc_target_id_t |
union | rsbac_rc_item_value_t |
Defines |
#define | RSBAC_RC_GENERAL_ROLE 0 |
#define | RSBAC_RC_ROLE_ADMIN_ROLE 1 |
#define | RSBAC_RC_SYSTEM_ADMIN_ROLE 2 |
#define | RSBAC_RC_AUDITOR_ROLE 3 |
#define | RSBAC_RC_BOOT_ROLE 999999 |
#define | RSBAC_RC_GENERAL_TYPE 0 |
#define | RSBAC_RC_SEC_TYPE 1 |
#define | RSBAC_RC_SYS_TYPE 2 |
#define | RSBAC_RC_NAME_LEN 16 |
#define | RSBAC_RC_ALL_REQUESTS ((rsbac_rc_request_vector_t) -1) |
#define | RSBAC_RC_SPECIAL_RIGHT_BASE 48 |
#define | RSBAC_RC_RIGHTS_VECTOR(x) ((rsbac_rc_rights_vector_t) 1 << (x)) |
#define | RSBAC_RC_ROLE_VECTOR(x) ((rsbac_rc_role_vector_t) 1 << (x)) |
#define | RSBAC_RC_TYPE_VECTOR(x) ((rsbac_rc_type_vector_t) 1 << (x)) |
#define | RSBAC_RC_SPECIAL_RIGHTS_VECTOR |
#define | RSBAC_RC_SUPERVISOR_RIGHT_VECTOR |
#define | RSBAC_RC_ALL_RIGHTS_VECTOR (RSBAC_ALL_REQUEST_VECTOR | RSBAC_RC_SPECIAL_RIGHTS_VECTOR) |
#define | RSBAC_RC_DEFAULT_RIGHTS_VECTOR 0 |
#define | RSBAC_RC_GEN_RIGHTS_VECTOR RSBAC_RC_DEFAULT_RIGHTS_VECTOR |
#define | RST_min 32 |
#define | RSBAC_RC_GENERAL_COMP_SCD |
#define | RSBAC_RC_ROLEADM_COMP_SCD |
#define | RSBAC_RC_SYSADM_COMP_SCD |
#define | RSBAC_RC_AUDITOR_COMP_SCD |
#define | RC_type_inherit_process ((rsbac_rc_type_id_t) -1) |
#define | RC_type_inherit_parent ((rsbac_rc_type_id_t) -2) |
#define | RC_type_no_create ((rsbac_rc_type_id_t) -3) |
#define | RC_type_no_execute ((rsbac_rc_type_id_t) -4) |
#define | RC_type_use_new_role_def_create ((rsbac_rc_type_id_t) -5) |
#define | RC_type_no_chown ((rsbac_rc_type_id_t) -6) |
#define | RC_type_min_special ((rsbac_rc_type_id_t) -6) |
#define | RC_type_max_value ((rsbac_rc_type_id_t) -32) |
#define | RC_role_inherit_user ((rsbac_rc_role_id_t) -1) |
#define | RC_role_inherit_process ((rsbac_rc_role_id_t) -2) |
#define | RC_role_inherit_parent ((rsbac_rc_role_id_t) -3) |
#define | RC_role_inherit_up_mixed ((rsbac_rc_role_id_t) -4) |
#define | RC_role_use_force_role ((rsbac_rc_role_id_t) -5) |
#define | RC_role_min_special ((rsbac_rc_role_id_t) -5) |
#define | RC_role_max_value ((rsbac_rc_role_id_t) -32) |
#define | RC_default_force_role RC_role_inherit_parent |
#define | RC_default_root_dir_force_role RC_role_inherit_up_mixed |
#define | RC_default_init_force_role RC_role_inherit_user |
#define | RC_default_initial_role RC_role_inherit_parent |
#define | RC_default_root_dir_initial_role RC_role_use_force_role |
Typedefs |
typedef __u64 | rsbac_rc_rights_vector_t |
typedef __u64 | rsbac_rc_role_vector_t |
typedef __u32 | rsbac_rc_role_id_t |
typedef __u32 | rsbac_rc_type_id_t |
typedef rsbac_request_vector_t | rsbac_rc_request_vector_t |
Enumerations |
enum | rsbac_rc_special_rights_t {
RCR_ADMIN = RSBAC_RC_SPECIAL_RIGHT_BASE,
RCR_ASSIGN,
RCR_ACCESS_CONTROL,
RCR_SUPERVISOR,
RCR_MODIFY_AUTH,
RCR_NONE
} |
enum | rsbac_rc_admin_type_t { RC_no_admin,
RC_role_admin,
RC_system_admin,
RC_none
} |
enum | rsbac_rc_scd_type_t { RST_auth_administration = RST_min,
RST_none
} |
enum | rsbac_rc_target_t { RT_ROLE,
RT_TYPE,
RT_NONE
} |
enum | rsbac_rc_item_t {
RI_role_comp,
RI_admin_roles,
RI_assign_roles,
RI_type_comp_fd,
RI_type_comp_dev,
RI_type_comp_user,
RI_type_comp_process,
RI_type_comp_ipc,
RI_type_comp_scd,
RI_type_comp_netdev,
RI_type_comp_nettemp,
RI_type_comp_netobj,
RI_admin_type,
RI_name,
RI_def_fd_create_type,
RI_def_user_create_type,
RI_def_process_create_type,
RI_def_process_chown_type,
RI_def_process_execute_type,
RI_def_ipc_create_type,
RI_boot_role,
RI_type_fd_name,
RI_type_dev_name,
RI_type_ipc_name,
RI_type_user_name,
RI_type_process_name,
RI_type_netdev_name,
RI_type_nettemp_name,
RI_type_netobj_name,
RI_type_fd_need_secdel,
RI_type_scd_name,
RI_remove_role,
RI_type_fd_remove,
RI_type_dev_remove,
RI_type_ipc_remove,
RI_type_user_remove,
RI_type_process_remove,
RI_type_netdev_remove,
RI_type_nettemp_remove,
RI_type_netobj_remove,
RI_none
} |