#include <linux/string.h>
#include <rsbac/types.h>
#include <rsbac/aci.h>
#include <rsbac/adf_main.h>
#include <rsbac/error.h>
#include <rsbac/helpers.h>
#include <rsbac/getname.h>
#include <rsbac/network.h>
Go to the source code of this file.
Functions | |
static enum rsbac_adf_req_ret_t | check_role_sim (enum rsbac_target_t target, union rsbac_target_id_t tid, rsbac_uid_t owner) |
static enum rsbac_adf_req_ret_t | sim_check_sysrole (rsbac_uid_t owner, enum rsbac_system_role_t role) |
enum rsbac_adf_req_ret_t | rsbac_adf_request_sim (enum rsbac_adf_request_t request, rsbac_pid_t caller_pid, enum rsbac_target_t target, union rsbac_target_id_t tid, enum rsbac_attribute_t attr, union rsbac_attribute_value_t attr_val, rsbac_uid_t owner) |
int | rsbac_adf_set_attr_sim (enum rsbac_adf_request_t request, rsbac_pid_t caller_pid, enum rsbac_target_t target, union rsbac_target_id_t tid, enum rsbac_target_t new_target, union rsbac_target_id_t new_tid, enum rsbac_attribute_t attr, union rsbac_attribute_value_t attr_val, rsbac_uid_t owner) |
|
Definition at line 30 of file sim_main.c. References A_data_type, A_sim_role, rsbac_attribute_value_t::data_type, DT_SI, FALSE, GRANTED, NOT_GRANTED, rsbac_get_attr, SIM, SR_security_officer, rsbac_attribute_value_t::system_role, T_DIR, T_FIFO, T_FILE, T_NETOBJ, T_SYMLINK, T_USER, TRUE, and rsbac_target_id_t::user. Referenced by rsbac_adf_request_sim(). |
|
|
Definition at line 622 of file sim_main.c. References A_data_type, A_local_data_type, A_sim_role, rsbac_attribute_value_t::data_type, DT_SI, R_CREATE, RSBAC_EREADFAILED, RSBAC_EWRITEFAILED, rsbac_get_attr, rsbac_set_attr, SR_security_officer, rsbac_attribute_value_t::system_role, T_IPC, T_NETOBJ, T_USER, TRUE, and rsbac_target_id_t::user. Referenced by rsbac_adf_set_attr(). |
|
Definition at line 140 of file sim_main.c. References A_sim_role, GRANTED, NOT_GRANTED, rsbac_get_attr, rsbac_attribute_value_t::system_role, T_USER, TRUE, and rsbac_target_id_t::user. Referenced by rsbac_adf_request_sim(). |