#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/mac_data_structures.h>
#include <rsbac/error.h>
#include <rsbac/helpers.h>
#include <rsbac/adf.h>
#include <rsbac/aci.h>
#include <rsbac/lists.h>
#include <rsbac/proc_fs.h>
#include <rsbac/rkmem.h>
#include <rsbac/getname.h>
#include <linux/string.h>
#include <linux/smp_lock.h>
Go to the source code of this file.
|
|
Definition at line 266 of file mac_data_structures.c. References mac_detach_fd_lists(), and rsbac_kfree(). Referenced by remove_device_item(), rsbac_do_init(), rsbac_mount(), rsbac_mount_acl(), rsbac_mount_auth(), and rsbac_mount_mac(). |
|
Definition at line 327 of file mac_data_structures.c. References fd_hash(), rsbac_mac_device_list_item_t::handles, NULL, process_handle, RSBAC_ENOTFOUND, rsbac_get_parent(), rsbac_list_lol_get_all_subdesc_ttl(), rsbac_list_lol_remove(), rsbac_list_lol_subadd_ttl(), rsbac_mac_file_t, rsbac_pid_t, rsbac_target_t, rsbac_time_t, rsbac_uid_t, rsbac_vfree, and T_FILE. Referenced by rsbac_mac_copy_fp_truset(). |
|
Definition at line 416 of file mac_data_structures.c. References copy_pp_tru_set_item_handle(), process_handle, and rsbac_pid_t. Referenced by rsbac_mac_copy_pp_truset(). |
|
Definition at line 381 of file mac_data_structures.c. References NULL, rsbac_list_handle_t, rsbac_list_lol_get_all_subdesc_ttl(), rsbac_list_lol_remove(), rsbac_list_lol_subadd_ttl(), rsbac_pid_t, rsbac_time_t, rsbac_uid_t, and rsbac_vfree. Referenced by copy_pp_tru_set_item(). |
|
Definition at line 211 of file mac_data_structures.c. References rsbac_mac_device_list_item_t::id, NULL, rsbac_kmalloc(), and RSBAC_MAC_NR_TRU_FD_LISTS. Referenced by rsbac_do_init(), rsbac_init_acl(), rsbac_init_auth(), rsbac_init_mac(), rsbac_mount(), rsbac_mount_acl(), rsbac_mount_auth(), and rsbac_mount_mac(). |
|
|
|
Definition at line 125 of file mac_data_structures.c. References get_error_name(), rsbac_mac_device_list_item_t::handles, rsbac_mac_device_list_item_t::id, inttostr(), RSBAC_EINVALIDPOINTER, RSBAC_ENOMEM, rsbac_kfree(), rsbac_kmalloc(), rsbac_list_lol_detach(), RSBAC_MAC_FD_FILENAME, RSBAC_MAC_LIST_KEY, RSBAC_MAC_NR_TRU_FD_LISTS, and RSBAC_MAXNAMELEN. Referenced by clear_device_item(). |
|
|
Definition at line 277 of file mac_data_structures.c. References clear_device_item(), rsbac_mac_device_list_head_t::count, rsbac_mac_device_list_head_t::curr, device_list_head, rsbac_mac_device_list_head_t::head, lookup_device(), rsbac_mac_device_list_item_t::next, NULL, rsbac_mac_device_list_item_t::prev, and rsbac_mac_device_list_head_t::tail. Referenced by rsbac_umount(), rsbac_umount_acl(), rsbac_umount_auth(), and rsbac_umount_mac(). |
|
Definition at line 1245 of file mac_data_structures.c. References rsbac_mac_device_list_head_t::count, device_list_head, rsbac_mac_device_list_head_t::head, rsbac_mac_device_list_head_t::lock, NULL, RSBAC_ENOTINITIALIZED, rsbac_get_super_block(), rsbac_inode_nr_t, rsbac_is_initialized(), rsbac_list_lol_get_all_desc(), rsbac_list_lol_remove(), RSBAC_MAC_NR_TRU_FD_LISTS, and rsbac_vfree. Referenced by sys_rsbac_check(). |
|
|
Definition at line 1548 of file mac_data_structures.c. References device_list_head, fd_hash(), rsbac_mac_device_list_head_t::lock, lookup_device(), NULL, RSBAC_EINVALIDDEV, RSBAC_ENOTINITIALIZED, rsbac_get_super_block(), rsbac_is_initialized(), rsbac_list_lol_subadd_ttl(), rsbac_mac_file_t, rsbac_time_t, and rsbac_uid_t. Referenced by rsbac_mac_add_f_tru(). |
|
Definition at line 1532 of file mac_data_structures.c. References NULL, process_handle, RSBAC_ENOTINITIALIZED, rsbac_is_initialized(), rsbac_list_lol_subadd_ttl(), rsbac_pid_t, rsbac_time_t, and rsbac_uid_t. Referenced by rsbac_mac_add_p_tru(). |
|
Definition at line 1686 of file mac_data_structures.c. References device_list_head, fd_hash(), rsbac_mac_device_list_head_t::lock, lookup_device(), RSBAC_EINVALIDDEV, RSBAC_ENOTINITIALIZED, rsbac_get_super_block(), rsbac_is_initialized(), rsbac_list_lol_remove(), and rsbac_mac_file_t. Referenced by rsbac_mac_remove_f_trusets(). |
|
Definition at line 1672 of file mac_data_structures.c. References process_handle, RSBAC_ENOTINITIALIZED, rsbac_is_initialized(), rsbac_list_lol_remove(), and rsbac_pid_t. Referenced by rsbac_mac_remove_p_trusets(). |
|
Definition at line 1767 of file mac_data_structures.c. References copy_fp_tru_set_item(), device_list_head, rsbac_mac_device_list_head_t::lock, lookup_device(), RSBAC_EINVALIDDEV, RSBAC_ENOTINITIALIZED, rsbac_get_super_block(), rsbac_is_initialized(), rsbac_mac_file_t, and rsbac_pid_t. Referenced by rsbac_adf_set_attr_mac(). |
|
Definition at line 1822 of file mac_data_structures.c. References copy_pp_tru_set_item(), RSBAC_ENOTINITIALIZED, rsbac_is_initialized(), and rsbac_pid_t. Referenced by rsbac_adf_set_attr_mac(). |
|
Definition at line 1845 of file mac_data_structures.c. |
|
Definition at line 1903 of file mac_data_structures.c. |
|
Definition at line 1735 of file mac_data_structures.c. References FALSE, process_handle, RSBAC_ALL_USERS, rsbac_is_initialized(), rsbac_list_lol_subexist(), rsbac_pid_t, rsbac_uid_t, and TRUE. Referenced by rsbac_adf_set_attr_mac(). |
|
Definition at line 1762 of file mac_data_structures.c. References rsbac_mac_clear_f_truset(), and rsbac_mac_file_t. Referenced by rsbac_remove_target(). |
|
Definition at line 1618 of file mac_data_structures.c. References device_list_head, fd_hash(), rsbac_mac_device_list_head_t::lock, lookup_device(), RSBAC_EINVALIDDEV, RSBAC_ENOTINITIALIZED, rsbac_get_super_block(), rsbac_is_initialized(), rsbac_list_lol_subremove(), rsbac_mac_file_t, and rsbac_uid_t. Referenced by rsbac_mac_remove_f_tru(). |
|
Definition at line 1603 of file mac_data_structures.c. References process_handle, RSBAC_ENOTINITIALIZED, rsbac_is_initialized(), rsbac_list_lol_subremove(), rsbac_pid_t, and rsbac_uid_t. Referenced by rsbac_mac_remove_p_tru(). |
|
Definition at line 1757 of file mac_data_structures.c. References rsbac_mac_clear_p_truset(), and rsbac_pid_t. Referenced by rsbac_remove_target(). |
|
Definition at line 975 of file mac_data_structures.c. References add_device_item(), clear_device_item(), create_device_item(), device_list_head, get_error_name(), rsbac_mac_device_list_head_t::lock, lookup_device(), mac_register_fd_lists(), RSBAC_ECOULDNOTADDDEVICE, RSBAC_ENOTINITIALIZED, rsbac_is_initialized(), and RSBAC_MAXNAMELEN. Referenced by rsbac_mount(). |
|
|
Definition at line 1097 of file mac_data_structures.c. References device_list_head, rsbac_mac_device_list_head_t::lock, lookup_device(), remove_device_item(), RSBAC_ENOTINITIALIZED, and rsbac_is_initialized(). Referenced by rsbac_umount(). |
|
Definition at line 297 of file aci_data_structures.c. References FALSE, rsbac_debug_no_write, SOCKFS_MAGIC, SYSFS_MAGIC, and TRUE. Referenced by lookup_aci_path_dentry(), and rsbac_write_open(). |
|
|
Definition at line 35 of file mac_data_structures.c. Referenced by copy_fp_tru_set_item(), copy_pp_tru_set_item(), rsbac_init_mac(), rsbac_mac_add_to_p_truset(), rsbac_mac_clear_p_truset(), rsbac_mac_get_p_trulist(), rsbac_mac_p_truset_member(), rsbac_mac_remove_from_p_truset(), and rsbac_stats_mac(). |