|
Enumerations |
enum | rsbac_syscall_t {
RSYS_stats,
RSYS_check,
RSYS_get_attr,
RSYS_get_attr_n,
RSYS_set_attr,
RSYS_set_attr_n,
RSYS_remove_target,
RSYS_remove_target_n,
RSYS_net_list_all_netdev,
RSYS_net_template,
RSYS_net_list_all_template,
RSYS_switch,
RSYS_adf_log_switch,
RSYS_get_adf_log,
RSYS_write,
RSYS_log,
RSYS_mac_set_curr_level,
RSYS_mac_get_curr_level,
RSYS_mac_get_max_level,
RSYS_mac_get_min_level,
RSYS_mac_add_p_tru,
RSYS_mac_remove_p_tru,
RSYS_mac_add_f_tru,
RSYS_mac_remove_f_tru,
RSYS_mac_get_f_trulist,
RSYS_mac_get_p_trulist,
RSYS_stats_pm,
RSYS_pm,
RSYS_pm_change_current_task,
RSYS_pm_create_file,
RSYS_daz_flush_cache,
RSYS_rc_copy_role,
RSYS_rc_copy_type,
RSYS_rc_get_item,
RSYS_rc_set_item,
RSYS_rc_change_role,
RSYS_rc_get_eff_rights_n,
RSYS_rc_get_list,
RSYS_auth_add_p_cap,
RSYS_auth_remove_p_cap,
RSYS_auth_add_f_cap,
RSYS_auth_remove_f_cap,
RSYS_auth_get_f_caplist,
RSYS_auth_get_p_caplist,
RSYS_acl,
RSYS_acl_n,
RSYS_acl_get_rights,
RSYS_acl_get_rights_n,
RSYS_acl_get_tlist,
RSYS_acl_get_tlist_n,
RSYS_acl_get_mask,
RSYS_acl_get_mask_n,
RSYS_acl_group,
RSYS_reg,
RSYS_jail,
RSYS_init,
RSYS_rc_get_current_role,
RSYS_um_auth_name,
RSYS_um_auth_uid,
RSYS_um_add_user,
RSYS_um_add_group,
RSYS_um_add_gm,
RSYS_um_mod_user,
RSYS_um_mod_group,
RSYS_um_get_user_item,
RSYS_um_get_group_item,
RSYS_um_remove_user,
RSYS_um_remove_group,
RSYS_um_remove_gm,
RSYS_um_user_exists,
RSYS_um_group_exists,
RSYS_um_get_next_user,
RSYS_um_get_user_list,
RSYS_um_get_gm_list,
RSYS_um_get_gm_user_list,
RSYS_um_get_group_list,
RSYS_um_get_uid,
RSYS_um_get_gid,
RSYS_um_set_pass,
RSYS_um_set_pass_name,
RSYS_um_set_group_pass,
RSYS_um_check_account,
RSYS_um_check_account_name,
RSYS_list_ta_begin,
RSYS_list_ta_refresh,
RSYS_list_ta_commit,
RSYS_list_ta_forget,
RSYS_none
} |
Functions |
int | rsbac_stats (void) |
int | rsbac_check (int correct, int check_inode) |
int | rsbac_write (void) |
int | rsbac_get_attr (rsbac_list_ta_number_t ta_number, enum rsbac_switch_target_t module, enum rsbac_target_t target, union rsbac_target_id_t *tid, enum rsbac_attribute_t attr, union rsbac_attribute_value_t *value, int inherit) |
int | rsbac_get_attr_n (rsbac_list_ta_number_t ta_number, enum rsbac_switch_target_t module, enum rsbac_target_t target, char *t_name, enum rsbac_attribute_t attr, union rsbac_attribute_value_t *value, int inherit) |
int | rsbac_set_attr (rsbac_list_ta_number_t ta_number, enum rsbac_switch_target_t module, enum rsbac_target_t target, union rsbac_target_id_t *tid, enum rsbac_attribute_t attr, union rsbac_attribute_value_t *value) |
int | rsbac_set_attr_n (rsbac_list_ta_number_t ta_number, enum rsbac_switch_target_t module, enum rsbac_target_t target, char *t_name, enum rsbac_attribute_t attr, union rsbac_attribute_value_t *value) |
int | rsbac_remove_target (rsbac_list_ta_number_t ta_number, enum rsbac_target_t target, union rsbac_target_id_t *tid) |
int | rsbac_remove_target_n (rsbac_list_ta_number_t ta_number, enum rsbac_target_t target, char *t_name) |
int | rsbac_net_list_all_netdev (rsbac_list_ta_number_t ta_number, rsbac_netdev_id_t *id_p, u_long maxnum) |
int | rsbac_net_template (rsbac_list_ta_number_t ta_number, enum rsbac_net_temp_syscall_t call, rsbac_net_temp_id_t id, union rsbac_net_temp_syscall_data_t *data_p) |
int | rsbac_net_list_all_template (rsbac_list_ta_number_t ta_number, rsbac_net_temp_id_t *id_p, u_long maxnum) |
int | rsbac_switch (enum rsbac_switch_target_t target, int value) |
int | rsbac_mac_set_curr_level (rsbac_security_level_t level, rsbac_mac_category_vector_t *categories_p) |
int | rsbac_mac_get_curr_level (rsbac_security_level_t *level_p, rsbac_mac_category_vector_t *categories_p) |
int | rsbac_mac_get_max_level (rsbac_security_level_t *level_p, rsbac_mac_category_vector_t *categories_p) |
int | rsbac_mac_get_min_level (rsbac_security_level_t *level_p, rsbac_mac_category_vector_t *categories_p) |
int | rsbac_mac_add_p_tru (rsbac_list_ta_number_t ta_number, rsbac_pid_t pid, rsbac_uid_t uid, rsbac_time_t ttl) |
int | rsbac_mac_remove_p_tru (rsbac_list_ta_number_t ta_number, rsbac_pid_t pid, rsbac_uid_t uid) |
int | rsbac_mac_add_f_tru (rsbac_list_ta_number_t ta_number, char *filename, rsbac_uid_t uid, rsbac_time_t ttl) |
int | rsbac_mac_remove_f_tru (rsbac_list_ta_number_t ta_number, char *filename, rsbac_uid_t uid) |
int | rsbac_mac_get_f_trulist (rsbac_list_ta_number_t ta_number, char *filename, rsbac_uid_t trulist[], rsbac_time_t ttllist[], u_int maxnum) |
int | rsbac_mac_get_p_trulist (rsbac_list_ta_number_t ta_number, rsbac_pid_t pid, rsbac_uid_t trulist[], rsbac_time_t ttllist[], u_int maxnum) |
int | rsbac_stats_pm (void) |
int | rsbac_pm (rsbac_list_ta_number_t ta_number, enum rsbac_pm_function_type_t function, union rsbac_pm_function_param_t *param_p, rsbac_pm_tkt_id_t ticket) |
int | rsbac_pm_change_current_task (rsbac_pm_task_id_t task) |
int | rsbac_pm_create_file (const char *filename, int mode, rsbac_pm_object_class_id_t object_class) |
int | rsbac_daz_flush_cache (void) |
int | rsbac_rc_copy_role (rsbac_list_ta_number_t ta_number, rsbac_rc_role_id_t from_role, rsbac_rc_role_id_t to_role) |
int | rsbac_rc_copy_type (rsbac_list_ta_number_t ta_number, enum rsbac_target_t target, rsbac_rc_type_id_t from_type, rsbac_rc_type_id_t to_type) |
int | rsbac_rc_get_item (rsbac_list_ta_number_t ta_number, enum rsbac_rc_target_t target, union rsbac_rc_target_id_t *tid_p, union rsbac_rc_target_id_t *subtid_p, enum rsbac_rc_item_t item, union rsbac_rc_item_value_t *value_p, rsbac_time_t *ttl_p) |
int | rsbac_rc_set_item (rsbac_list_ta_number_t ta_number, enum rsbac_rc_target_t target, union rsbac_rc_target_id_t *tid_p, union rsbac_rc_target_id_t *subtid_p, enum rsbac_rc_item_t item, union rsbac_rc_item_value_t *value_p, rsbac_time_t ttl) |
int | rsbac_rc_get_list (rsbac_list_ta_number_t ta_number, enum rsbac_rc_target_t target, union rsbac_rc_target_id_t *tid_p, enum rsbac_rc_item_t item, u_int maxnum, __u32 *array_p, rsbac_time_t *ttl_array_p) |
int | rsbac_rc_change_role (rsbac_rc_role_id_t role) |
int | rsbac_rc_get_eff_rights_n (rsbac_list_ta_number_t ta_number, enum rsbac_target_t target, char *t_name, rsbac_rc_request_vector_t *request_vector_p, rsbac_time_t *ttl_p) |
int | rsbac_rc_get_current_role (rsbac_rc_role_id_t *role_p) |
int | rsbac_auth_add_p_cap (rsbac_list_ta_number_t ta_number, rsbac_pid_t pid, enum rsbac_auth_cap_type_t cap_type, struct rsbac_auth_cap_range_t cap_range, rsbac_time_t ttl) |
int | rsbac_auth_remove_p_cap (rsbac_list_ta_number_t ta_number, rsbac_pid_t pid, enum rsbac_auth_cap_type_t cap_type, struct rsbac_auth_cap_range_t cap_range) |
int | rsbac_auth_add_f_cap (rsbac_list_ta_number_t ta_number, char *filename, enum rsbac_auth_cap_type_t cap_type, struct rsbac_auth_cap_range_t cap_range, rsbac_time_t ttl) |
int | rsbac_auth_remove_f_cap (rsbac_list_ta_number_t ta_number, char *filename, enum rsbac_auth_cap_type_t cap_type, struct rsbac_auth_cap_range_t cap_range) |
int | rsbac_auth_get_f_caplist (rsbac_list_ta_number_t ta_number, char *filename, enum rsbac_auth_cap_type_t cap_type, struct rsbac_auth_cap_range_t caplist[], rsbac_time_t ttllist[], u_int maxnum) |
int | rsbac_auth_get_p_caplist (rsbac_list_ta_number_t ta_number, rsbac_pid_t pid, enum rsbac_auth_cap_type_t cap_type, struct rsbac_auth_cap_range_t caplist[], rsbac_time_t ttllist[], u_int maxnum) |
int | rsbac_reg (rsbac_reg_handle_t handle, void *arg) |
int | rsbac_acl (rsbac_list_ta_number_t ta_number, enum rsbac_acl_syscall_type_t call, struct rsbac_acl_syscall_arg_t *arg) |
int | rsbac_acl_n (rsbac_list_ta_number_t ta_number, enum rsbac_acl_syscall_type_t call, struct rsbac_acl_syscall_n_arg_t *arg) |
int | rsbac_acl_get_rights (rsbac_list_ta_number_t ta_number, struct rsbac_acl_syscall_arg_t *arg, rsbac_acl_rights_vector_t *rights_p, u_int effective) |
int | rsbac_acl_get_rights_n (rsbac_list_ta_number_t ta_number, struct rsbac_acl_syscall_n_arg_t *arg, rsbac_acl_rights_vector_t *rights_p, u_int effective) |
int | rsbac_acl_get_tlist (rsbac_list_ta_number_t ta_number, enum rsbac_target_t target, union rsbac_target_id_t *tid, struct rsbac_acl_entry_t entry_array[], rsbac_time_t ttl_array[], u_int maxnum) |
int | rsbac_acl_get_tlist_n (rsbac_list_ta_number_t ta_number, enum rsbac_target_t target, char *t_name, struct rsbac_acl_entry_t entry_array[], rsbac_time_t ttl_array[], u_int maxnum) |
int | rsbac_acl_get_mask (rsbac_list_ta_number_t ta_number, enum rsbac_target_t target, union rsbac_target_id_t *tid, rsbac_acl_rights_vector_t *mask_p) |
int | rsbac_acl_get_mask_n (rsbac_list_ta_number_t ta_number, enum rsbac_target_t target, char *t_name, rsbac_acl_rights_vector_t *mask_p) |
int | rsbac_acl_group (rsbac_list_ta_number_t ta_number, enum rsbac_acl_group_syscall_type_t call, union rsbac_acl_group_syscall_arg_t *arg_p) |
int | rsbac_jail (rsbac_version_t version, char *path, rsbac_jail_ip_t ip, rsbac_jail_flags_t flags, rsbac_cap_vector_t max_caps) |
int | rsbac_um_auth_name (char *name, char *pass) |
int | rsbac_um_auth_uid (rsbac_uid_t uid, char *pass) |
int | rsbac_um_add_user (rsbac_list_ta_number_t ta_number, rsbac_uid_t uid, struct rsbac_um_user_entry_t *entry_p, char *pass, rsbac_time_t ttl) |
int | rsbac_um_add_group (rsbac_list_ta_number_t ta_number, rsbac_gid_t gid, struct rsbac_um_group_entry_t *entry_p, char *pass, rsbac_time_t ttl) |
int | rsbac_um_add_gm (rsbac_list_ta_number_t ta_number, rsbac_uid_t uid, rsbac_gid_t gid, rsbac_time_t ttl) |
int | rsbac_um_mod_user (rsbac_list_ta_number_t ta_number, rsbac_uid_t uid, enum rsbac_um_mod_t mod, union rsbac_um_mod_data_t *data_p) |
int | rsbac_um_mod_group (rsbac_list_ta_number_t ta_number, rsbac_gid_t gid, enum rsbac_um_mod_t mod, union rsbac_um_mod_data_t *data_p) |
int | rsbac_um_get_user_item (rsbac_list_ta_number_t ta_number, rsbac_uid_t uid, enum rsbac_um_mod_t mod, union rsbac_um_mod_data_t *data_p) |
int | rsbac_um_get_group_item (rsbac_list_ta_number_t ta_number, rsbac_gid_t gid, enum rsbac_um_mod_t mod, union rsbac_um_mod_data_t *data_p) |
int | rsbac_um_remove_user (rsbac_list_ta_number_t ta_number, rsbac_uid_t uid) |
int | rsbac_um_remove_group (rsbac_list_ta_number_t ta_number, rsbac_gid_t gid) |
int | rsbac_um_remove_gm (rsbac_list_ta_number_t ta_number, rsbac_uid_t uid, rsbac_gid_t gid) |
int | rsbac_um_user_exists (rsbac_list_ta_number_t ta_number, rsbac_uid_t uid) |
int | rsbac_um_group_exists (rsbac_list_ta_number_t ta_number, rsbac_gid_t gid) |
int | rsbac_um_get_next_user (rsbac_list_ta_number_t ta_number, rsbac_uid_t old_user, rsbac_uid_t *next_user_p) |
int | rsbac_um_get_user_list (rsbac_list_ta_number_t ta_number, rsbac_uid_t user_array[], u_int maxnum) |
int | rsbac_um_get_gm_list (rsbac_list_ta_number_t ta_number, rsbac_uid_t user, rsbac_gid_t group_array[], u_int maxnum) |
int | rsbac_um_get_gm_user_list (rsbac_list_ta_number_t ta_number, rsbac_gid_t group, rsbac_uid_t user_array[], u_int maxnum) |
int | rsbac_um_get_group_list (rsbac_list_ta_number_t ta_number, rsbac_gid_t group_array[], u_int maxnum) |
int | rsbac_um_get_uid (rsbac_list_ta_number_t ta_number, char *name, rsbac_uid_t *uid_p) |
int | rsbac_um_get_gid (rsbac_list_ta_number_t ta_number, char *name, rsbac_gid_t *gid_p) |
int | rsbac_um_set_pass (rsbac_uid_t uid, char *old_pass, char *new_pass) |
int | rsbac_um_set_pass_name (char *name, char *old_pass, char *new_pass) |
int | rsbac_um_set_group_pass (rsbac_gid_t gid, char *new_pass) |
int | rsbac_um_check_account (rsbac_uid_t uid) |
int | rsbac_um_check_account_name (char *name) |
int | rsbac_list_ta_begin (rsbac_time_t ttl, rsbac_list_ta_number_t *ta_number_p, rsbac_uid_t commit_uid, char *password) |
int | rsbac_list_ta_refresh (rsbac_time_t ttl, rsbac_list_ta_number_t ta_number, char *password) |
int | rsbac_list_ta_commit (rsbac_list_ta_number_t ta_number, char *password) |
int | rsbac_list_ta_forget (rsbac_list_ta_number_t ta_number, char *password) |
int | rsbac_adf_log_switch (enum rsbac_adf_request_t request, enum rsbac_target_t target, u_int value) |
int | rsbac_get_adf_log (enum rsbac_adf_request_t request, enum rsbac_target_t target, u_int *value_p) |
int | rsbac_log (int type, char *buf, int len) |
int | rsbac_init (char *root_dev) |