#include <rsbac/types.h>
#include <rsbac/getname.h>
#include <rsbac/helpers.h>
#include <rsbac/error.h>
#include <string.h>
#include <errno.h>
Go to the source code of this file.
Functions | |
char * | get_request_name (char *request_name, enum rsbac_adf_request_t request) |
enum rsbac_adf_request_t | get_request_nr (const char *request_name) |
char * | get_result_name (char *res_name, enum rsbac_adf_req_ret_t res) |
enum rsbac_adf_req_ret_t | get_result_nr (const char *res_name) |
enum rsbac_switch_target_t | get_attr_module (enum rsbac_attribute_t attr) |
char * | get_attribute_name (char *attr_name, enum rsbac_attribute_t attr) |
enum rsbac_attribute_t | get_attribute_nr (const char *attr_name) |
char * | get_scd_type_name (char *res_name, enum rsbac_scd_type_t res) |
enum rsbac_scd_type_t | get_scd_type_nr (const char *res_name) |
char * | get_target_name (char *target_type_name, enum rsbac_target_t target, char *target_id_name, union rsbac_target_id_t tid) |
char * | get_target_name_only (char *target_type_name, enum rsbac_target_t target) |
enum rsbac_target_t | get_target_nr (const char *target_name) |
char * | get_ipc_target_name (char *ipc_name, enum rsbac_ipc_type_t target) |
enum rsbac_ipc_type_t | get_ipc_target_nr (const char *ipc_name) |
char * | get_switch_target_name (char *switch_name, enum rsbac_switch_target_t target) |
enum rsbac_switch_target_t | get_switch_target_nr (const char *switch_name) |
char * | get_error_name (char *error_name, int error) |
char * | get_attribute_param (char *attr_name, enum rsbac_attribute_t attr) |
char * | get_log_level_name (char *ll_name, enum rsbac_log_level_t target) |
enum rsbac_log_level_t | get_log_level_nr (const char *ll_name) |
Variables | |
char | request_list [R_NONE+1][24] |
char | result_list [UNDEFINED+1][12] |
rsbac_switch_target_int_t | attr_mod_list [A_none+1] |
char | attribute_list [A_none+1][23] |
char | target_list [T_NONE+1][11] |
char | ipc_target_list [I_none+1][7] |
char | switch_target_list [SW_NONE+1][12] |
char | error_list [RSBAC_EMAX][25] |
char | scd_type_list [ST_none+1][14] |
char | attribute_param_list [A_none+1][193] |
char | log_level_list [LL_invalid+1][9] |
|
Definition at line 602 of file getname.c. References A_none, attr_mod_list, rsbac_switch_target_t, and SW_NONE. Referenced by sys_rsbac_get_attr(), sys_rsbac_get_attr_n(), sys_rsbac_set_attr(), and sys_rsbac_set_attr_n(). |
|
Definition at line 610 of file getname.c. References A_none, attribute_list, and NULL. Referenced by rsbac_adf_request_int(), and rsbac_adf_set_attr(). |
|
Definition at line 622 of file getname.c. References A_none, attribute_list, and rsbac_attribute_t. |
|
Definition at line 1210 of file getname.c. References A_none, attribute_param_list, and NULL. |
|
|
Definition at line 1119 of file getname.c. References I_none, ipc_target_list, and NULL. |
|
Definition at line 1131 of file getname.c. References I_none, ipc_target_list, and rsbac_ipc_type_t. |
|
Definition at line 1223 of file getname.c. References LL_invalid, log_level_list, and NULL. |
|
Definition at line 1235 of file getname.c. References LL_invalid, log_level_list, and rsbac_log_level_t. |
|
Definition at line 538 of file getname.c. References NULL, R_NONE, and request_list. Referenced by check_comp_rc_scd(), get_acl_special_right_name(), get_rc_special_right_name(), rsbac_acl_check_right(), rsbac_adf_request_int(), rsbac_adf_set_attr(), sys_rsbac_adf_log_switch(), and sys_rsbac_get_adf_log(). |
|
Definition at line 550 of file getname.c. References R_NONE, request_list, and rsbac_adf_request_t. Referenced by get_acl_special_right_nr(), and get_rc_special_right_nr(). |
|
Definition at line 567 of file getname.c. References NULL, result_list, and UNDEFINED. Referenced by rsbac_adf_request_int(). |
|
Definition at line 579 of file getname.c. References result_list, rsbac_adf_req_ret_t, and UNDEFINED. |
|
Definition at line 645 of file getname.c. References NULL, scd_type_list, and ST_none. Referenced by get_acl_scd_type_name(), get_rc_scd_type_name(), and get_target_name(). |
|
Definition at line 657 of file getname.c. References rsbac_scd_type_t, scd_type_list, and ST_none. Referenced by get_acl_scd_type_nr(), and get_rc_scd_type_nr(). |
|
Definition at line 1154 of file getname.c. References NULL, SW_NONE, and switch_target_list. Referenced by sys_rsbac_switch(). |
|
Definition at line 1166 of file getname.c. References rsbac_switch_target_t, SW_NONE, and switch_target_list. |
|
|
Definition at line 1062 of file getname.c. References NULL, T_DEV, T_DIR, T_FIFO, T_FILE, T_IPC, T_NETDEV, T_NETOBJ, T_NETTEMP, T_NETTEMP_NT, T_NONE, T_PROCESS, T_SCD, T_SYMLINK, and T_USER. Referenced by check_comp_rc(), and rsbac_adf_request_int(). |
|
Definition at line 1103 of file getname.c. References rsbac_target_t, T_NONE, and target_list. |
|
Definition at line 84 of file getname.c. Referenced by get_attr_module(). |
|
Definition at line 206 of file getname.c. Referenced by get_attribute_name(), and get_attribute_nr(). |
|
Definition at line 426 of file getname.c. Referenced by get_attribute_param(). |
|
Initial value: Definition at line 374 of file getname.c. Referenced by get_error_name(). |
|
Initial value: Definition at line 348 of file getname.c. Referenced by get_ipc_target_name(), and get_ipc_target_nr(). |
|
Initial value: Definition at line 523 of file getname.c. Referenced by get_log_level_name(), and get_log_level_nr(). |
|
Definition at line 29 of file getname.c. Referenced by get_request_name(), and get_request_nr(). |
|
Initial value: Definition at line 78 of file getname.c. Referenced by get_result_name(), and get_result_nr(). |
|
Initial value: Definition at line 404 of file getname.c. Referenced by get_scd_type_name(), and get_scd_type_nr(). |
|
Initial value: Definition at line 354 of file getname.c. Referenced by get_switch_target_name(), and get_switch_target_nr(). |
|
Initial value: Definition at line 329 of file getname.c. Referenced by get_target_nr(). |