#include <linux/types.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/init.h>
#include <linux/ext2_fs.h>
#include <asm/uaccess.h>
#include <rsbac/types.h>
#include <rsbac/aci_data_structures.h>
#include <rsbac/acl_data_structures.h>
#include <rsbac/error.h>
#include <rsbac/helpers.h>
#include <rsbac/adf.h>
#include <rsbac/aci.h>
#include <rsbac/acl.h>
#include <rsbac/lists.h>
#include <rsbac/proc_fs.h>
#include <rsbac/getname.h>
#include <rsbac/acl_getname.h>
#include <rsbac/rkmem.h>
#include <rsbac/network.h>
#include <linux/string.h>
#include <linux/smp_lock.h>
Go to the source code of this file.
|
Definition at line 275 of file acl_data_structures.c. References get_error_name(), rsbac_acl_device_list_item_t::handles, rsbac_acl_device_list_item_t::id, inttostr(), RSBAC_ACL_FD_FILENAME, RSBAC_ACL_LIST_KEY, RSBAC_ACL_NR_FD_LISTS, RSBAC_EINVALIDPOINTER, RSBAC_ENOMEM, rsbac_kfree(), rsbac_kmalloc(), rsbac_list_lol_detach(), and RSBAC_MAXNAMELEN. Referenced by clear_device_item(). |
|
|
|
|
Definition at line 420 of file acl_data_structures.c. References acl_detach_fd_lists(), and rsbac_kfree(). |
|
Definition at line 369 of file acl_data_structures.c. References NULL, and rsbac_kmalloc(). |
|
Definition at line 115 of file acl_data_structures.c. Referenced by rsbac_init_acl(). |
|
Definition at line 145 of file acl_data_structures.c. References rsbac_acl_rights_vector_t. Referenced by dev_get_conv(). |
|
Definition at line 161 of file acl_data_structures.c. References dev_conv(), NULL, RSBAC_ACL_DEV_OLD_LIST_VERSION, rsbac_list_conv_function_t, and rsbac_version_t. Referenced by rsbac_init_acl(). |
|
Definition at line 183 of file acl_data_structures.c. References dev_subconv(), NULL, RSBAC_ACL_DEV_OLD_LIST_VERSION, rsbac_list_conv_function_t, and rsbac_version_t. Referenced by rsbac_init_acl(). |
|
Definition at line 172 of file acl_data_structures.c. References rsbac_acl_rights_vector_t. Referenced by dev_get_subconv(). |
|
Definition at line 98 of file acl_data_structures.c. Referenced by acl_register_fd_lists(), and rsbac_init_acl(). |
|
Definition at line 93 of file acl_data_structures.c. References RSBAC_ACL_NR_FD_LISTS, and rsbac_inode_nr_t. |
|
Definition at line 1886 of file acl_data_structures.c. References get_error_name(), rsbac_kfree(), rsbac_kmalloc(), and RSBAC_MAXNAMELEN. |
|
|
Definition at line 8360 of file acl_data_structures.c. References ACLG_NONE, group_handle, group_last_new, rsbac_acl_group_entry_t::id, rsbac_acl_group_entry_t::name, rsbac_acl_group_entry_t::owner, rsbac_acl_group_id_t, RSBAC_ACL_GROUP_NAMELEN, RSBAC_ECOULDNOTADDITEM, RSBAC_EEXISTS, RSBAC_EINVALIDPOINTER, RSBAC_EINVALIDVALUE, rsbac_list_add(), rsbac_list_exist(), rsbac_uid_t, and rsbac_acl_group_entry_t::type. Referenced by rsbac_acl_sys_group(). |
|
Definition at line 8505 of file acl_data_structures.c. References gm_handle, group_handle, NULL, rsbac_acl_group_id_t, RSBAC_EINVALIDVALUE, rsbac_list_exist(), rsbac_list_lol_add(), rsbac_list_lol_exist(), rsbac_list_lol_subadd_ttl(), rsbac_time_t, and rsbac_uid_t. Referenced by rsbac_acl_sys_group(). |
|
|
Definition at line 8404 of file acl_data_structures.c. References group_handle, rsbac_acl_group_entry_t::id, rsbac_acl_group_entry_t::name, rsbac_acl_group_entry_t::owner, rsbac_acl_group_id_t, RSBAC_ACL_GROUP_NAMELEN, RSBAC_EINVALIDPOINTER, RSBAC_EINVALIDVALUE, RSBAC_ENOTFOUND, rsbac_list_add(), rsbac_list_exist(), rsbac_uid_t, and rsbac_acl_group_entry_t::type. Referenced by rsbac_acl_sys_group(). |
|
Definition at line 8449 of file acl_data_structures.c. References group_handle, rsbac_acl_group_id_t, RSBAC_EINVALIDPOINTER, RSBAC_EINVALIDVALUE, and rsbac_list_get_data(). Referenced by rsbac_acl_sys_group(), sys_rsbac_acl(), sys_rsbac_acl_get_rights(), sys_rsbac_acl_get_rights_n(), and sys_rsbac_acl_n(). |
|
Definition at line 8562 of file acl_data_structures.c. References gm_handle, group_handle, NULL, rsbac_acl_group_id_t, RSBAC_EINVALIDPOINTER, RSBAC_EINVALIDVALUE, rsbac_list_exist(), rsbac_list_lol_get_all_desc(), rsbac_list_lol_get_subdata_ttl(), rsbac_time_t, rsbac_uid_t, and rsbac_vfree. Referenced by rsbac_acl_sys_group(). |
|
Definition at line 6427 of file acl_data_structures.c. |
|
Definition at line 6676 of file acl_data_structures.c. |
|
|
Definition at line 8035 of file acl_data_structures.c. |
|
Definition at line 8551 of file acl_data_structures.c. References gm_handle, rsbac_acl_group_id_t, rsbac_list_lol_get_all_subdesc_ttl(), rsbac_time_t, and rsbac_uid_t. Referenced by rsbac_acl_check_right(), rsbac_acl_check_super(), rsbac_acl_sys_get_rights(), and rsbac_acl_sys_group(). |
|
Definition at line 8498 of file acl_data_structures.c. References group_handle, rsbac_acl_group_id_t, rsbac_list_exist(), and TRUE. |
|
Definition at line 8543 of file acl_data_structures.c. References gm_handle, rsbac_acl_group_id_t, rsbac_list_lol_subexist(), and rsbac_uid_t. |
|
Definition at line 8458 of file acl_data_structures.c. References ACLG_GLOBAL, group_handle, RSBAC_EINVALIDPOINTER, RSBAC_ENOMEM, rsbac_list_get_all_data(), rsbac_uid_t, rsbac_vfree, and rsbac_vmalloc. Referenced by rsbac_acl_sys_group(). |
|
|
|
|
Definition at line 8427 of file acl_data_structures.c. References ACLS_GROUP, gm_handle, group_handle, rsbac_acl_group_id_t, rsbac_acl_remove_subject(), RSBAC_EINVALIDVALUE, rsbac_list_lol_subremove_from_all(), rsbac_list_remove(), rsbac_acl_entry_desc_t::subj_id, and rsbac_acl_entry_desc_t::subj_type. Referenced by rsbac_acl_sys_group(). |
|
Definition at line 8523 of file acl_data_structures.c. References gm_handle, group_handle, rsbac_acl_group_id_t, RSBAC_EINVALIDVALUE, rsbac_list_exist(), rsbac_list_lol_remove(), rsbac_list_lol_subcount(), rsbac_list_lol_subremove(), and rsbac_uid_t. Referenced by rsbac_acl_sys_group(). |
|
|
Definition at line 8604 of file acl_data_structures.c. References ACLS_USER, gm_handle, group_handle, rsbac_acl_remove_subject(), rsbac_list_get_all_data(), rsbac_list_lol_remove(), rsbac_list_lol_subremove_from_all(), rsbac_list_remove(), rsbac_uid_t, rsbac_vfree, rsbac_acl_entry_desc_t::subj_id, and rsbac_acl_entry_desc_t::subj_type. Referenced by rsbac_acl_sys_remove_user(). |
|
|
|
|
|
Definition at line 2851 of file acl_data_structures.c. References acl_lookup_device(), acl_register_fd_lists(), add_device_item(), clear_device_item(), create_device_item(), device_list_head, get_error_name(), rsbac_acl_device_list_head_t::lock, RSBAC_ECOULDNOTADDDEVICE, RSBAC_ENOTINITIALIZED, rsbac_is_initialized(), rsbac_kfree(), rsbac_kmalloc(), and RSBAC_MAXNAMELEN. Referenced by rsbac_mount(). |
|
|
Definition at line 2980 of file acl_data_structures.c. References acl_lookup_device(), device_list_head, rsbac_acl_device_list_head_t::lock, remove_device_item(), RSBAC_ENOTINITIALIZED, and rsbac_is_initialized(). Referenced by rsbac_umount(). |
|
Definition at line 297 of file aci_data_structures.c. |
|
Definition at line 54 of file acl_data_structures.c. Referenced by rsbac_acl_add_to_acl_entry(), rsbac_acl_get_rights(), rsbac_acl_get_single_right(), rsbac_acl_get_tlist(), rsbac_acl_remove_acl_entry(), rsbac_acl_remove_from_acl_entry(), rsbac_acl_remove_subject(), rsbac_acl_set_acl_entry(), and rsbac_init_acl(). |
|
Definition at line 73 of file acl_data_structures.c. Referenced by rsbac_acl_get_rights(), and rsbac_acl_get_single_right(). |
|
Definition at line 53 of file acl_data_structures.c. Referenced by rsbac_acl_add_to_acl_entry(), rsbac_acl_get_rights(), rsbac_acl_get_single_right(), rsbac_acl_get_tlist(), rsbac_acl_remove_acl_entry(), rsbac_acl_remove_from_acl_entry(), rsbac_acl_remove_subject(), rsbac_acl_set_acl_entry(), and rsbac_init_acl(). |
|
Definition at line 72 of file acl_data_structures.c. Referenced by rsbac_acl_get_rights(), and rsbac_acl_get_single_right(). |
|
Definition at line 55 of file acl_data_structures.c. Referenced by rsbac_acl_add_to_acl_entry(), rsbac_acl_get_rights(), rsbac_acl_get_single_right(), rsbac_acl_get_tlist(), rsbac_acl_remove_acl_entry(), rsbac_acl_remove_from_acl_entry(), rsbac_acl_remove_subject(), rsbac_acl_set_acl_entry(), and rsbac_init_acl(). |
|
Definition at line 74 of file acl_data_structures.c. Referenced by rsbac_acl_get_rights(), and rsbac_acl_get_single_right(). |
|
Definition at line 58 of file acl_data_structures.c. Referenced by rsbac_acl_add_to_acl_entry(), rsbac_acl_get_rights(), rsbac_acl_get_single_right(), rsbac_acl_get_tlist(), rsbac_acl_remove_acl_entry(), rsbac_acl_remove_from_acl_entry(), rsbac_acl_remove_subject(), rsbac_acl_set_acl_entry(), and rsbac_init_acl(). |
|
Definition at line 77 of file acl_data_structures.c. Referenced by rsbac_acl_get_rights(), and rsbac_acl_get_single_right(). |
|
Definition at line 56 of file acl_data_structures.c. Referenced by rsbac_acl_add_to_acl_entry(), rsbac_acl_get_rights(), rsbac_acl_get_single_right(), rsbac_acl_get_tlist(), rsbac_acl_remove_acl_entry(), rsbac_acl_remove_from_acl_entry(), rsbac_acl_remove_subject(), rsbac_acl_set_acl_entry(), and rsbac_init_acl(). |
|
Definition at line 75 of file acl_data_structures.c. Referenced by rsbac_acl_get_rights(), and rsbac_acl_get_single_right(). |
|
Definition at line 57 of file acl_data_structures.c. Referenced by rsbac_acl_add_to_acl_entry(), rsbac_acl_get_rights(), rsbac_acl_get_single_right(), rsbac_acl_get_tlist(), rsbac_acl_remove_acl_entry(), rsbac_acl_remove_from_acl_entry(), rsbac_acl_remove_subject(), rsbac_acl_set_acl_entry(), and rsbac_init_acl(). |
|
Definition at line 76 of file acl_data_structures.c. Referenced by rsbac_acl_get_rights(), and rsbac_acl_get_single_right(). |
|
|
|
Definition at line 43 of file acl_data_structures.c. Referenced by rsbac_acl_add_group_member(), rsbac_acl_get_group_members(), rsbac_acl_get_user_groups(), rsbac_acl_group_member(), rsbac_acl_remove_group(), rsbac_acl_remove_group_member(), rsbac_acl_remove_user(), rsbac_check_acl(), rsbac_init_acl(), and rsbac_stats_acl(). |
|
|
Definition at line 70 of file acl_data_structures.c. Referenced by rsbac_acl_add_group(), rsbac_init_acl(), and rsbac_stats_acl(). |
|