syscalls.c File Reference

#include <rsbac/types.h>
#include <rsbac/aci.h>
#include <rsbac/mac.h>
#include <rsbac/pm.h>
#include <rsbac/auth.h>
#include <rsbac/acl.h>
#include <rsbac/reg.h>
#include <rsbac/error.h>
#include <rsbac/debug.h>
#include <rsbac/helpers.h>
#include <rsbac/getname.h>
#include <rsbac/network.h>
#include <asm/segment.h>
#include <asm/semaphore.h>
#include <linux/sched.h>
#include <linux/file.h>
#include <rsbac/rkmem.h>
#include <rsbac/gen_lists.h>
#include <linux/smp_lock.h>
#include <asm/uaccess.h>
#include <rsbac/adf.h>
#include <rsbac/adf_main.h>
#include <rsbac/adf_syshelpers.h>
#include <rsbac/rc.h>
#include <rsbac/um.h>
#include <rsbac/um_types.h>
#include <rsbac/syscalls.h>
#include <linux/namei.h>

Go to the source code of this file.

Functions

int sys_rsbac_stats (void)
long sys_sync (void)
int sys_rsbac_check (int correct, int check_inode)
int sys_rsbac_write (void)
int sys_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 sys_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 sys_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 sys_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 sys_rsbac_remove_target (rsbac_list_ta_number_t ta_number, enum rsbac_target_t target, union rsbac_target_id_t *tid)
int sys_rsbac_remove_target_n (rsbac_list_ta_number_t ta_number, enum rsbac_target_t target, char *t_name)
int sys_rsbac_net_list_all_netdev (rsbac_list_ta_number_t ta_number, rsbac_netdev_id_t *id_p, u_long maxnum)
int sys_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 sys_rsbac_net_list_all_template (rsbac_list_ta_number_t ta_number, rsbac_net_temp_id_t *id_p, u_long maxnum)
int sys_rsbac_switch (enum rsbac_switch_target_t target, int value)
int sys_rsbac_mac_set_curr_level (rsbac_security_level_t level, rsbac_mac_category_vector_t *categories_p)
int sys_rsbac_mac_get_curr_level (rsbac_security_level_t *level_p, rsbac_mac_category_vector_t *categories_p)
int sys_rsbac_mac_get_max_level (rsbac_security_level_t *level_p, rsbac_mac_category_vector_t *categories_p)
int sys_rsbac_mac_get_min_level (rsbac_security_level_t *level_p, rsbac_mac_category_vector_t *categories_p)
int sys_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 sys_rsbac_mac_remove_p_tru (rsbac_list_ta_number_t ta_number, rsbac_pid_t pid, rsbac_uid_t uid)
int sys_rsbac_mac_add_f_tru (rsbac_list_ta_number_t ta_number, char *filename, rsbac_uid_t uid, rsbac_time_t ttl)
int sys_rsbac_mac_remove_f_tru (rsbac_list_ta_number_t ta_number, char *filename, rsbac_uid_t uid)
int sys_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 sys_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 sys_rsbac_stats_pm (void)
int sys_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 sys_rsbac_pm_change_current_task (rsbac_pm_task_id_t task)
int sys_rsbac_pm_create_file (const char *filename, int mode, rsbac_pm_object_class_id_t class)
int sys_rsbac_daz_flush_cache (void)
int sys_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 sys_rsbac_rc_copy_type (rsbac_list_ta_number_t ta_number, enum rsbac_rc_target_t target, rsbac_rc_type_id_t from_type, rsbac_rc_type_id_t to_type)
int sys_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 sys_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 sys_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 sys_rsbac_rc_change_role (rsbac_rc_role_id_t role)
int sys_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 sys_rsbac_rc_get_current_role (rsbac_rc_role_id_t *role_p)
int sys_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 sys_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 sys_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 sys_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 sys_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 sys_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 sys_rsbac_reg (rsbac_reg_handle_t handle, void *arg)
int sys_rsbac_acl (rsbac_list_ta_number_t ta_number, enum rsbac_acl_syscall_type_t call, struct rsbac_acl_syscall_arg_t *arg)
int sys_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 sys_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 sys_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 sys_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 sys_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 sys_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 sys_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 sys_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 sys_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 sys_rsbac_um_auth_name (char *name, char *pass)
int sys_rsbac_um_auth_uid (rsbac_uid_t uid, char *pass)
int sys_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 sys_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 sys_rsbac_um_add_gm (rsbac_list_ta_number_t ta_number, rsbac_uid_t user, rsbac_gid_t group, rsbac_time_t ttl)
int sys_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 sys_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 sys_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 sys_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 sys_rsbac_um_remove_user (rsbac_list_ta_number_t ta_number, rsbac_uid_t uid)
int sys_rsbac_um_remove_group (rsbac_list_ta_number_t ta_number, rsbac_gid_t gid)
int sys_rsbac_um_remove_gm (rsbac_list_ta_number_t ta_number, rsbac_uid_t user, rsbac_gid_t group)
int sys_rsbac_um_user_exists (rsbac_list_ta_number_t ta_number, rsbac_uid_t uid)
int sys_rsbac_um_group_exists (rsbac_list_ta_number_t ta_number, rsbac_gid_t gid)
int sys_rsbac_um_get_next_user (rsbac_list_ta_number_t ta_number, rsbac_uid_t old_user, rsbac_uid_t *next_user_p)
int sys_rsbac_um_get_user_list (rsbac_list_ta_number_t ta_number, rsbac_uid_t user_array[], u_int maxnum)
int sys_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 sys_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 sys_rsbac_um_get_group_list (rsbac_list_ta_number_t ta_number, rsbac_gid_t group_array[], u_int maxnum)
int sys_rsbac_um_get_uid (rsbac_list_ta_number_t ta_number, char *name, rsbac_uid_t *uid_p)
int sys_rsbac_um_get_gid (rsbac_list_ta_number_t ta_number, char *name, rsbac_gid_t *gid_p)
int sys_rsbac_um_set_pass (rsbac_uid_t uid, char *old_pass, char *new_pass)
int sys_rsbac_um_set_pass_name (char *name, char *old_pass, char *new_pass)
int sys_rsbac_um_set_group_pass (rsbac_gid_t gid, char *new_pass)
int sys_rsbac_um_check_account (rsbac_uid_t uid)
int sys_rsbac_um_check_account_name (char *name)
int sys_rsbac_adf_log_switch (enum rsbac_adf_request_t request, enum rsbac_target_t target, u_int value)
int sys_rsbac_get_adf_log (enum rsbac_adf_request_t request, enum rsbac_target_t target, u_int *value_p)
int sys_rsbac_log (int type, char *buf, int len)
asmlinkage int sys_rsbac (rsbac_version_t version, enum rsbac_syscall_t call, union rsbac_syscall_arg_t *arg_p)

Variables

semaphore rsbac_write_sem


Function Documentation

asmlinkage int sys_rsbac rsbac_version_t  version,
enum rsbac_syscall_t  call,
union rsbac_syscall_arg_t arg_p
 

Definition at line 6836 of file syscalls.c.

References rsbac_syscall_arg_t::acl, rsbac_syscall_arg_t::acl_get_mask, rsbac_syscall_arg_t::acl_get_mask_n, rsbac_syscall_arg_t::acl_get_rights, rsbac_syscall_arg_t::acl_get_rights_n, rsbac_syscall_arg_t::acl_get_tlist, rsbac_syscall_arg_t::acl_get_tlist_n, rsbac_syscall_arg_t::acl_group, rsbac_syscall_arg_t::acl_n, rsbac_syscall_arg_t::adf_log_switch, rsys_reg_t::arg, rsys_acl_get_rights_n_t::arg, rsys_acl_get_rights_t::arg, rsys_acl_n_t::arg, rsys_acl_t::arg, rsys_acl_group_t::arg_p, rsys_rc_get_list_t::array_p, rsys_set_attr_n_t::attr, rsys_set_attr_t::attr, rsys_get_attr_n_t::attr, rsys_get_attr_t::attr, rsbac_syscall_arg_t::auth_add_f_cap, rsbac_syscall_arg_t::auth_add_p_cap, rsbac_syscall_arg_t::auth_get_f_caplist, rsbac_syscall_arg_t::auth_get_p_caplist, rsbac_syscall_arg_t::auth_remove_f_cap, rsbac_syscall_arg_t::auth_remove_p_cap, rsys_log_t::buf, rsys_acl_group_t::call, rsys_acl_n_t::call, rsys_acl_t::call, rsys_net_template_t::call, rsys_auth_remove_f_cap_t::cap_range, rsys_auth_add_f_cap_t::cap_range, rsys_auth_remove_p_cap_t::cap_range, rsys_auth_add_p_cap_t::cap_range, rsys_auth_get_p_caplist_t::cap_type, rsys_auth_get_f_caplist_t::cap_type, rsys_auth_remove_f_cap_t::cap_type, rsys_auth_add_f_cap_t::cap_type, rsys_auth_remove_p_cap_t::cap_type, rsys_auth_add_p_cap_t::cap_type, rsys_auth_get_p_caplist_t::caplist, rsys_auth_get_f_caplist_t::caplist, rsys_mac_get_min_level_t::categories_p, rsys_mac_get_max_level_t::categories_p, rsys_mac_get_curr_level_t::categories_p, rsys_mac_set_curr_level_t::categories_p, rsbac_syscall_arg_t::check, rsys_check_t::check_inode, rsys_list_ta_begin_t::commit_uid, rsys_check_t::correct, rsys_um_get_group_item_t::data_p, rsys_um_get_user_item_t::data_p, rsys_um_mod_group_t::data_p, rsys_um_mod_user_t::data_p, rsys_net_template_t::data_p, rsys_acl_get_rights_n_t::effective, rsys_acl_get_rights_t::effective, rsys_acl_get_tlist_n_t::entry_array, rsys_acl_get_tlist_t::entry_array, rsys_um_add_group_t::entry_p, rsys_um_add_user_t::entry_p, rsys_auth_get_f_caplist_t::filename, rsys_auth_remove_f_cap_t::filename, rsys_auth_add_f_cap_t::filename, rsys_pm_create_file_t::filename, rsys_mac_get_f_trulist_t::filename, rsys_mac_remove_f_tru_t::filename, rsys_mac_add_f_tru_t::filename, rsys_jail_t::flags, rsys_rc_copy_role_t::from_role, rsys_rc_copy_type_t::from_type, rsys_pm_t::function, rsbac_syscall_arg_t::get_adf_log, rsbac_syscall_arg_t::get_attr, rsbac_syscall_arg_t::get_attr_n, rsys_um_set_group_pass_t::gid, rsys_um_remove_gm_t::gid, rsys_um_remove_group_t::gid, rsys_um_get_group_item_t::gid, rsys_um_mod_group_t::gid, rsys_um_add_gm_t::gid, rsys_um_add_group_t::gid, rsys_um_get_gid_t::gid_p, rsys_um_get_gm_user_list_t::group, rsys_um_get_group_list_t::group_array, rsys_um_get_gm_list_t::group_array, rsys_reg_t::handle, rsys_net_template_t::id, rsys_net_list_all_template_t::id_p, rsys_net_list_all_netdev_t::id_p, rsys_get_attr_n_t::inherit, rsys_get_attr_t::inherit, rsbac_syscall_arg_t::init, rsys_jail_t::ip, rsys_rc_get_list_t::item, rsys_rc_set_item_t::item, rsys_rc_get_item_t::item, rsbac_syscall_arg_t::jail, rsys_log_t::len, rsys_mac_set_curr_level_t::level, rsys_mac_get_min_level_t::level_p, rsys_mac_get_max_level_t::level_p, rsys_mac_get_curr_level_t::level_p, rsbac_syscall_arg_t::list_ta_begin, rsbac_syscall_arg_t::list_ta_commit, rsbac_syscall_arg_t::list_ta_forget, rsbac_syscall_arg_t::list_ta_refresh, rsbac_syscall_arg_t::log, rsbac_syscall_arg_t::mac_add_f_tru, rsbac_syscall_arg_t::mac_add_p_tru, rsbac_syscall_arg_t::mac_get_curr_level, rsbac_syscall_arg_t::mac_get_f_trulist, rsbac_syscall_arg_t::mac_get_max_level, rsbac_syscall_arg_t::mac_get_min_level, rsbac_syscall_arg_t::mac_get_p_trulist, rsbac_syscall_arg_t::mac_remove_f_tru, rsbac_syscall_arg_t::mac_remove_p_tru, rsbac_syscall_arg_t::mac_set_curr_level, rsys_acl_get_mask_n_t::mask_p, rsys_acl_get_mask_t::mask_p, rsys_jail_t::max_caps, rsys_um_get_group_list_t::maxnum, rsys_um_get_gm_user_list_t::maxnum, rsys_um_get_gm_list_t::maxnum, rsys_um_get_user_list_t::maxnum, rsys_acl_get_tlist_n_t::maxnum, rsys_acl_get_tlist_t::maxnum, rsys_auth_get_p_caplist_t::maxnum, rsys_auth_get_f_caplist_t::maxnum, rsys_rc_get_list_t::maxnum, rsys_mac_get_p_trulist_t::maxnum, rsys_mac_get_f_trulist_t::maxnum, rsys_net_list_all_template_t::maxnum, rsys_net_list_all_netdev_t::maxnum, rsys_um_get_group_item_t::mod, rsys_um_get_user_item_t::mod, rsys_um_mod_group_t::mod, rsys_um_mod_user_t::mod, rsys_pm_create_file_t::mode, rsys_set_attr_n_t::module, rsys_set_attr_t::module, rsys_get_attr_n_t::module, rsys_get_attr_t::module, rsys_um_check_account_name_t::name, rsys_um_set_pass_name_t::name, rsys_um_get_gid_t::name, rsys_um_get_uid_t::name, rsys_um_auth_name_t::name, rsbac_syscall_arg_t::net_list_all_netdev, rsbac_syscall_arg_t::net_list_all_template, rsbac_syscall_arg_t::net_template, rsys_um_set_group_pass_t::new_pass, rsys_um_set_pass_name_t::new_pass, rsys_um_set_pass_t::new_pass, rsys_um_get_next_user_t::next_user_p, rsys_pm_create_file_t::object_class, rsys_um_set_pass_name_t::old_pass, rsys_um_set_pass_t::old_pass, rsys_um_get_next_user_t::old_user, rsys_pm_t::param_p, rsys_um_add_group_t::pass, rsys_um_add_user_t::pass, rsys_um_auth_uid_t::pass, rsys_um_auth_name_t::pass, rsys_list_ta_forget_t::password, rsys_list_ta_commit_t::password, rsys_list_ta_refresh_t::password, rsys_list_ta_begin_t::password, rsys_jail_t::path, rsys_auth_get_p_caplist_t::pid, rsys_auth_remove_p_cap_t::pid, rsys_auth_add_p_cap_t::pid, rsys_mac_get_p_trulist_t::pid, rsys_mac_remove_p_tru_t::pid, rsys_mac_add_p_tru_t::pid, rsbac_syscall_arg_t::pm, rsbac_syscall_arg_t::pm_change_current_task, rsbac_syscall_arg_t::pm_create_file, rsbac_syscall_arg_t::rc_change_role, rsbac_syscall_arg_t::rc_copy_role, rsbac_syscall_arg_t::rc_copy_type, rsbac_syscall_arg_t::rc_get_current_role, rsbac_syscall_arg_t::rc_get_eff_rights_n, rsbac_syscall_arg_t::rc_get_item, rsbac_syscall_arg_t::rc_get_list, rsbac_syscall_arg_t::rc_set_item, rsbac_syscall_arg_t::reg, rsbac_syscall_arg_t::remove_target, rsbac_syscall_arg_t::remove_target_n, rsys_get_adf_log_t::request, rsys_adf_log_switch_t::request, rsys_rc_get_eff_rights_n_t::request_vector_p, rsys_acl_get_rights_n_t::rights_p, rsys_acl_get_rights_t::rights_p, rsys_rc_change_role_t::role, rsys_rc_get_current_role_t::role_p, rsys_init_t::root_dev, RSBAC_EINVALIDMODULE, RSBAC_EINVALIDREQUEST, RSBAC_EINVALIDVERSION, rsbac_jail_sys_jail(), RSBAC_VERSION_NR, RSYS_acl, RSYS_acl_get_mask, RSYS_acl_get_mask_n, RSYS_acl_get_rights, RSYS_acl_get_rights_n, RSYS_acl_get_tlist, RSYS_acl_get_tlist_n, RSYS_acl_group, RSYS_acl_n, RSYS_adf_log_switch, RSYS_auth_add_f_cap, RSYS_auth_add_p_cap, RSYS_auth_get_f_caplist, RSYS_auth_get_p_caplist, RSYS_auth_remove_f_cap, RSYS_auth_remove_p_cap, RSYS_check, RSYS_daz_flush_cache, RSYS_get_adf_log, RSYS_get_attr, RSYS_get_attr_n, RSYS_init, RSYS_jail, RSYS_list_ta_begin, RSYS_list_ta_commit, RSYS_list_ta_forget, RSYS_list_ta_refresh, RSYS_log, RSYS_mac_add_f_tru, RSYS_mac_add_p_tru, RSYS_mac_get_curr_level, RSYS_mac_get_f_trulist, RSYS_mac_get_max_level, RSYS_mac_get_min_level, RSYS_mac_get_p_trulist, RSYS_mac_remove_f_tru, RSYS_mac_remove_p_tru, RSYS_mac_set_curr_level, RSYS_net_list_all_netdev, RSYS_net_list_all_template, RSYS_net_template, RSYS_none, RSYS_pm, RSYS_pm_change_current_task, RSYS_pm_create_file, RSYS_rc_change_role, RSYS_rc_copy_role, RSYS_rc_copy_type, RSYS_rc_get_current_role, RSYS_rc_get_eff_rights_n, RSYS_rc_get_item, RSYS_rc_get_list, RSYS_rc_set_item, RSYS_reg, RSYS_remove_target, RSYS_remove_target_n, RSYS_set_attr, RSYS_set_attr_n, RSYS_stats, RSYS_stats_pm, RSYS_switch, RSYS_um_add_gm, RSYS_um_add_group, RSYS_um_add_user, RSYS_um_auth_name, RSYS_um_auth_uid, RSYS_um_check_account, RSYS_um_check_account_name, RSYS_um_get_gid, RSYS_um_get_gm_list, RSYS_um_get_gm_user_list, RSYS_um_get_group_item, RSYS_um_get_group_list, RSYS_um_get_next_user, RSYS_um_get_uid, RSYS_um_get_user_item, RSYS_um_get_user_list, RSYS_um_mod_group, RSYS_um_mod_user, RSYS_um_remove_gm, RSYS_um_remove_group, RSYS_um_remove_user, RSYS_um_set_group_pass, RSYS_um_set_pass, RSYS_um_set_pass_name, RSYS_um_user_exists, RSYS_write, rsbac_syscall_arg_t::set_attr, rsbac_syscall_arg_t::set_attr_n, rsys_rc_set_item_t::subtid_p, rsys_rc_get_item_t::subtid_p, rsbac_syscall_arg_t::switch_module, 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_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_check(), sys_rsbac_daz_flush_cache(), sys_rsbac_get_adf_log(), sys_rsbac_get_attr(), sys_rsbac_get_attr_n(), sys_rsbac_log(), 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_net_list_all_netdev(), sys_rsbac_net_list_all_template(), sys_rsbac_net_template(), sys_rsbac_pm(), sys_rsbac_pm_change_current_task(), 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_remove_target(), sys_rsbac_remove_target_n(), sys_rsbac_set_attr(), sys_rsbac_set_attr_n(), sys_rsbac_stats(), sys_rsbac_stats_pm(), 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_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(), sys_rsbac_um_user_exists(), sys_rsbac_write(), rsys_acl_get_mask_n_t::t_name, rsys_acl_get_tlist_n_t::t_name, rsys_rc_get_eff_rights_n_t::t_name, rsys_remove_target_n_t::t_name, rsys_set_attr_n_t::t_name, rsys_get_attr_n_t::t_name, rsys_list_ta_forget_t::ta_number, rsys_list_ta_commit_t::ta_number, rsys_list_ta_refresh_t::ta_number, rsys_um_get_gid_t::ta_number, rsys_um_get_uid_t::ta_number, rsys_um_get_group_list_t::ta_number, rsys_um_get_gm_user_list_t::ta_number, rsys_um_get_gm_list_t::ta_number, rsys_um_get_user_list_t::ta_number, rsys_um_get_next_user_t::ta_number, rsys_um_user_exists_t::ta_number, rsys_um_remove_gm_t::ta_number, rsys_um_remove_group_t::ta_number, rsys_um_remove_user_t::ta_number, rsys_um_get_group_item_t::ta_number, rsys_um_get_user_item_t::ta_number, rsys_um_mod_group_t::ta_number, rsys_um_mod_user_t::ta_number, rsys_um_add_gm_t::ta_number, rsys_um_add_group_t::ta_number, rsys_um_add_user_t::ta_number, rsys_acl_group_t::ta_number, rsys_acl_get_mask_n_t::ta_number, rsys_acl_get_mask_t::ta_number, rsys_acl_get_tlist_n_t::ta_number, rsys_acl_get_tlist_t::ta_number, rsys_acl_get_rights_n_t::ta_number, rsys_acl_get_rights_t::ta_number, rsys_acl_n_t::ta_number, rsys_acl_t::ta_number, rsys_auth_get_p_caplist_t::ta_number, rsys_auth_get_f_caplist_t::ta_number, rsys_auth_remove_f_cap_t::ta_number, rsys_auth_add_f_cap_t::ta_number, rsys_auth_remove_p_cap_t::ta_number, rsys_auth_add_p_cap_t::ta_number, rsys_rc_get_list_t::ta_number, rsys_rc_get_eff_rights_n_t::ta_number, rsys_rc_set_item_t::ta_number, rsys_rc_get_item_t::ta_number, rsys_rc_copy_type_t::ta_number, rsys_rc_copy_role_t::ta_number, rsys_pm_t::ta_number, rsys_mac_get_p_trulist_t::ta_number, rsys_mac_get_f_trulist_t::ta_number, rsys_mac_remove_f_tru_t::ta_number, rsys_mac_add_f_tru_t::ta_number, rsys_mac_remove_p_tru_t::ta_number, rsys_mac_add_p_tru_t::ta_number, rsys_net_list_all_template_t::ta_number, rsys_net_template_t::ta_number, rsys_net_list_all_netdev_t::ta_number, rsys_remove_target_n_t::ta_number, rsys_remove_target_t::ta_number, rsys_set_attr_n_t::ta_number, rsys_set_attr_t::ta_number, rsys_get_attr_n_t::ta_number, rsys_get_attr_t::ta_number, rsys_list_ta_begin_t::ta_number_p, rsys_acl_get_mask_n_t::target, rsys_acl_get_mask_t::target, rsys_acl_get_tlist_n_t::target, rsys_acl_get_tlist_t::target, rsys_rc_get_list_t::target, rsys_rc_get_eff_rights_n_t::target, rsys_rc_set_item_t::target, rsys_rc_get_item_t::target, rsys_rc_copy_type_t::target, rsys_get_adf_log_t::target, rsys_adf_log_switch_t::target, rsys_switch_t::target, rsys_remove_target_n_t::target, rsys_remove_target_t::target, rsys_set_attr_n_t::target, rsys_set_attr_t::target, rsys_get_attr_n_t::target, rsys_get_attr_t::target, rsys_pm_change_current_task_t::task, rsys_pm_t::ticket, rsys_acl_get_mask_t::tid, rsys_acl_get_tlist_t::tid, rsys_remove_target_t::tid, rsys_set_attr_t::tid, rsys_get_attr_t::tid, rsys_rc_get_list_t::tid_p, rsys_rc_set_item_t::tid_p, rsys_rc_get_item_t::tid_p, rsys_rc_copy_role_t::to_role, rsys_rc_copy_type_t::to_type, rsys_mac_get_p_trulist_t::trulist, rsys_mac_get_f_trulist_t::trulist, rsys_list_ta_refresh_t::ttl, rsys_list_ta_begin_t::ttl, rsys_um_add_gm_t::ttl, rsys_um_add_group_t::ttl, rsys_um_add_user_t::ttl, rsys_auth_add_f_cap_t::ttl, rsys_auth_add_p_cap_t::ttl, rsys_rc_set_item_t::ttl, rsys_mac_add_f_tru_t::ttl, rsys_mac_add_p_tru_t::ttl, rsys_acl_get_tlist_n_t::ttl_array, rsys_acl_get_tlist_t::ttl_array, rsys_rc_get_list_t::ttl_array_p, rsys_rc_get_eff_rights_n_t::ttl_p, rsys_rc_get_item_t::ttl_p, rsys_auth_get_p_caplist_t::ttllist, rsys_auth_get_f_caplist_t::ttllist, rsys_mac_get_p_trulist_t::ttllist, rsys_mac_get_f_trulist_t::ttllist, rsys_log_t::type, rsys_um_check_account_t::uid, rsys_um_set_pass_t::uid, rsys_um_user_exists_t::uid, rsys_um_remove_gm_t::uid, rsys_um_remove_user_t::uid, rsys_um_get_user_item_t::uid, rsys_um_mod_user_t::uid, rsys_um_add_gm_t::uid, rsys_um_add_user_t::uid, rsys_um_auth_uid_t::uid, rsys_mac_remove_f_tru_t::uid, rsys_mac_add_p_tru_t::uid, rsys_um_get_uid_t::uid_p, rsbac_syscall_arg_t::um_add_gm, rsbac_syscall_arg_t::um_add_group, rsbac_syscall_arg_t::um_add_user, rsbac_syscall_arg_t::um_auth_name, rsbac_syscall_arg_t::um_auth_uid, rsbac_syscall_arg_t::um_check_account, rsbac_syscall_arg_t::um_check_account_name, rsbac_syscall_arg_t::um_get_gid, rsbac_syscall_arg_t::um_get_gm_list, rsbac_syscall_arg_t::um_get_gm_user_list, rsbac_syscall_arg_t::um_get_group_item, rsbac_syscall_arg_t::um_get_group_list, rsbac_syscall_arg_t::um_get_next_user, rsbac_syscall_arg_t::um_get_uid, rsbac_syscall_arg_t::um_get_user_item, rsbac_syscall_arg_t::um_get_user_list, rsbac_syscall_arg_t::um_mod_group, rsbac_syscall_arg_t::um_mod_user, rsbac_syscall_arg_t::um_remove_gm, rsbac_syscall_arg_t::um_remove_group, rsbac_syscall_arg_t::um_remove_user, rsbac_syscall_arg_t::um_set_group_pass, rsbac_syscall_arg_t::um_set_pass, rsbac_syscall_arg_t::um_set_pass_name, rsbac_syscall_arg_t::um_user_exists, rsys_um_get_gm_list_t::user, rsys_um_get_gm_user_list_t::user_array, rsys_um_get_user_list_t::user_array, rsys_adf_log_switch_t::value, rsys_switch_t::value, rsys_set_attr_n_t::value, rsys_set_attr_t::value, rsys_get_attr_n_t::value, rsys_get_attr_t::value, rsys_rc_set_item_t::value_p, rsys_rc_get_item_t::value_p, rsys_get_adf_log_t::value_p, and rsys_jail_t::version.

int sys_rsbac_acl rsbac_list_ta_number_t  ta_number,
enum rsbac_acl_syscall_type_t  call,
struct rsbac_acl_syscall_arg_t arg
 

Definition at line 3283 of file syscalls.c.

References ACLC_add_to_acl_entry, ACLC_none, ACLC_remove_acl, ACLC_remove_acl_entry, ACLC_remove_from_acl_entry, ACLC_remove_user, ACLC_set_acl_entry, ACLC_set_mask, ACLG_GLOBAL, ACLS_GROUP, ACLS_ROLE, ACLS_USER, rsbac_acl_group_entry_t::owner, RC_role_max_value, rsbac_acl_get_group_entry(), RSBAC_ACL_GROUP_EVERYONE, rsbac_acl_sys_add_to_acl_entry(), 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_EINVALIDMODULE, RSBAC_EINVALIDPOINTER, RSBAC_EINVALIDREQUEST, RSBAC_EINVALIDTARGET, RSBAC_EINVALIDVALUE, T_NONE, T_USER, and rsbac_acl_group_entry_t::type.

Referenced by sys_rsbac().

int sys_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
 

Definition at line 4307 of file syscalls.c.

References rsbac_acl_sys_get_mask(), RSBAC_EINVALIDMODULE, RSBAC_EINVALIDPOINTER, RSBAC_EINVALIDTARGET, and T_NONE.

Referenced by sys_rsbac().

int sys_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
 

Definition at line 4340 of file syscalls.c.

References D_block, D_char, D_none, FALSE, NULL, rsbac_acl_sys_get_mask(), RSBAC_EINVALIDMODULE, RSBAC_EINVALIDPOINTER, RSBAC_EINVALIDTARGET, T_DEV, T_DIR, T_FD, T_FIFO, T_FILE, T_NONE, T_SYMLINK, and TRUE.

Referenced by sys_rsbac().

int sys_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
 

Definition at line 3736 of file syscalls.c.

References ACLG_GLOBAL, ACLS_GROUP, ACLS_ROLE, ACLS_USER, rsbac_acl_group_entry_t::owner, RC_role_max_value, rsbac_acl_get_group_entry(), RSBAC_ACL_GROUP_EVERYONE, rsbac_acl_sys_get_rights(), RSBAC_EINVALIDMODULE, RSBAC_EINVALIDPOINTER, RSBAC_EINVALIDTARGET, RSBAC_EINVALIDVALUE, T_NONE, and rsbac_acl_group_entry_t::type.

Referenced by sys_rsbac().

int sys_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
 

Definition at line 3811 of file syscalls.c.

References ACLG_GLOBAL, ACLS_GROUP, ACLS_ROLE, ACLS_USER, D_block, D_char, D_none, FALSE, NULL, rsbac_acl_group_entry_t::owner, RC_role_max_value, rsbac_acl_get_group_entry(), RSBAC_ACL_GROUP_EVERYONE, rsbac_acl_sys_get_rights(), RSBAC_EINVALIDMODULE, RSBAC_EINVALIDPOINTER, RSBAC_EINVALIDTARGET, RSBAC_EINVALIDVALUE, T_DEV, T_DIR, T_FD, T_FIFO, T_FILE, T_NONE, T_SYMLINK, TRUE, and rsbac_acl_group_entry_t::type.

Referenced by sys_rsbac().

int sys_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
 

Definition at line 4044 of file syscalls.c.

References RSBAC_ACL_MAX_MAXNUM, rsbac_acl_sys_get_tlist(), RSBAC_EINVALIDMODULE, RSBAC_EINVALIDPOINTER, RSBAC_EINVALIDTARGET, RSBAC_EINVALIDVALUE, rsbac_vfree, and T_NONE.

Referenced by sys_rsbac().

int sys_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
 

Definition at line 4096 of file syscalls.c.

References D_block, D_char, D_none, FALSE, NULL, rsbac_acl_sys_get_tlist(), RSBAC_EINVALIDMODULE, RSBAC_EINVALIDPOINTER, RSBAC_EINVALIDTARGET, rsbac_vfree, T_DEV, T_DIR, T_FD, T_FIFO, T_FILE, T_NONE, T_SYMLINK, and TRUE.

Referenced by sys_rsbac().

int sys_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
 

Definition at line 4537 of file syscalls.c.

References ACLGS_add_group, ACLGS_add_member, ACLGS_change_group, ACLGS_none, ACLGS_remove_group, ACLGS_remove_member, rsbac_acl_sys_group(), RSBAC_EINVALIDMODULE, RSBAC_EINVALIDPOINTER, and RSBAC_EINVALIDREQUEST.

Referenced by sys_rsbac().

int sys_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
 

Definition at line 3439 of file syscalls.c.

References ACLC_add_to_acl_entry, ACLC_none, ACLC_remove_acl, ACLC_remove_acl_entry, ACLC_remove_from_acl_entry, ACLC_set_acl_entry, ACLC_set_mask, ACLG_GLOBAL, ACLS_GROUP, ACLS_ROLE, ACLS_USER, D_block, D_char, D_none, NULL, rsbac_acl_group_entry_t::owner, RC_role_max_value, rsbac_acl_get_group_entry(), RSBAC_ACL_GROUP_EVERYONE, rsbac_acl_sys_add_to_acl_entry(), rsbac_acl_sys_remove_acl(), 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_EINVALIDMODULE, RSBAC_EINVALIDPOINTER, RSBAC_EINVALIDREQUEST, RSBAC_EINVALIDTARGET, RSBAC_EINVALIDVALUE, T_DEV, T_DIR, T_FD, T_FIFO, T_FILE, T_NONE, T_SYMLINK, and rsbac_acl_group_entry_t::type.

Referenced by sys_rsbac().

int sys_rsbac_adf_log_switch enum rsbac_adf_request_t  request,
enum rsbac_target_t  target,
u_int  value
 

Definition at line 6520 of file syscalls.c.

References rsbac_target_id_t::dummy, get_request_name(), LL_denied, LL_full, LL_none, R_NONE, R_SWITCH_LOG, rsbac_adf_log_switch(), rsbac_adf_request(), RSBAC_EINVALIDREQUEST, RSBAC_EINVALIDTARGET, RSBAC_EINVALIDVALUE, rsbac_kfree(), rsbac_kmalloc(), RSBAC_MAXNAMELEN, T_FD, and T_NONE.

Referenced by sys_rsbac().

int sys_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
 

Definition at line 2875 of file syscalls.c.

References ACT_none, rsbac_auth_cap_range_t::first, rsbac_auth_cap_range_t::last, R_MODIFY_ATTRIBUTE, rsbac_adf_request(), rsbac_auth_add_f_cap(), RSBAC_EINVALIDMODULE, RSBAC_EINVALIDTARGET, RSBAC_EINVALIDVALUE, T_DIR, and T_FILE.

Referenced by sys_rsbac().

int sys_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
 

Definition at line 2787 of file syscalls.c.

References ACT_none, rsbac_auth_cap_range_t::first, rsbac_auth_cap_range_t::last, rsbac_auth_add_p_cap(), RSBAC_EINVALIDMODULE, RSBAC_EINVALIDTARGET, and RSBAC_EINVALIDVALUE.

Referenced by sys_rsbac().

int sys_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
 

Definition at line 3076 of file syscalls.c.

References ACT_none, rsbac_attribute_value_t::dummy, R_READ_ATTRIBUTE, rsbac_adf_request(), rsbac_auth_get_f_caplist(), RSBAC_AUTH_MAX_MAXNUM, RSBAC_EINVALIDMODULE, RSBAC_EINVALIDPOINTER, RSBAC_EINVALIDTARGET, RSBAC_EINVALIDVALUE, rsbac_vfree, T_DIR, and T_FILE.

Referenced by sys_rsbac().

int sys_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
 

Definition at line 3188 of file syscalls.c.

References ACT_none, rsbac_attribute_value_t::dummy, rsbac_target_id_t::process, R_READ_ATTRIBUTE, rsbac_adf_request(), rsbac_auth_get_p_caplist(), RSBAC_AUTH_MAX_MAXNUM, RSBAC_EINVALIDMODULE, RSBAC_EINVALIDPOINTER, RSBAC_EINVALIDTARGET, RSBAC_EINVALIDVALUE, rsbac_vfree, and T_PROCESS.

Referenced by sys_rsbac().

int sys_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
 

Definition at line 2976 of file syscalls.c.

References ACT_none, rsbac_auth_cap_range_t::first, rsbac_auth_cap_range_t::last, R_MODIFY_ATTRIBUTE, rsbac_adf_request(), rsbac_auth_remove_f_cap(), RSBAC_EINVALIDMODULE, RSBAC_EINVALIDTARGET, RSBAC_EINVALIDVALUE, T_DIR, and T_FILE.

Referenced by sys_rsbac().

int sys_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
 

Definition at line 2832 of file syscalls.c.

References ACT_none, rsbac_auth_cap_range_t::first, rsbac_auth_cap_range_t::last, rsbac_auth_remove_p_cap(), RSBAC_EINVALIDMODULE, RSBAC_EINVALIDTARGET, and RSBAC_EINVALIDVALUE.

Referenced by sys_rsbac().

int sys_rsbac_check int  correct,
int  check_inode
 

Definition at line 100 of file syscalls.c.

References A_none, rsbac_attribute_value_t::dummy, R_GET_STATUS_DATA, rsbac_adf_request(), rsbac_check(), rsbac_check_acl(), rsbac_check_auth(), rsbac_check_lists(), rsbac_check_mac(), rsbac_check_reg(), rsbac_write_sem, rsbac_target_id_t::scd, ST_rsbac, sys_sync(), and T_SCD.

Referenced by sys_rsbac().

int sys_rsbac_daz_flush_cache void   ) 
 

Definition at line 2299 of file syscalls.c.

References A_daz_role, DAZ, rsbac_daz_flush_cache(), rsbac_get_attr, SR_administrator, SR_security_officer, rsbac_attribute_value_t::system_role, T_USER, TRUE, and rsbac_target_id_t::user.

Referenced by sys_rsbac().

int sys_rsbac_get_adf_log enum rsbac_adf_request_t  request,
enum rsbac_target_t  target,
u_int *  value_p
 

Definition at line 6592 of file syscalls.c.

References get_request_name(), R_GET_STATUS_DATA, R_NONE, rsbac_adf_request(), RSBAC_EINVALIDPOINTER, RSBAC_EINVALIDREQUEST, RSBAC_EINVALIDTARGET, rsbac_get_adf_log(), rsbac_kfree(), rsbac_kmalloc(), RSBAC_MAXNAMELEN, rsbac_target_id_t::scd, ST_rsbac, T_FD, T_NONE, and T_SCD.

Referenced by sys_rsbac().

int sys_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
 

Definition at line 231 of file syscalls.c.

References A_none, FALSE, get_attr_module(), R_READ_ATTRIBUTE, rsbac_adf_request(), RSBAC_EINVALIDATTR, RSBAC_EINVALIDMODULE, RSBAC_EINVALIDTARGET, RSBAC_EINVALIDVALUE, rsbac_ta_get_attr(), SW_NONE, T_NETOBJ, T_NONE, and TRUE.

Referenced by sys_rsbac().

int sys_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
 

Definition at line 322 of file syscalls.c.

References A_none, D_block, D_char, FALSE, get_attr_module(), R_READ_ATTRIBUTE, rsbac_adf_request(), RSBAC_EINVALIDATTR, RSBAC_EINVALIDMODULE, RSBAC_EINVALIDTARGET, RSBAC_EINVALIDVALUE, rsbac_ta_get_attr(), SW_NONE, T_DEV, T_DIR, T_FD, T_FIFO, T_FILE, T_NONE, T_SYMLINK, and TRUE.

Referenced by sys_rsbac().

int sys_rsbac_jail rsbac_version_t  version,
char *  path,
rsbac_jail_ip_t  ip,
rsbac_jail_flags_t  flags,
rsbac_cap_vector_t  max_caps
 

Definition at line 4592 of file syscalls.c.

References RSBAC_EINVALIDMODULE, and rsbac_jail_sys_jail().

int sys_rsbac_log int  type,
char *  buf,
int  len
 

Definition at line 6658 of file syscalls.c.

References rsbac_log().

Referenced by sys_rsbac().

int sys_rsbac_mac_add_f_tru rsbac_list_ta_number_t  ta_number,
char *  filename,
rsbac_uid_t  uid,
rsbac_time_t  ttl
 

Definition at line 1890 of file syscalls.c.

References RSBAC_EINVALIDMODULE, RSBAC_EINVALIDTARGET, rsbac_mac_add_f_tru(), T_DIR, and T_FILE.

Referenced by sys_rsbac().

int sys_rsbac_mac_add_p_tru rsbac_list_ta_number_t  ta_number,
rsbac_pid_t  pid,
rsbac_uid_t  uid,
rsbac_time_t  ttl
 

Definition at line 1818 of file syscalls.c.

References RSBAC_EINVALIDMODULE, RSBAC_EINVALIDTARGET, and rsbac_mac_add_p_tru().

Referenced by sys_rsbac().

int sys_rsbac_mac_get_curr_level rsbac_security_level_t level_p,
rsbac_mac_category_vector_t categories_p
 

Definition at line 1736 of file syscalls.c.

References RSBAC_EINVALIDMODULE, and rsbac_mac_get_curr_level().

Referenced by sys_rsbac().

int sys_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
 

Definition at line 2038 of file syscalls.c.

References RSBAC_EINVALIDMODULE, RSBAC_EINVALIDPOINTER, RSBAC_EINVALIDTARGET, RSBAC_EINVALIDVALUE, rsbac_mac_get_f_trulist(), RSBAC_MAC_MAX_MAXNUM, rsbac_vfree, T_DIR, and T_FILE.

Referenced by sys_rsbac().

int sys_rsbac_mac_get_max_level rsbac_security_level_t level_p,
rsbac_mac_category_vector_t categories_p
 

Definition at line 1763 of file syscalls.c.

References RSBAC_EINVALIDMODULE, and rsbac_mac_get_max_level().

Referenced by sys_rsbac().

int sys_rsbac_mac_get_min_level rsbac_security_level_t level_p,
rsbac_mac_category_vector_t categories_p
 

Definition at line 1790 of file syscalls.c.

References RSBAC_EINVALIDMODULE, and rsbac_mac_get_min_level().

Referenced by sys_rsbac().

int sys_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
 

Definition at line 2126 of file syscalls.c.

References rsbac_target_id_t::process, RSBAC_EINVALIDMODULE, RSBAC_EINVALIDPOINTER, RSBAC_EINVALIDTARGET, RSBAC_EINVALIDVALUE, rsbac_mac_get_p_trulist(), RSBAC_MAC_MAX_MAXNUM, and rsbac_vfree.

Referenced by sys_rsbac().

int sys_rsbac_mac_remove_f_tru rsbac_list_ta_number_t  ta_number,
char *  filename,
rsbac_uid_t  uid
 

Definition at line 1964 of file syscalls.c.

References RSBAC_EINVALIDMODULE, RSBAC_EINVALIDTARGET, rsbac_mac_remove_f_tru(), T_DIR, and T_FILE.

Referenced by sys_rsbac().

int sys_rsbac_mac_remove_p_tru rsbac_list_ta_number_t  ta_number,
rsbac_pid_t  pid,
rsbac_uid_t  uid
 

Definition at line 1855 of file syscalls.c.

References RSBAC_EINVALIDMODULE, RSBAC_EINVALIDTARGET, and rsbac_mac_remove_p_tru().

Referenced by sys_rsbac().

int sys_rsbac_mac_set_curr_level rsbac_security_level_t  level,
rsbac_mac_category_vector_t categories_p
 

Definition at line 1718 of file syscalls.c.

References RSBAC_EINVALIDMODULE, RSBAC_EINVALIDPOINTER, and rsbac_mac_set_curr_level().

Referenced by sys_rsbac().

int sys_rsbac_net_list_all_netdev rsbac_list_ta_number_t  ta_number,
rsbac_netdev_id_t id_p,
u_long  maxnum
 

Definition at line 1194 of file syscalls.c.

References NULL, RSBAC_EINVALIDREQUEST, rsbac_ta_net_list_all_netdev(), and rsbac_vfree.

Referenced by sys_rsbac().

int sys_rsbac_net_list_all_template rsbac_list_ta_number_t  ta_number,
rsbac_net_temp_id_t id_p,
u_long  maxnum
 

Definition at line 1453 of file syscalls.c.

References A_none, rsbac_attribute_value_t::dummy, rsbac_target_id_t::nettemp, NULL, R_READ, rsbac_adf_request(), RSBAC_EINVALIDREQUEST, rsbac_ta_net_list_all_template(), rsbac_vfree, and T_NETTEMP.

Referenced by sys_rsbac().

int sys_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
 

Definition at line 1230 of file syscalls.c.

References A_none, rsbac_attribute_value_t::dummy, rsbac_net_temp_syscall_data_t::id, rsbac_target_id_t::nettemp, NTS_check_id, NTS_copy_template, NTS_delete_template, NTS_get_address, NTS_get_address_family, NTS_get_max_port, NTS_get_min_port, NTS_get_name, NTS_get_netdev, NTS_get_protocol, NTS_get_type, NTS_get_valid_len, NTS_new_template, NTS_set_address, NTS_set_address_family, NTS_set_max_port, NTS_set_min_port, NTS_set_name, NTS_set_netdev, NTS_set_protocol, NTS_set_type, NTS_set_valid_len, R_CREATE, R_DELETE, R_READ, R_WRITE, rsbac_adf_request(), RSBAC_EINVALIDPOINTER, RSBAC_EINVALIDREQUEST, RSBAC_EINVALIDVALUE, rsbac_net_template_exist(), rsbac_ta_net_template(), and T_NETTEMP.

Referenced by sys_rsbac().

int sys_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
 

Definition at line 2213 of file syscalls.c.

References PF_none, RSBAC_EINVALIDMODULE, RSBAC_EINVALIDPOINTER, RSBAC_EINVALIDREQUEST, and rsbac_pm().

Referenced by sys_rsbac().

int sys_rsbac_pm_change_current_task rsbac_pm_task_id_t  task  ) 
 

Definition at line 2261 of file syscalls.c.

References rsbac_pm_change_current_task().

Referenced by sys_rsbac().

int sys_rsbac_pm_create_file const char *  filename,
int  mode,
rsbac_pm_object_class_id_t  class
 

Definition at line 2277 of file syscalls.c.

References RSBAC_EINVALIDMODULE, RSBAC_EINVALIDPOINTER, and rsbac_pm_create_file().

Referenced by sys_rsbac().

int sys_rsbac_rc_change_role rsbac_rc_role_id_t  role  ) 
 

Definition at line 2580 of file syscalls.c.

References RC_role_max_value, RSBAC_EINVALIDMODULE, RSBAC_EINVALIDVALUE, and rsbac_rc_sys_change_role().

Referenced by sys_rsbac().

int sys_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
 

Definition at line 2352 of file syscalls.c.

References RC_role_max_value, RSBAC_EINVALIDMODULE, RSBAC_EINVALIDVALUE, and rsbac_rc_sys_copy_role().

Referenced by sys_rsbac().

int sys_rsbac_rc_copy_type rsbac_list_ta_number_t  ta_number,
enum rsbac_rc_target_t  target,
rsbac_rc_type_id_t  from_type,
rsbac_rc_type_id_t  to_type
 

Definition at line 2390 of file syscalls.c.

References RC_type_max_value, RSBAC_EINVALIDMODULE, RSBAC_EINVALIDVALUE, and rsbac_rc_sys_copy_type().

Referenced by sys_rsbac().

int sys_rsbac_rc_get_current_role rsbac_rc_role_id_t role_p  ) 
 

Definition at line 2763 of file syscalls.c.

References RSBAC_EINVALIDMODULE, RSBAC_EINVALIDPOINTER, and rsbac_rc_sys_get_current_role().

Referenced by sys_rsbac().

int sys_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
 

Definition at line 2599 of file syscalls.c.

References D_block, D_char, RSBAC_EINVALIDMODULE, RSBAC_EINVALIDTARGET, rsbac_rc_sys_get_eff_rights(), T_DEV, T_DIR, T_FD, T_FIFO, T_FILE, T_NONE, and T_SYMLINK.

Referenced by sys_rsbac().

int sys_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
 

Definition at line 2430 of file syscalls.c.

References RI_none, RSBAC_EINVALIDMODULE, RSBAC_EINVALIDVALUE, rsbac_rc_sys_get_item(), and RT_NONE.

Referenced by sys_rsbac().

int sys_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
 

Definition at line 2527 of file syscalls.c.

References NULL, RSBAC_EINVALIDMODULE, RSBAC_EINVALIDVALUE, rsbac_rc_get_list(), and rsbac_vfree.

Referenced by sys_rsbac().

int sys_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
 

Definition at line 2476 of file syscalls.c.

References RI_none, RSBAC_EINVALIDMODULE, RSBAC_EINVALIDVALUE, rsbac_rc_sys_set_item(), and RT_NONE.

Referenced by sys_rsbac().

int sys_rsbac_reg rsbac_reg_handle_t  handle,
void *  arg
 

Definition at line 3269 of file syscalls.c.

References RSBAC_EINVALIDMODULE, and rsbac_reg_syscall().

Referenced by sys_rsbac().

int sys_rsbac_remove_target rsbac_list_ta_number_t  ta_number,
enum rsbac_target_t  target,
union rsbac_target_id_t tid
 

Definition at line 936 of file syscalls.c.

References A_none, rsbac_attribute_value_t::dummy, R_MODIFY_ATTRIBUTE, rsbac_adf_request(), RSBAC_EINVALIDTARGET, rsbac_ta_remove_target(), and T_NONE.

Referenced by sys_rsbac().

int sys_rsbac_remove_target_n rsbac_list_ta_number_t  ta_number,
enum rsbac_target_t  target,
char *  t_name
 

Definition at line 987 of file syscalls.c.

References A_none, D_block, D_char, rsbac_attribute_value_t::dummy, R_MODIFY_ATTRIBUTE, rsbac_adf_request(), RSBAC_EINVALIDTARGET, rsbac_ta_remove_target(), T_DEV, T_DIR, T_FD, T_FIFO, T_FILE, T_NONE, and T_SYMLINK.

Referenced by sys_rsbac().

int sys_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
 

Definition at line 614 of file syscalls.c.

References A_none, get_attr_module(), R_MODIFY_ATTRIBUTE, rsbac_adf_request(), RSBAC_EINVALIDATTR, RSBAC_EINVALIDMODULE, RSBAC_EINVALIDTARGET, RSBAC_EINVALIDVALUE, rsbac_ta_set_attr(), SW_NONE, T_NETOBJ, T_NONE, and T_PROCESS.

Referenced by sys_rsbac().

int sys_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
 

Definition at line 715 of file syscalls.c.

References A_none, D_block, D_char, get_attr_module(), R_MODIFY_ATTRIBUTE, rsbac_adf_request(), RSBAC_EINVALIDATTR, RSBAC_EINVALIDMODULE, RSBAC_EINVALIDTARGET, RSBAC_EINVALIDVALUE, rsbac_ta_set_attr(), SW_NONE, T_DEV, T_DIR, T_FD, T_FIFO, T_FILE, T_NONE, and T_SYMLINK.

Referenced by sys_rsbac().

int sys_rsbac_stats void   ) 
 

Definition at line 66 of file syscalls.c.

References A_none, rsbac_attribute_value_t::dummy, R_GET_STATUS_DATA, rsbac_adf_request(), rsbac_stats(), rsbac_target_id_t::scd, ST_rsbac, and T_SCD.

Referenced by sys_rsbac().

int sys_rsbac_stats_pm void   ) 
 

Definition at line 2182 of file syscalls.c.

References A_none, rsbac_attribute_value_t::dummy, R_GET_STATUS_DATA, rsbac_adf_request(), rsbac_stats_pm(), rsbac_target_id_t::scd, ST_rsbac, and T_SCD.

Referenced by sys_rsbac().

int sys_rsbac_switch enum rsbac_switch_target_t  target,
int  value
 

Definition at line 1505 of file syscalls.c.

References A_none, ACL, AUTH, CAP, DAC_DISABLE, DAZ, rsbac_attribute_value_t::dummy, rsbac_target_id_t::dummy, FC, FF, FREEZE, get_switch_target_name(), JAIL, MAC, PAX, PM, R_MODIFY_PERMISSIONS_DATA, R_SWITCH_MODULE, RC, RES, rsbac_adf_request(), RSBAC_EINVALIDMODULE, RSBAC_EINVALIDTARGET, RSBAC_EINVALIDVALUE, rsbac_kfree(), rsbac_kmalloc(), RSBAC_MAXNAMELEN, SIM, SOFTMODE, SW_NONE, and T_NONE.

Referenced by sys_rsbac().

int sys_rsbac_um_add_gm rsbac_list_ta_number_t  ta_number,
rsbac_uid_t  user,
rsbac_gid_t  group,
rsbac_time_t  ttl
 

Definition at line 4981 of file syscalls.c.

References R_CHANGE_GROUP, rsbac_adf_request(), RSBAC_EINVALIDMODULE, rsbac_um_add_gm(), T_USER, and rsbac_target_id_t::user.

Referenced by sys_rsbac().

int sys_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
 

Definition at line 4876 of file syscalls.c.

References A_none, rsbac_attribute_value_t::dummy, rsbac_target_id_t::group, NULL, R_CREATE, rsbac_adf_request(), RSBAC_EINVALIDMODULE, RSBAC_EINVALIDPOINTER, RSBAC_EINVALIDVALUE, RSBAC_ENOMEM, rsbac_kfree(), rsbac_kmalloc(), RSBAC_MAXNAMELEN, rsbac_um_add_group(), and T_GROUP.

Referenced by sys_rsbac().

int sys_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
 

Definition at line 4771 of file syscalls.c.

References A_none, rsbac_attribute_value_t::dummy, NULL, R_CREATE, rsbac_adf_request(), RSBAC_EINVALIDMODULE, RSBAC_EINVALIDPOINTER, RSBAC_EINVALIDVALUE, RSBAC_ENOMEM, rsbac_kfree(), rsbac_kmalloc(), RSBAC_MAXNAMELEN, rsbac_um_add_user(), T_USER, and rsbac_target_id_t::user.

Referenced by sys_rsbac().

int sys_rsbac_um_auth_name char *  name,
char *  pass
 

Definition at line 4607 of file syscalls.c.

References A_auth_last_auth, AUTH, rsbac_attribute_value_t::auth_last_auth, rsbac_target_id_t::process, RSBAC_EINVALIDMODULE, RSBAC_EINVALIDPOINTER, RSBAC_ENOMEM, rsbac_kfree(), rsbac_kmalloc(), RSBAC_MAXNAMELEN, rsbac_set_attr, rsbac_um_check_pass(), rsbac_um_get_uid(), RSBAC_UM_NAME_LEN, and T_PROCESS.

Referenced by sys_rsbac().

int sys_rsbac_um_auth_uid rsbac_uid_t  uid,
char *  pass
 

Definition at line 4711 of file syscalls.c.

References A_auth_last_auth, AUTH, rsbac_attribute_value_t::auth_last_auth, rsbac_target_id_t::process, RSBAC_EINVALIDMODULE, RSBAC_EINVALIDPOINTER, RSBAC_ENOMEM, rsbac_kfree(), rsbac_kmalloc(), RSBAC_MAXNAMELEN, rsbac_set_attr, rsbac_um_check_pass(), and T_PROCESS.

Referenced by sys_rsbac().

int sys_rsbac_um_check_account rsbac_uid_t  uid  ) 
 

Definition at line 6391 of file syscalls.c.

References A_none, rsbac_attribute_value_t::dummy, R_GET_STATUS_DATA, rsbac_adf_request(), RSBAC_EINVALIDMODULE, rsbac_um_check_account(), T_USER, and rsbac_target_id_t::user.

Referenced by sys_rsbac().

int sys_rsbac_um_check_account_name char *  name  ) 
 

Definition at line 6432 of file syscalls.c.

References A_none, rsbac_attribute_value_t::dummy, R_GET_STATUS_DATA, rsbac_adf_request(), RSBAC_EINVALIDMODULE, RSBAC_EINVALIDPOINTER, rsbac_um_check_account(), rsbac_um_get_uid(), RSBAC_UM_NAME_LEN, T_USER, and rsbac_target_id_t::user.

Referenced by sys_rsbac().

int sys_rsbac_um_get_gid rsbac_list_ta_number_t  ta_number,
char *  name,
rsbac_gid_t gid_p
 

Definition at line 6090 of file syscalls.c.

References A_none, rsbac_attribute_value_t::dummy, rsbac_target_id_t::group, R_SEARCH, rsbac_adf_request(), RSBAC_EINVALIDMODULE, RSBAC_EINVALIDPOINTER, rsbac_um_get_gid(), RSBAC_UM_NAME_LEN, and T_GROUP.

Referenced by sys_rsbac().

int sys_rsbac_um_get_gm_list rsbac_list_ta_number_t  ta_number,
rsbac_uid_t  user,
rsbac_gid_t  group_array[],
u_int  maxnum
 

Definition at line 5842 of file syscalls.c.

References A_none, rsbac_attribute_value_t::dummy, NULL, R_GET_STATUS_DATA, rsbac_adf_request(), RSBAC_EINVALIDMODULE, rsbac_um_get_gm_list(), RSBAC_UM_MAX_MAXNUM, rsbac_vfree, T_USER, and rsbac_target_id_t::user.

Referenced by sys_rsbac().

int sys_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
 

Definition at line 5906 of file syscalls.c.

References A_none, rsbac_attribute_value_t::dummy, rsbac_target_id_t::group, NULL, R_READ, rsbac_adf_request(), RSBAC_EINVALIDMODULE, rsbac_um_get_gm_user_list(), RSBAC_UM_MAX_MAXNUM, rsbac_vfree, and T_GROUP.

Referenced by sys_rsbac().

int sys_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
 

Definition at line 5392 of file syscalls.c.

References A_none, rsbac_attribute_value_t::dummy, rsbac_target_id_t::group, R_GET_PERMISSIONS_DATA, R_GET_STATUS_DATA, R_SEARCH, rsbac_adf_request(), RSBAC_EINVALIDMODULE, RSBAC_EINVALIDPOINTER, RSBAC_EINVALIDREQUEST, RSBAC_ENOMEM, rsbac_kfree(), rsbac_kmalloc(), rsbac_um_get_group_item(), T_GROUP, UM_name, UM_none, UM_pass, and UM_ttl.

Referenced by sys_rsbac().

int sys_rsbac_um_get_group_list rsbac_list_ta_number_t  ta_number,
rsbac_gid_t  group_array[],
u_int  maxnum
 

Definition at line 5968 of file syscalls.c.

References A_none, rsbac_attribute_value_t::dummy, rsbac_target_id_t::group, NULL, R_SEARCH, rsbac_adf_request(), RSBAC_ALL_USERS, RSBAC_EINVALIDMODULE, rsbac_um_get_group_list(), RSBAC_UM_MAX_MAXNUM, rsbac_vfree, and T_GROUP.

Referenced by sys_rsbac().

int sys_rsbac_um_get_next_user rsbac_list_ta_number_t  ta_number,
rsbac_uid_t  old_user,
rsbac_uid_t next_user_p
 

Definition at line 5729 of file syscalls.c.

References A_none, rsbac_attribute_value_t::dummy, R_SEARCH, rsbac_adf_request(), RSBAC_EINVALIDMODULE, RSBAC_EINVALIDPOINTER, rsbac_um_get_next_user(), T_USER, and rsbac_target_id_t::user.

Referenced by sys_rsbac().

int sys_rsbac_um_get_uid rsbac_list_ta_number_t  ta_number,
char *  name,
rsbac_uid_t uid_p
 

Definition at line 6032 of file syscalls.c.

References A_none, rsbac_attribute_value_t::dummy, R_SEARCH, rsbac_adf_request(), RSBAC_EINVALIDMODULE, RSBAC_EINVALIDPOINTER, rsbac_um_get_uid(), RSBAC_UM_NAME_LEN, T_USER, and rsbac_target_id_t::user.

Referenced by sys_rsbac().

int sys_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
 

Definition at line 5301 of file syscalls.c.

References A_none, rsbac_attribute_value_t::dummy, R_GET_PERMISSIONS_DATA, R_GET_STATUS_DATA, R_READ, R_SEARCH, rsbac_adf_request(), RSBAC_EINVALIDMODULE, RSBAC_EINVALIDPOINTER, RSBAC_EINVALIDREQUEST, RSBAC_ENOMEM, rsbac_kfree(), rsbac_kmalloc(), rsbac_um_get_user_item(), T_USER, UM_expire, UM_fullname, UM_group, UM_homedir, UM_inactive, UM_lastchange, UM_maxchange, UM_minchange, UM_name, UM_none, UM_pass, UM_shell, UM_ttl, UM_warnchange, and rsbac_target_id_t::user.

Referenced by sys_rsbac().

int sys_rsbac_um_get_user_list rsbac_list_ta_number_t  ta_number,
rsbac_uid_t  user_array[],
u_int  maxnum
 

Definition at line 5780 of file syscalls.c.

References A_none, rsbac_attribute_value_t::dummy, NULL, R_SEARCH, rsbac_adf_request(), RSBAC_ALL_USERS, RSBAC_EINVALIDMODULE, rsbac_um_get_user_list(), RSBAC_UM_MAX_MAXNUM, rsbac_vfree, T_USER, and rsbac_target_id_t::user.

Referenced by sys_rsbac().

int sys_rsbac_um_group_exists rsbac_list_ta_number_t  ta_number,
rsbac_gid_t  gid
 

Definition at line 5687 of file syscalls.c.

References A_none, rsbac_attribute_value_t::dummy, rsbac_target_id_t::group, R_SEARCH, rsbac_adf_request(), RSBAC_EINVALIDMODULE, rsbac_um_group_exists(), and T_GROUP.

int sys_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
 

Definition at line 5193 of file syscalls.c.

References A_none, rsbac_attribute_value_t::dummy, rsbac_target_id_t::group, NULL, R_DELETE, R_MODIFY_PERMISSIONS_DATA, R_RENAME, rsbac_adf_request(), RSBAC_EINVALIDMODULE, RSBAC_EINVALIDPOINTER, RSBAC_EINVALIDREQUEST, RSBAC_ENOMEM, rsbac_kfree(), rsbac_kmalloc(), RSBAC_MAXNAMELEN, rsbac_um_mod_group(), T_GROUP, UM_cryptpass, UM_name, UM_none, UM_pass, and UM_ttl.

Referenced by sys_rsbac().

int sys_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
 

Definition at line 5041 of file syscalls.c.

References A_none, rsbac_attribute_value_t::dummy, rsbac_um_mod_data_t::group, NULL, R_CHANGE_GROUP, R_DELETE, R_MODIFY_PERMISSIONS_DATA, R_RENAME, R_WRITE, rsbac_adf_request(), RSBAC_EINVALIDMODULE, RSBAC_EINVALIDPOINTER, RSBAC_EINVALIDREQUEST, RSBAC_ENOMEM, rsbac_kfree(), rsbac_kmalloc(), RSBAC_MAXNAMELEN, rsbac_um_mod_user(), T_USER, UM_cryptpass, UM_expire, UM_fullname, UM_group, UM_homedir, UM_inactive, UM_lastchange, UM_maxchange, UM_minchange, UM_name, UM_none, UM_pass, UM_shell, UM_ttl, UM_warnchange, and rsbac_target_id_t::user.

Referenced by sys_rsbac().

int sys_rsbac_um_remove_gm rsbac_list_ta_number_t  ta_number,
rsbac_uid_t  user,
rsbac_gid_t  group
 

Definition at line 5586 of file syscalls.c.

References R_CHANGE_GROUP, rsbac_adf_request(), RSBAC_EINVALIDMODULE, rsbac_um_remove_gm(), T_USER, and rsbac_target_id_t::user.

Referenced by sys_rsbac().

int sys_rsbac_um_remove_group rsbac_list_ta_number_t  ta_number,
rsbac_gid_t  gid
 

Definition at line 5528 of file syscalls.c.

References A_none, rsbac_attribute_value_t::dummy, rsbac_target_id_t::group, R_DELETE, rsbac_adf_request(), RSBAC_EINVALIDMODULE, rsbac_um_remove_group(), and T_GROUP.

Referenced by sys_rsbac().

int sys_rsbac_um_remove_user rsbac_list_ta_number_t  ta_number,
rsbac_uid_t  uid
 

Definition at line 5470 of file syscalls.c.

References A_none, rsbac_attribute_value_t::dummy, R_DELETE, rsbac_adf_request(), RSBAC_EINVALIDMODULE, rsbac_um_remove_user(), T_USER, and rsbac_target_id_t::user.

Referenced by sys_rsbac().

int sys_rsbac_um_set_group_pass rsbac_gid_t  gid,
char *  new_pass
 

Definition at line 6314 of file syscalls.c.

References A_none, rsbac_attribute_value_t::dummy, rsbac_target_id_t::group, NULL, R_MODIFY_PERMISSIONS_DATA, rsbac_adf_request(), RSBAC_EINVALIDMODULE, RSBAC_ENOMEM, rsbac_kfree(), rsbac_kmalloc(), RSBAC_MAXNAMELEN, rsbac_um_set_group_pass(), and T_GROUP.

Referenced by sys_rsbac().

int sys_rsbac_um_set_pass rsbac_uid_t  uid,
char *  old_pass,
char *  new_pass
 

Definition at line 6147 of file syscalls.c.

References A_none, rsbac_attribute_value_t::dummy, R_MODIFY_PERMISSIONS_DATA, rsbac_adf_request(), RSBAC_EINVALIDMODULE, RSBAC_EINVALIDPOINTER, RSBAC_ENOMEM, rsbac_kfree(), rsbac_kmalloc(), RSBAC_MAXNAMELEN, rsbac_um_check_pass(), rsbac_um_set_pass(), T_USER, and rsbac_target_id_t::user.

Referenced by sys_rsbac(), and sys_rsbac_um_set_pass_name().

int sys_rsbac_um_set_pass_name char *  name,
char *  old_pass,
char *  new_pass
 

Definition at line 6250 of file syscalls.c.

References RSBAC_EINVALIDMODULE, RSBAC_EINVALIDPOINTER, RSBAC_ENOMEM, rsbac_kfree(), rsbac_kmalloc(), rsbac_um_get_uid(), RSBAC_UM_NAME_LEN, and sys_rsbac_um_set_pass().

Referenced by sys_rsbac().

int sys_rsbac_um_user_exists rsbac_list_ta_number_t  ta_number,
rsbac_uid_t  uid
 

Definition at line 5645 of file syscalls.c.

References A_none, rsbac_attribute_value_t::dummy, R_SEARCH, rsbac_adf_request(), RSBAC_EINVALIDMODULE, rsbac_um_user_exists(), T_USER, and rsbac_target_id_t::user.

Referenced by sys_rsbac().

int sys_rsbac_write void   ) 
 

Definition at line 187 of file syscalls.c.

References A_none, rsbac_attribute_value_t::dummy, R_WRITE, rsbac_adf_request(), rsbac_write(), rsbac_target_id_t::scd, ST_rsbac, T_SCD, and TRUE.

Referenced by sys_rsbac().

long sys_sync void   ) 
 

Referenced by sys_rsbac_check().


Variable Documentation

struct semaphore rsbac_write_sem
 

Referenced by rsbac_get_super_block(), rsbac_mount(), rsbac_umount(), sys_rsbac_check(), and write_info().


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