#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 608 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(), name, 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 753 of file acl_data_structures.c. References acl_detach_fd_lists(), and rsbac_kfree(). |
|
|
Definition at line 702 of file acl_data_structures.c. References NULL, and rsbac_kmalloc(). |
|
Definition at line 427 of file acl_data_structures.c. References common_subconv(), NULL, and RSBAC_ACL_DEF_DEV_OLD_LIST_VERSION. Referenced by rsbac_init_acl(). |
|
Definition at line 416 of file acl_data_structures.c. References common_subconv(), NULL, and RSBAC_ACL_DEF_FD_OLD_LIST_VERSION. Referenced by rsbac_init_acl(). |
|
Definition at line 482 of file acl_data_structures.c. References common_subconv(), NULL, and RSBAC_ACL_DEF_G_OLD_LIST_VERSION. Referenced by rsbac_init_acl(). |
|
Definition at line 438 of file acl_data_structures.c. References common_subconv(), NULL, and RSBAC_ACL_DEF_IPC_OLD_LIST_VERSION. Referenced by rsbac_init_acl(). |
|
Definition at line 493 of file acl_data_structures.c. References common_subconv(), NULL, and RSBAC_ACL_DEF_NETDEV_OLD_LIST_VERSION. Referenced by rsbac_init_acl(). |
|
Definition at line 515 of file acl_data_structures.c. References common_subconv(), NULL, and RSBAC_ACL_DEF_NETOBJ_OLD_LIST_VERSION. Referenced by rsbac_init_acl(). |
|
Definition at line 504 of file acl_data_structures.c. References common_subconv(), NULL, and RSBAC_ACL_DEF_NETTEMP_NT_OLD_LIST_VERSION. Referenced by rsbac_init_acl(). |
|
Definition at line 471 of file acl_data_structures.c. References common_subconv(), NULL, and RSBAC_ACL_DEF_P_OLD_LIST_VERSION. Referenced by rsbac_init_acl(). |
|
Definition at line 449 of file acl_data_structures.c. References common_subconv(), NULL, and RSBAC_ACL_DEF_SCD_OLD_LIST_VERSION. Referenced by rsbac_init_acl(). |
|
Definition at line 460 of file acl_data_structures.c. References common_subconv(), NULL, and RSBAC_ACL_DEF_U_OLD_LIST_VERSION. Referenced by rsbac_init_acl(). |
|
Definition at line 123 of file acl_data_structures.c. |
|
Definition at line 179 of file acl_data_structures.c. References RSBAC_ACL_OLD_SPECIAL_RIGHT_BASE, RSBAC_ACL_SPECIAL_RIGHT_BASE, and RSBAC_ALL_REQUEST_VECTOR. Referenced by dev_get_conv(). |
|
Definition at line 215 of file acl_data_structures.c. References dev_conv(), dev_old_conv(), NULL, RSBAC_ACL_DEV_OLD_LIST_VERSION, and RSBAC_ACL_DEV_OLD_OLD_LIST_VERSION. Referenced by rsbac_init_acl(). |
|
Definition at line 359 of file acl_data_structures.c. References common_subconv(), NULL, RSBAC_ACL_DEV_OLD_LIST_VERSION, and RSBAC_ACL_DEV_OLD_OLD_LIST_VERSION. Referenced by rsbac_init_acl(). |
|
Definition at line 194 of file acl_data_structures.c. References RSBAC_ACL_OLD_SPECIAL_RIGHT_BASE, RSBAC_ACL_SPECIAL_RIGHT_BASE, and RSBAC_ALL_REQUEST_VECTOR. Referenced by dev_get_conv(). |
|
Definition at line 106 of file acl_data_structures.c. References rsbac_acl_entry_desc_t::subj_id, and rsbac_acl_entry_desc_t::subj_type. Referenced by acl_register_fd_lists(), and rsbac_init_acl(). |
|
Definition at line 153 of file acl_data_structures.c. References RSBAC_ACL_OLD_SPECIAL_RIGHT_BASE, RSBAC_ACL_SPECIAL_RIGHT_BASE, and RSBAC_ALL_REQUEST_VECTOR. Referenced by fd_get_conv(). |
|
Definition at line 168 of file acl_data_structures.c. References fd_conv(), NULL, and RSBAC_ACL_FD_OLD_LIST_VERSION. Referenced by acl_register_fd_lists(). |
|
Definition at line 348 of file acl_data_structures.c. References common_subconv(), NULL, and RSBAC_ACL_FD_OLD_LIST_VERSION. Referenced by acl_register_fd_lists(). |
|
|
Definition at line 254 of file acl_data_structures.c. References RSBAC_ACL_OLD_SPECIAL_RIGHT_BASE, RSBAC_ACL_SPECIAL_RIGHT_BASE, and RSBAC_ALL_REQUEST_VECTOR. Referenced by netdev_get_conv(). |
|
Definition at line 269 of file acl_data_structures.c. References netdev_conv(), NULL, and RSBAC_ACL_NETDEV_OLD_LIST_VERSION. Referenced by rsbac_init_acl(). |
|
Definition at line 383 of file acl_data_structures.c. References common_subconv(), NULL, and RSBAC_ACL_NETDEV_OLD_LIST_VERSION. Referenced by rsbac_init_acl(). |
|
Definition at line 306 of file acl_data_structures.c. References RSBAC_ACL_OLD_SPECIAL_RIGHT_BASE, RSBAC_ACL_SPECIAL_RIGHT_BASE, and RSBAC_ALL_REQUEST_VECTOR. Referenced by nettemp_get_conv(). |
|
Definition at line 321 of file acl_data_structures.c. References nettemp_conv(), NULL, and RSBAC_ACL_NETTEMP_OLD_LIST_VERSION. Referenced by rsbac_init_acl(). |
|
Definition at line 405 of file acl_data_structures.c. References common_subconv(), NULL, and RSBAC_ACL_NETTEMP_OLD_LIST_VERSION. Referenced by rsbac_init_acl(). |
|
Definition at line 280 of file acl_data_structures.c. References RSBAC_ACL_OLD_SPECIAL_RIGHT_BASE, RSBAC_ACL_SPECIAL_RIGHT_BASE, and RSBAC_ALL_REQUEST_VECTOR. Referenced by nettemp_nt_get_conv(). |
|
Definition at line 295 of file acl_data_structures.c. References nettemp_nt_conv(), NULL, and RSBAC_ACL_NETTEMP_NT_OLD_LIST_VERSION. Referenced by rsbac_init_acl(). |
|
Definition at line 394 of file acl_data_structures.c. References common_subconv(), NULL, and RSBAC_ACL_NETTEMP_NT_OLD_LIST_VERSION. Referenced by rsbac_init_acl(). |
|
Definition at line 2435 of file acl_data_structures.c. References get_error_name(), rsbac_kfree(), rsbac_kmalloc(), and RSBAC_MAXNAMELEN. |
|
|
Definition at line 9933 of file acl_data_structures.c. References ACLG_NONE, group_last_new, rsbac_acl_group_entry_t::id, rsbac_acl_group_entry_t::name, rsbac_acl_group_entry_t::owner, RSBAC_ACL_GROUP_NAMELEN, RSBAC_ECOULDNOTADDITEM, RSBAC_EEXISTS, RSBAC_EINVALIDPOINTER, RSBAC_EINVALIDVALUE, rsbac_ta_list_add_ttl(), rsbac_ta_list_exist(), and rsbac_acl_group_entry_t::type. Referenced by rsbac_acl_sys_group(). |
|
Definition at line 10090 of file acl_data_structures.c. References NULL, RSBAC_EINVALIDVALUE, rsbac_ta_list_exist(), rsbac_ta_list_lol_add_ttl(), rsbac_ta_list_lol_exist(), and rsbac_ta_list_lol_subadd_ttl(). Referenced by rsbac_acl_sys_group(). |
|
|
Definition at line 9981 of file acl_data_structures.c. References rsbac_acl_group_entry_t::id, rsbac_acl_group_entry_t::name, rsbac_acl_group_entry_t::owner, RSBAC_ACL_GROUP_NAMELEN, RSBAC_EINVALIDPOINTER, RSBAC_EINVALIDVALUE, RSBAC_ENOTFOUND, rsbac_ta_list_add_ttl(), rsbac_ta_list_exist(), and rsbac_acl_group_entry_t::type. Referenced by rsbac_acl_sys_group(). |
|
Definition at line 10029 of file acl_data_structures.c. References NULL, RSBAC_EINVALIDPOINTER, RSBAC_EINVALIDVALUE, and rsbac_ta_list_get_data_ttl(). 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 10157 of file acl_data_structures.c. References NULL, RSBAC_EINVALIDPOINTER, RSBAC_EINVALIDVALUE, rsbac_ta_list_exist(), rsbac_ta_list_lol_get_all_desc(), rsbac_ta_list_lol_get_subdata_ttl(), and rsbac_vfree. Referenced by rsbac_acl_sys_group(). |
|
Definition at line 7767 of file acl_data_structures.c. Referenced by rsbac_acl_sys_get_mask(). |
|
Definition at line 8047 of file acl_data_structures.c. Referenced by rsbac_acl_sys_get_rights(), rsbac_acl_sys_remove_acl_entry(), and rsbac_acl_sys_set_mask(). |
|
|
Definition at line 9594 of file acl_data_structures.c. Referenced by rsbac_acl_sys_get_tlist(). |
|
Definition at line 10143 of file acl_data_structures.c. References rsbac_ta_list_lol_get_all_subdesc_ttl(). Referenced by rsbac_acl_check_right(), rsbac_acl_check_super(), rsbac_acl_sys_get_rights(), and rsbac_acl_sys_group(). |
|
Definition at line 10083 of file acl_data_structures.c. References rsbac_ta_list_exist(), and TRUE. |
|
Definition at line 10135 of file acl_data_structures.c. References rsbac_ta_list_lol_subexist(). |
|
Definition at line 10041 of file acl_data_structures.c. References ACLG_GLOBAL, RSBAC_EINVALIDPOINTER, RSBAC_ENOMEM, rsbac_ta_list_get_all_data(), rsbac_vfree, and rsbac_vmalloc. Referenced by rsbac_acl_sys_group(). |
|
|
|
|
Definition at line 10006 of file acl_data_structures.c. References ACLS_GROUP, rsbac_acl_remove_subject(), RSBAC_EINVALIDVALUE, rsbac_ta_list_lol_subremove_from_all(), rsbac_ta_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 10112 of file acl_data_structures.c. References RSBAC_EINVALIDVALUE, rsbac_ta_list_exist(), rsbac_ta_list_lol_remove(), rsbac_ta_list_lol_subcount(), and rsbac_ta_list_lol_subremove(). Referenced by rsbac_acl_sys_group(). |
|
|
Definition at line 10201 of file acl_data_structures.c. References ACLS_USER, rsbac_acl_remove_subject(), rsbac_ta_list_get_all_data(), rsbac_ta_list_lol_remove(), rsbac_ta_list_lol_subremove_from_all(), rsbac_ta_list_remove(), 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 3510 of file acl_data_structures.c. References acl_lookup_device(), acl_register_fd_lists(), add_device_item(), clear_device_item(), create_device_item(), get_error_name(), rsbac_acl_device_list_head_t::lock, rsbac_acl_device_list_item_t::mount_count, RSBAC_ECOULDNOTADDDEVICE, RSBAC_ENOTINITIALIZED, rsbac_is_initialized(), rsbac_kfree(), rsbac_kmalloc(), and RSBAC_MAXNAMELEN. Referenced by rsbac_mount(). |
|
|
Definition at line 3639 of file acl_data_structures.c. References acl_lookup_device(), rsbac_acl_device_list_head_t::lock, rsbac_acl_device_list_item_t::mount_count, remove_device_item(), RSBAC_ENOTINITIALIZED, and rsbac_is_initialized(). Referenced by rsbac_umount(). |
|
Definition at line 228 of file acl_data_structures.c. References RSBAC_ACL_OLD_SPECIAL_RIGHT_BASE, RSBAC_ACL_SPECIAL_RIGHT_BASE, and RSBAC_ALL_REQUEST_VECTOR. Referenced by scd_get_conv(). |
|
Definition at line 243 of file acl_data_structures.c. References NULL, RSBAC_ACL_SCD_OLD_LIST_VERSION, and scd_conv(). Referenced by rsbac_init_acl(). |
|
Definition at line 372 of file acl_data_structures.c. References common_subconv(), NULL, and RSBAC_ACL_SCD_OLD_LIST_VERSION. Referenced by rsbac_init_acl(). |
|
Definition at line 323 of file aci_data_structures.c. |
|
Definition at line 54 of file acl_data_structures.c. |
|
Definition at line 78 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. |
|
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 55 of file acl_data_structures.c. |
|
Definition at line 79 of file acl_data_structures.c. Referenced by rsbac_acl_get_rights(), and rsbac_acl_get_single_right(). |
|
Definition at line 59 of file acl_data_structures.c. |
|
Definition at line 85 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. |
|
Definition at line 80 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. |
|
Definition at line 81 of file acl_data_structures.c. Referenced by rsbac_acl_get_rights(), and rsbac_acl_get_single_right(). |
|
Definition at line 40 of file acl_data_structures.c. |
|
Definition at line 38 of file acl_data_structures.c. |
|
Definition at line 43 of file acl_data_structures.c. |
|
|
Definition at line 75 of file acl_data_structures.c. Referenced by rsbac_acl_add_group(), rsbac_init_acl(), and rsbac_stats_acl(). |
|
Definition at line 41 of file acl_data_structures.c. |
|
Definition at line 57 of file acl_data_structures.c. |