#include <linux/string.h>
#include <linux/version.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/debug.h>
Go to the source code of this file.
Functions | |
enum rsbac_adf_req_ret_t | rsbac_adf_request_res (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_res (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 35 of file res_main.c. References A_auth_learn, A_auth_may_set_cap, A_auth_may_setuid, A_none, A_res_max, A_res_min, A_res_role, A_system_role, AUTH, DO_NOT_CARE, FREEZE, GRANTED, NOT_GRANTED, R_MODIFY_ATTRIBUTE, R_READ_ATTRIBUTE, R_SWITCH_LOG, R_SWITCH_MODULE, RES, rsbac_get_attr, SOFTMODE, SR_administrator, SR_security_officer, rsbac_attribute_value_t::system_role, T_NONE, T_USER, TRUE, UNDEFINED, and rsbac_target_id_t::user. Referenced by rsbac_adf_request_int(). |
|
Definition at line 208 of file res_main.c. References A_res_max, A_res_min, FALSE, rsbac_attribute_value_t::owner, R_CHANGE_OWNER, R_EXECUTE, RES, rsbac_attribute_value_t::res_array, RSBAC_EINVALIDATTR, RSBAC_EREADFAILED, rsbac_get_attr, rsbac_min, RSBAC_RES_MAX, T_FILE, T_PROCESS, T_USER, and rsbac_target_id_t::user. Referenced by rsbac_adf_set_attr(). |