error.h File Reference

#include <errno.h>

Go to the source code of this file.

Defines

#define RSBAC_EPERM   1001
#define RSBAC_EACCESS   1002
#define RSBAC_EREADFAILED   1003
#define RSBAC_EWRITEFAILED   1004
#define RSBAC_EINVALIDPOINTER   1005
#define RSBAC_ENOROOTDIR   1006
#define RSBAC_EPATHTOOLONG   1007
#define RSBAC_ENOROOTDEV   1008
#define RSBAC_ENOTFOUND   1009
#define RSBAC_ENOTINITIALIZED   1010
#define RSBAC_EREINIT   1011
#define RSBAC_ECOULDNOTADDDEVICE   1012
#define RSBAC_ECOULDNOTADDITEM   1013
#define RSBAC_ECOULDNOTCREATEPATH   1014
#define RSBAC_EINVALIDATTR   1015
#define RSBAC_EINVALIDDEV   1016
#define RSBAC_EINVALIDTARGET   1017
#define RSBAC_EINVALIDVALUE   1018
#define RSBAC_EEXISTS   1019
#define RSBAC_EINTERNONLY   1020
#define RSBAC_EINVALIDREQUEST   1021
#define RSBAC_ENOTWRITABLE   1022
#define RSBAC_EMALWAREDETECTED   1023
#define RSBAC_ENOMEM   1024
#define RSBAC_EDECISIONMISMATCH   1025
#define RSBAC_EINVALIDVERSION   1026
#define RSBAC_EINVALIDMODULE   1027
#define RSBAC_EEXPIRED   1028
#define RSBAC_EMUSTCHANGE   1029
#define RSBAC_EBUSY   1030
#define RSBAC_EINVALIDTRANSACTION   1031
#define RSBAC_EMAX   1031
#define RSBAC_ERROR(res)   ((res <= -RSBAC_EPERM) && (res >= -RSBAC_EMAX))

Functions

void error_exit (int error)
void show_error (int error)


Define Documentation

#define RSBAC_EACCESS   1002
 

Definition at line 20 of file error.h.

Referenced by lookup_aci_path_dentry().

#define RSBAC_EBUSY   1030
 

Definition at line 48 of file error.h.

Referenced by rsbac_ta_list_add_ttl(), rsbac_ta_list_lol_add_ttl(), rsbac_ta_list_lol_remove(), rsbac_ta_list_lol_remove_all(), rsbac_ta_list_lol_subadd_ttl(), rsbac_ta_list_lol_subremove(), rsbac_ta_list_lol_subremove_all(), rsbac_ta_list_lol_subremove_from_all(), rsbac_ta_list_remove(), and rsbac_ta_list_remove_all().

#define RSBAC_ECOULDNOTADDDEVICE   1012
 

Definition at line 30 of file error.h.

Referenced by rsbac_do_init(), rsbac_init_acl(), rsbac_init_auth(), rsbac_init_mac(), rsbac_mount(), rsbac_mount_acl(), rsbac_mount_auth(), and rsbac_mount_mac().

#define RSBAC_ECOULDNOTADDITEM   1013
 

Definition at line 31 of file error.h.

Referenced by rsbac_acl_add_group(), rsbac_do_init(), rsbac_list_lol_register(), rsbac_list_register(), rsbac_reg_register(), and rsbac_reg_register_syscall().

#define RSBAC_ECOULDNOTCREATEPATH   1014
 

Definition at line 32 of file error.h.

Referenced by lookup_aci_path_dentry().

#define RSBAC_EDECISIONMISMATCH   1025
 

Definition at line 43 of file error.h.

Referenced by rsbac_adf_set_attr_mac(), and rsbac_adf_set_attr_rc().

#define RSBAC_EEXISTS   1019
 

Definition at line 37 of file error.h.

Referenced by rsbac_acl_add_group(), rsbac_list_lol_register(), rsbac_list_register(), rsbac_pm(), rsbac_pm_create_set(), rsbac_reg_register(), rsbac_reg_register_syscall(), rsbac_um_add_group(), rsbac_um_add_user(), rsbac_um_mod_group(), and rsbac_um_mod_user().

#define RSBAC_EEXPIRED   1028
 

Definition at line 46 of file error.h.

Referenced by rsbac_um_check_account(), and rsbac_um_check_pass().

#define RSBAC_EINTERNONLY   1020
 

Definition at line 38 of file error.h.

#define RSBAC_EINVALIDATTR   1015
 

Definition at line 33 of file error.h.

Referenced by get_attr_dev(), get_attr_fd(), get_attr_ipc(), get_attr_process(), get_attr_user(), rsbac_adf_set_attr_cap(), rsbac_adf_set_attr_check(), rsbac_adf_set_attr_jail(), rsbac_adf_set_attr_mac(), rsbac_adf_set_attr_rc(), rsbac_adf_set_attr_res(), rsbac_pm_get_data(), rsbac_pm_set_data(), rsbac_rc_get_item(), rsbac_rc_get_list(), rsbac_rc_set_item(), rsbac_rc_sys_get_item(), rsbac_rc_sys_set_item(), set_attr_dev(), set_attr_fd(), set_attr_ipc(), set_attr_process(), set_attr_user(), sys_rsbac_get_attr(), sys_rsbac_get_attr_n(), sys_rsbac_set_attr(), and sys_rsbac_set_attr_n().

#define RSBAC_EINVALIDDEV   1016
 

Definition at line 34 of file error.h.

Referenced by get_attr_fd(), lookup_aci_path_dentry(), rsbac_acl_add_to_acl_entry(), rsbac_acl_get_mask(), rsbac_acl_get_rights(), rsbac_acl_get_tlist(), rsbac_acl_remove_acl(), rsbac_acl_remove_acl_entry(), rsbac_acl_remove_from_acl_entry(), rsbac_acl_set_acl_entry(), rsbac_acl_set_mask(), rsbac_adf_request_int(), rsbac_auth_add_to_f_capset(), rsbac_auth_clear_f_capset(), rsbac_auth_copy_fp_capset(), rsbac_auth_get_f_caplist(), rsbac_auth_remove_from_f_capset(), rsbac_mac_add_to_f_truset(), rsbac_mac_clear_f_truset(), rsbac_mac_copy_fp_truset(), rsbac_mac_get_f_trulist(), rsbac_mac_remove_from_f_truset(), rsbac_ta_remove_target(), rsbac_write_open(), and set_attr_fd().

#define RSBAC_EINVALIDMODULE   1027
 

Definition at line 45 of file error.h.

Referenced by get_attr_dev(), get_attr_fd(), get_attr_ipc(), get_attr_process(), get_attr_user(), set_attr_dev(), set_attr_fd(), set_attr_ipc(), set_attr_process(), set_attr_user(), sys_rsbac(), sys_rsbac_acl(), sys_rsbac_acl_get_mask(), sys_rsbac_acl_get_mask_n(), sys_rsbac_acl_get_rights(), sys_rsbac_acl_get_rights_n(), sys_rsbac_acl_get_tlist(), sys_rsbac_acl_get_tlist_n(), sys_rsbac_acl_group(), sys_rsbac_acl_n(), sys_rsbac_auth_add_f_cap(), sys_rsbac_auth_add_p_cap(), sys_rsbac_auth_get_f_caplist(), sys_rsbac_auth_get_p_caplist(), sys_rsbac_auth_remove_f_cap(), sys_rsbac_auth_remove_p_cap(), sys_rsbac_get_attr(), sys_rsbac_get_attr_n(), sys_rsbac_jail(), sys_rsbac_mac_add_f_tru(), sys_rsbac_mac_add_p_tru(), sys_rsbac_mac_get_curr_level(), sys_rsbac_mac_get_f_trulist(), sys_rsbac_mac_get_max_level(), sys_rsbac_mac_get_min_level(), sys_rsbac_mac_get_p_trulist(), sys_rsbac_mac_remove_f_tru(), sys_rsbac_mac_remove_p_tru(), sys_rsbac_mac_set_curr_level(), sys_rsbac_pm(), sys_rsbac_pm_create_file(), sys_rsbac_rc_change_role(), sys_rsbac_rc_copy_role(), sys_rsbac_rc_copy_type(), sys_rsbac_rc_get_current_role(), sys_rsbac_rc_get_eff_rights_n(), sys_rsbac_rc_get_item(), sys_rsbac_rc_get_list(), sys_rsbac_rc_set_item(), sys_rsbac_reg(), sys_rsbac_set_attr(), sys_rsbac_set_attr_n(), sys_rsbac_switch(), sys_rsbac_um_add_gm(), sys_rsbac_um_add_group(), sys_rsbac_um_add_user(), sys_rsbac_um_auth_name(), sys_rsbac_um_auth_uid(), sys_rsbac_um_check_account(), sys_rsbac_um_check_account_name(), sys_rsbac_um_get_gid(), sys_rsbac_um_get_gm_list(), sys_rsbac_um_get_gm_user_list(), sys_rsbac_um_get_group_item(), sys_rsbac_um_get_group_list(), sys_rsbac_um_get_next_user(), sys_rsbac_um_get_uid(), sys_rsbac_um_get_user_item(), sys_rsbac_um_get_user_list(), sys_rsbac_um_group_exists(), sys_rsbac_um_mod_group(), sys_rsbac_um_mod_user(), sys_rsbac_um_remove_gm(), sys_rsbac_um_remove_group(), sys_rsbac_um_remove_user(), sys_rsbac_um_set_group_pass(), sys_rsbac_um_set_pass(), sys_rsbac_um_set_pass_name(), and sys_rsbac_um_user_exists().

#define RSBAC_EINVALIDPOINTER   1005
 

Definition at line 23 of file error.h.

Referenced by aci_detach_fd_lists(), acl_detach_fd_lists(), acl_register_fd_lists(), auth_detach_fd_lists(), auth_register_fd_lists(), lookup_aci_path_dentry(), mac_detach_fd_lists(), mac_register_fd_lists(), register_fd_lists(), rsbac_acl_add_group(), rsbac_acl_change_group(), rsbac_acl_get_group_entry(), rsbac_acl_get_group_members(), rsbac_acl_get_rights(), rsbac_acl_get_single_right(), rsbac_acl_get_tlist(), rsbac_acl_list_groups(), rsbac_acl_sys_group(), rsbac_check_inode(), rsbac_do_init(), rsbac_get_full_path(), rsbac_get_full_path_length(), rsbac_get_fullname(), rsbac_get_parent(), rsbac_init(), rsbac_list_destroy(), rsbac_list_detach(), rsbac_list_lol_destroy(), rsbac_list_lol_detach(), rsbac_list_lol_register(), rsbac_list_register(), rsbac_mount(), rsbac_read_open(), rsbac_ta_get_attr(), rsbac_ta_list_get_all_items_ttl(), rsbac_ta_list_get_next_desc(), rsbac_ta_list_lol_get_next_desc(), rsbac_um_add_group(), rsbac_um_add_user(), rsbac_um_check_pass(), rsbac_um_get_gid(), rsbac_um_get_group_item(), rsbac_um_get_uid(), rsbac_um_get_user_item(), rsbac_um_mod_group(), rsbac_um_mod_user(), rsbac_umount(), rsbac_write_open(), sys_rsbac_acl(), sys_rsbac_acl_get_mask(), sys_rsbac_acl_get_mask_n(), sys_rsbac_acl_get_rights(), sys_rsbac_acl_get_rights_n(), sys_rsbac_acl_get_tlist(), sys_rsbac_acl_get_tlist_n(), sys_rsbac_acl_group(), sys_rsbac_acl_n(), sys_rsbac_auth_get_f_caplist(), sys_rsbac_auth_get_p_caplist(), sys_rsbac_get_adf_log(), sys_rsbac_mac_get_f_trulist(), sys_rsbac_mac_get_p_trulist(), sys_rsbac_mac_set_curr_level(), sys_rsbac_net_template(), sys_rsbac_pm(), sys_rsbac_pm_create_file(), sys_rsbac_rc_get_current_role(), sys_rsbac_um_add_group(), sys_rsbac_um_add_user(), sys_rsbac_um_auth_name(), sys_rsbac_um_auth_uid(), sys_rsbac_um_check_account_name(), sys_rsbac_um_get_gid(), sys_rsbac_um_get_group_item(), sys_rsbac_um_get_next_user(), sys_rsbac_um_get_uid(), sys_rsbac_um_get_user_item(), sys_rsbac_um_mod_group(), sys_rsbac_um_mod_user(), sys_rsbac_um_set_pass(), and sys_rsbac_um_set_pass_name().

#define RSBAC_EINVALIDREQUEST   1021
 

Definition at line 39 of file error.h.

Referenced by rsbac_acl_sys_group(), rsbac_pm(), rsbac_ta_list_get_all_data(), rsbac_ta_list_get_data_ttl(), rsbac_ta_list_get_desc(), rsbac_ta_list_lol_get_all_data(), rsbac_ta_list_lol_get_all_subdata(), rsbac_ta_list_lol_get_data_ttl(), rsbac_ta_list_lol_get_desc(), rsbac_ta_list_lol_get_subdata_ttl(), rsbac_um_get_group_item(), rsbac_um_get_user_item(), rsbac_um_mod_group(), rsbac_um_mod_user(), sys_rsbac(), sys_rsbac_acl(), sys_rsbac_acl_group(), sys_rsbac_acl_n(), sys_rsbac_adf_log_switch(), sys_rsbac_get_adf_log(), sys_rsbac_net_list_all_netdev(), sys_rsbac_net_list_all_template(), sys_rsbac_net_template(), sys_rsbac_pm(), sys_rsbac_um_get_group_item(), sys_rsbac_um_get_user_item(), sys_rsbac_um_mod_group(), and sys_rsbac_um_mod_user().

#define RSBAC_EINVALIDTARGET   1017
 

Definition at line 35 of file error.h.

Referenced by adjust_in_out_pp(), get_attr_process(), na_and_pp_ipc(), na_and_pp_or_cs(), na_dev(), na_ipc(), pm_get_file(), rsbac_acl_add_to_acl_entry(), rsbac_acl_get_mask(), rsbac_acl_get_rights(), rsbac_acl_get_single_right(), rsbac_acl_get_tlist(), rsbac_acl_remove_acl(), rsbac_acl_remove_acl_entry(), rsbac_acl_remove_from_acl_entry(), rsbac_acl_set_acl_entry(), rsbac_acl_set_mask(), rsbac_acl_sys_add_to_acl_entry(), rsbac_acl_sys_remove_acl_entry(), rsbac_acl_sys_remove_from_acl_entry(), rsbac_acl_sys_set_acl_entry(), rsbac_acl_sys_set_mask(), rsbac_adf_request_pm(), rsbac_adf_set_attr_check(), rsbac_adf_set_attr_pm(), rsbac_auth_add_to_f_capset(), rsbac_auth_add_to_p_capset(), rsbac_auth_clear_f_capset(), rsbac_auth_clear_p_capset(), rsbac_auth_get_f_caplist(), rsbac_auth_get_p_caplist(), rsbac_auth_remove_from_f_capset(), rsbac_auth_remove_from_p_capset(), rsbac_do_init(), rsbac_get_parent(), rsbac_pm(), rsbac_pm_add_target(), rsbac_pm_add_to_set(), rsbac_pm_clear_set(), rsbac_pm_create_file(), rsbac_pm_create_set(), rsbac_pm_get_all_data(), rsbac_pm_get_data(), rsbac_pm_remove_from_set(), rsbac_pm_remove_set(), rsbac_pm_remove_target(), rsbac_pm_set_data(), rsbac_rc_copy_role(), rsbac_rc_copy_type(), rsbac_rc_get_item(), rsbac_rc_get_list(), rsbac_rc_set_item(), rsbac_rc_sys_copy_type(), rsbac_rc_sys_get_eff_rights(), rsbac_rc_sys_get_item(), rsbac_rc_sys_set_item(), rsbac_reg_switch(), rsbac_reg_syscall(), rsbac_reg_unregister(), rsbac_reg_unregister_syscall(), rsbac_ta_get_attr(), rsbac_ta_list_lol_subadd_ttl(), rsbac_ta_remove_target(), rsbac_ta_set_attr(), set_attr_process(), sys_rsbac_acl(), sys_rsbac_acl_get_mask(), sys_rsbac_acl_get_mask_n(), sys_rsbac_acl_get_rights(), sys_rsbac_acl_get_rights_n(), sys_rsbac_acl_get_tlist(), sys_rsbac_acl_get_tlist_n(), sys_rsbac_acl_n(), sys_rsbac_adf_log_switch(), sys_rsbac_auth_add_f_cap(), sys_rsbac_auth_add_p_cap(), sys_rsbac_auth_get_f_caplist(), sys_rsbac_auth_get_p_caplist(), sys_rsbac_auth_remove_f_cap(), sys_rsbac_auth_remove_p_cap(), sys_rsbac_get_adf_log(), sys_rsbac_get_attr(), sys_rsbac_get_attr_n(), sys_rsbac_mac_add_f_tru(), sys_rsbac_mac_add_p_tru(), sys_rsbac_mac_get_f_trulist(), sys_rsbac_mac_get_p_trulist(), sys_rsbac_mac_remove_f_tru(), sys_rsbac_mac_remove_p_tru(), sys_rsbac_rc_get_eff_rights_n(), sys_rsbac_remove_target(), sys_rsbac_remove_target_n(), sys_rsbac_set_attr(), sys_rsbac_set_attr_n(), and sys_rsbac_switch().

#define RSBAC_EINVALIDTRANSACTION   1031
 

Definition at line 49 of file error.h.

Referenced by rsbac_ta_list_add_ttl(), rsbac_ta_list_count(), rsbac_ta_list_exist(), rsbac_ta_list_get_all_data(), rsbac_ta_list_get_all_desc(), rsbac_ta_list_get_all_items_ttl(), rsbac_ta_list_get_data_ttl(), rsbac_ta_list_get_desc(), rsbac_ta_list_get_max_desc(), rsbac_ta_list_get_next_desc(), rsbac_ta_list_lol_add_ttl(), rsbac_ta_list_lol_all_subcount(), rsbac_ta_list_lol_count(), rsbac_ta_list_lol_exist(), rsbac_ta_list_lol_get_all_data(), rsbac_ta_list_lol_get_all_desc(), rsbac_ta_list_lol_get_all_items(), rsbac_ta_list_lol_get_all_subdata(), rsbac_ta_list_lol_get_all_subdesc_ttl(), rsbac_ta_list_lol_get_all_subitems_ttl(), rsbac_ta_list_lol_get_data_ttl(), rsbac_ta_list_lol_get_desc(), rsbac_ta_list_lol_get_next_desc(), rsbac_ta_list_lol_get_subdata_ttl(), rsbac_ta_list_lol_remove(), rsbac_ta_list_lol_remove_all(), rsbac_ta_list_lol_subadd_ttl(), rsbac_ta_list_lol_subcount(), rsbac_ta_list_lol_subexist(), rsbac_ta_list_lol_subexist_compare(), rsbac_ta_list_lol_subremove(), rsbac_ta_list_lol_subremove_all(), rsbac_ta_list_lol_subremove_from_all(), rsbac_ta_list_remove(), and rsbac_ta_list_remove_all().

#define RSBAC_EINVALIDVALUE   1018
 

Definition at line 36 of file error.h.

Referenced by adjust_in_out_pp(), read_list(), read_lol_list(), rsbac_acl_add_group(), rsbac_acl_add_group_member(), rsbac_acl_add_to_acl_entry(), rsbac_acl_change_group(), rsbac_acl_get_group_entry(), rsbac_acl_get_group_members(), rsbac_acl_get_rights(), rsbac_acl_get_single_right(), rsbac_acl_remove_acl_entry(), rsbac_acl_remove_from_acl_entry(), rsbac_acl_remove_group(), rsbac_acl_remove_group_member(), rsbac_acl_remove_subject(), rsbac_acl_set_acl_entry(), rsbac_acl_sys_group(), rsbac_adf_set_attr(), rsbac_adf_set_attr_pm(), rsbac_adf_set_attr_rc(), rsbac_auth_add_to_f_capset(), rsbac_auth_add_to_p_capset(), rsbac_auth_remove_from_f_capset(), rsbac_auth_remove_from_p_capset(), rsbac_check_inode(), rsbac_get_adf_log(), rsbac_get_full_path(), rsbac_get_gid_name(), rsbac_get_uid_name(), rsbac_list_check(), rsbac_list_destroy(), rsbac_list_detach(), rsbac_list_get_item_size(), rsbac_list_lol_check(), rsbac_list_lol_destroy(), rsbac_list_lol_detach(), rsbac_list_lol_get_item_size(), rsbac_list_lol_get_subitem_size(), rsbac_list_lol_no_write(), rsbac_list_lol_register(), rsbac_list_no_write(), rsbac_list_register(), rsbac_mac_set_curr_level(), rsbac_pm(), rsbac_pm_change_current_task(), rsbac_pm_create_file(), rsbac_pm_get_all_data(), rsbac_pm_get_data(), rsbac_pm_pp_intersec(), rsbac_pm_pp_union(), rsbac_rc_set_item(), rsbac_rc_test_admin_roles(), rsbac_rc_test_assign_roles(), rsbac_reg_register(), rsbac_reg_register_syscall(), rsbac_reg_switch(), rsbac_reg_unregister(), rsbac_reg_unregister_syscall(), rsbac_ta_list_add_ttl(), rsbac_ta_list_count(), rsbac_ta_list_exist(), rsbac_ta_list_get_all_data(), rsbac_ta_list_get_all_desc(), rsbac_ta_list_get_all_items_ttl(), rsbac_ta_list_get_data_ttl(), rsbac_ta_list_get_desc(), rsbac_ta_list_get_max_desc(), rsbac_ta_list_get_next_desc(), rsbac_ta_list_lol_add_ttl(), rsbac_ta_list_lol_all_subcount(), rsbac_ta_list_lol_count(), rsbac_ta_list_lol_exist(), rsbac_ta_list_lol_get_all_data(), rsbac_ta_list_lol_get_all_desc(), rsbac_ta_list_lol_get_all_items(), rsbac_ta_list_lol_get_all_subdata(), rsbac_ta_list_lol_get_all_subdesc_ttl(), rsbac_ta_list_lol_get_all_subitems_ttl(), rsbac_ta_list_lol_get_data_ttl(), rsbac_ta_list_lol_get_desc(), rsbac_ta_list_lol_get_next_desc(), rsbac_ta_list_lol_get_subdata_ttl(), rsbac_ta_list_lol_remove(), rsbac_ta_list_lol_remove_all(), rsbac_ta_list_lol_subadd_ttl(), rsbac_ta_list_lol_subcount(), rsbac_ta_list_lol_subexist(), rsbac_ta_list_lol_subexist_compare(), rsbac_ta_list_lol_subremove(), rsbac_ta_list_lol_subremove_all(), rsbac_ta_list_lol_subremove_from_all(), rsbac_ta_list_remove(), rsbac_ta_list_remove_all(), rsbac_um_add_user(), rsbac_um_mod_user(), set_attr_user(), sys_rsbac_acl(), sys_rsbac_acl_get_rights(), sys_rsbac_acl_get_rights_n(), sys_rsbac_acl_get_tlist(), sys_rsbac_acl_n(), sys_rsbac_adf_log_switch(), sys_rsbac_auth_add_f_cap(), sys_rsbac_auth_add_p_cap(), sys_rsbac_auth_get_f_caplist(), sys_rsbac_auth_get_p_caplist(), sys_rsbac_auth_remove_f_cap(), sys_rsbac_auth_remove_p_cap(), sys_rsbac_get_attr(), sys_rsbac_get_attr_n(), sys_rsbac_mac_get_f_trulist(), sys_rsbac_mac_get_p_trulist(), sys_rsbac_net_template(), sys_rsbac_rc_change_role(), sys_rsbac_rc_copy_role(), sys_rsbac_rc_copy_type(), sys_rsbac_rc_get_item(), sys_rsbac_rc_get_list(), sys_rsbac_rc_set_item(), sys_rsbac_set_attr(), sys_rsbac_set_attr_n(), sys_rsbac_switch(), sys_rsbac_um_add_group(), and sys_rsbac_um_add_user().

#define RSBAC_EINVALIDVERSION   1026
 

Definition at line 44 of file error.h.

Referenced by read_list(), read_lol_list(), rsbac_jail_sys_jail(), rsbac_list_lol_register(), rsbac_list_register(), rsbac_reg_register(), rsbac_reg_register_syscall(), and sys_rsbac().

#define RSBAC_EMALWAREDETECTED   1023
 

Definition at line 41 of file error.h.

#define RSBAC_EMAX   1031
 

Definition at line 51 of file error.h.

#define RSBAC_EMUSTCHANGE   1029
 

Definition at line 47 of file error.h.

Referenced by rsbac_um_check_account().

#define RSBAC_ENOMEM   1024
 

Definition at line 42 of file error.h.

Referenced by acl_detach_fd_lists(), acl_register_fd_lists(), auth_detach_fd_lists(), auth_register_fd_lists(), fill_buffer(), fill_lol_buffer(), mac_detach_fd_lists(), mac_register_fd_lists(), read_list(), read_lol_list(), register_fd_lists(), rsbac_acl_list_groups(), rsbac_acl_sys_group(), rsbac_check(), rsbac_get_full_path(), rsbac_list_write_buffers(), rsbac_list_write_lol_buffers(), rsbac_rc_get_item(), rsbac_read_open(), rsbac_ta_list_get_all_data(), rsbac_ta_list_get_all_desc(), rsbac_ta_list_get_all_items_ttl(), rsbac_ta_list_lol_get_all_data(), rsbac_ta_list_lol_get_all_desc(), rsbac_ta_list_lol_get_all_items(), rsbac_ta_list_lol_get_all_subdata(), rsbac_ta_list_lol_get_all_subdesc_ttl(), rsbac_ta_list_lol_get_all_subitems_ttl(), rsbac_um_check_account(), rsbac_um_check_pass(), rsbac_um_get_gm_user_list(), rsbac_um_get_group_item(), rsbac_um_get_group_list(), rsbac_um_get_user_item(), rsbac_um_get_user_list(), rsbac_um_hash(), rsbac_um_mod_group(), rsbac_um_mod_user(), rsbac_um_set_group_pass(), rsbac_um_set_pass(), rsbac_write_open(), sys_rsbac_um_add_group(), sys_rsbac_um_add_user(), sys_rsbac_um_auth_name(), sys_rsbac_um_auth_uid(), sys_rsbac_um_get_group_item(), sys_rsbac_um_get_user_item(), sys_rsbac_um_mod_group(), sys_rsbac_um_mod_user(), sys_rsbac_um_set_group_pass(), sys_rsbac_um_set_pass(), and sys_rsbac_um_set_pass_name().

#define RSBAC_ENOROOTDEV   1008
 

Definition at line 26 of file error.h.

Referenced by rsbac_do_init().

#define RSBAC_ENOROOTDIR   1006
 

Definition at line 24 of file error.h.

Referenced by lookup_aci_path_dentry().

#define RSBAC_ENOTFOUND   1009
 

Definition at line 27 of file error.h.

Referenced by copy_fp_cap_set_item(), copy_fp_tru_set_item(), lookup_aci_path_dentry(), rsbac_acl_change_group(), rsbac_acl_get_mask(), rsbac_acl_sys_get_tlist(), rsbac_check_inode(), rsbac_do_init(), rsbac_get_parent(), rsbac_list_lol_register(), rsbac_list_register(), rsbac_pm(), rsbac_pm_create_file(), rsbac_rc_get_boot_role(), rsbac_rc_get_list(), rsbac_read_open(), rsbac_ta_list_get_data_ttl(), rsbac_ta_list_get_desc(), rsbac_ta_list_get_max_desc(), rsbac_ta_list_get_next_desc(), rsbac_ta_list_lol_get_data_ttl(), rsbac_ta_list_lol_get_desc(), rsbac_ta_list_lol_get_next_desc(), rsbac_ta_list_lol_get_subdata_ttl(), rsbac_ta_list_lol_subcount(), rsbac_um_add_gm(), rsbac_um_get_gid(), rsbac_um_get_gm_user_list(), rsbac_um_get_group_item(), rsbac_um_get_next_user(), rsbac_um_get_uid(), rsbac_um_get_user_item(), rsbac_um_hash(), rsbac_um_mod_group(), rsbac_um_mod_user(), rsbac_um_remove_group(), and rsbac_um_remove_user().

#define RSBAC_ENOTINITIALIZED   1010
 

Definition at line 28 of file error.h.

Referenced by rsbac_acl_add_to_acl_entry(), rsbac_acl_get_mask(), rsbac_acl_get_rights(), rsbac_acl_get_single_right(), rsbac_acl_get_tlist(), rsbac_acl_remove_acl(), rsbac_acl_remove_acl_entry(), rsbac_acl_remove_from_acl_entry(), rsbac_acl_set_acl_entry(), rsbac_acl_set_mask(), rsbac_auth_add_to_f_capset(), rsbac_auth_add_to_p_capset(), rsbac_auth_clear_f_capset(), rsbac_auth_clear_p_capset(), rsbac_auth_copy_fp_capset(), rsbac_auth_copy_pp_capset(), rsbac_auth_get_f_caplist(), rsbac_auth_get_p_caplist(), rsbac_auth_remove_from_f_capset(), rsbac_auth_remove_from_p_capset(), rsbac_check(), rsbac_check_acl(), rsbac_check_auth(), rsbac_check_lists(), rsbac_check_mac(), rsbac_free_dat_dentries(), rsbac_list_check(), rsbac_list_destroy(), rsbac_list_detach(), rsbac_list_get_item_size(), rsbac_list_lol_check(), rsbac_list_lol_destroy(), rsbac_list_lol_detach(), rsbac_list_lol_get_item_size(), rsbac_list_lol_get_subitem_size(), rsbac_list_lol_no_write(), rsbac_list_lol_register(), rsbac_list_no_write(), rsbac_list_register(), rsbac_mac_add_to_f_truset(), rsbac_mac_add_to_p_truset(), rsbac_mac_clear_f_truset(), rsbac_mac_clear_p_truset(), rsbac_mac_copy_fp_truset(), rsbac_mac_copy_pp_truset(), rsbac_mac_get_f_trulist(), rsbac_mac_get_p_trulist(), rsbac_mac_remove_from_f_truset(), rsbac_mac_remove_from_p_truset(), rsbac_mount(), rsbac_mount_acl(), rsbac_mount_auth(), rsbac_mount_mac(), rsbac_pm(), rsbac_pm_change_current_task(), rsbac_rc_check_comp(), rsbac_rc_copy_role(), rsbac_rc_copy_type(), rsbac_rc_get_item(), rsbac_rc_get_list(), rsbac_rc_set_item(), rsbac_stats(), rsbac_stats_acl(), rsbac_stats_auth(), rsbac_stats_mac(), rsbac_stats_pm(), rsbac_stats_rc(), rsbac_stats_um(), rsbac_ta_get_attr(), rsbac_ta_list_add_ttl(), rsbac_ta_list_count(), rsbac_ta_list_get_all_data(), rsbac_ta_list_get_all_desc(), rsbac_ta_list_get_all_items_ttl(), rsbac_ta_list_get_data_ttl(), rsbac_ta_list_get_desc(), rsbac_ta_list_get_max_desc(), rsbac_ta_list_get_next_desc(), rsbac_ta_list_lol_add_ttl(), rsbac_ta_list_lol_all_subcount(), rsbac_ta_list_lol_count(), rsbac_ta_list_lol_get_all_data(), rsbac_ta_list_lol_get_all_desc(), rsbac_ta_list_lol_get_all_items(), rsbac_ta_list_lol_get_all_subdata(), rsbac_ta_list_lol_get_all_subdesc_ttl(), rsbac_ta_list_lol_get_all_subitems_ttl(), rsbac_ta_list_lol_get_data_ttl(), rsbac_ta_list_lol_get_desc(), rsbac_ta_list_lol_get_next_desc(), rsbac_ta_list_lol_get_subdata_ttl(), rsbac_ta_list_lol_remove(), rsbac_ta_list_lol_remove_all(), rsbac_ta_list_lol_subadd_ttl(), rsbac_ta_list_lol_subcount(), rsbac_ta_list_lol_subremove(), rsbac_ta_list_lol_subremove_all(), rsbac_ta_list_lol_subremove_from_all(), rsbac_ta_list_remove(), rsbac_ta_list_remove_all(), rsbac_ta_remove_target(), rsbac_ta_set_attr(), rsbac_um_add_gm(), rsbac_um_add_group(), rsbac_um_add_user(), rsbac_um_get_group_item(), rsbac_um_get_user_item(), rsbac_um_mod_group(), rsbac_um_mod_user(), rsbac_um_remove_gm(), rsbac_umount(), rsbac_umount_acl(), rsbac_umount_auth(), and rsbac_umount_mac().

#define RSBAC_ENOTWRITABLE   1022
 

Definition at line 40 of file error.h.

Referenced by lookup_aci_path_dentry(), rsbac_list_detach(), rsbac_list_lol_detach(), rsbac_list_write_buffers(), rsbac_list_write_lol_buffers(), and rsbac_write_open().

#define RSBAC_EPATHTOOLONG   1007
 

Definition at line 25 of file error.h.

Referenced by lookup_aci_path_dentry().

#define RSBAC_EPERM   1001
 

Definition at line 19 of file error.h.

Referenced by get_error_name(), rsbac_pm(), rsbac_pm_change_current_task(), and rsbac_pm_create_file().

#define RSBAC_EREADFAILED   1003
 

Definition at line 21 of file error.h.

Referenced by adjust_in_out_pp(), read_info(), read_list(), read_lol_list(), rsbac_acl_sys_add_to_acl_entry(), rsbac_acl_sys_group(), rsbac_acl_sys_remove_acl(), rsbac_acl_sys_remove_acl_entry(), rsbac_acl_sys_remove_from_acl_entry(), rsbac_acl_sys_remove_user(), rsbac_acl_sys_set_acl_entry(), rsbac_acl_sys_set_mask(), rsbac_adf_request_auth(), rsbac_adf_request_daz(), rsbac_adf_request_rc(), rsbac_adf_set_attr_auth(), rsbac_adf_set_attr_daz(), rsbac_adf_set_attr_fc(), rsbac_adf_set_attr_jail(), rsbac_adf_set_attr_mac(), rsbac_adf_set_attr_pm(), rsbac_adf_set_attr_rc(), rsbac_adf_set_attr_res(), rsbac_adf_set_attr_sim(), rsbac_auth_add_p_cap(), rsbac_auth_remove_p_cap(), rsbac_jail_sys_jail(), rsbac_mac_get_curr_level(), rsbac_mac_get_max_level(), rsbac_mac_get_min_level(), rsbac_mac_set_curr_level(), rsbac_pm(), rsbac_pm_change_current_task(), rsbac_pm_create_file(), rsbac_rc_sys_get_current_role(), rsbac_rc_sys_get_eff_rights(), rsbac_rc_sys_set_item(), rsbac_rc_test_admin_roles(), rsbac_rc_test_assign_roles(), rsbac_rc_test_role_admin(), rsbac_read_open(), and rsbac_set_audit_uid().

#define RSBAC_EREINIT   1011
 

Definition at line 29 of file error.h.

Referenced by rsbac_init(), rsbac_init_acl(), rsbac_init_auth(), rsbac_init_daz(), rsbac_init_mac(), rsbac_init_pm(), rsbac_init_rc(), and rsbac_init_um().

#define RSBAC_ERROR res   )     ((res <= -RSBAC_EPERM) && (res >= -RSBAC_EMAX))
 

Definition at line 53 of file error.h.

Referenced by get_error_name().

#define RSBAC_EWRITEFAILED   1004
 

Definition at line 22 of file error.h.

Referenced by adjust_in_out_pp(), adjust_in_out_pp_ipc(), rsbac_adf_set_attr_auth(), rsbac_adf_set_attr_daz(), rsbac_adf_set_attr_fc(), rsbac_adf_set_attr_jail(), rsbac_adf_set_attr_mac(), rsbac_adf_set_attr_pm(), rsbac_adf_set_attr_rc(), rsbac_adf_set_attr_sim(), rsbac_auth_add_f_cap(), rsbac_auth_add_p_cap(), rsbac_jail_sys_jail(), rsbac_mac_add_f_tru(), rsbac_mac_add_p_tru(), rsbac_mac_set_curr_level(), rsbac_pm(), rsbac_pm_change_current_task(), rsbac_rc_sys_change_role(), rsbac_replace_auth_cap(), rsbac_set_audit_uid(), rsbac_write_open(), and write_info().


Function Documentation

void error_exit int  error  ) 
 

Definition at line 167 of file helpers.c.

References get_error_name().

void show_error int  error  ) 
 

Definition at line 179 of file helpers.c.

References get_error_name().


Generated on Fri Jun 17 09:45:27 2005 for RSBAC by  doxygen 1.4.2