#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/auth_data_structures.h>
#include <rsbac/error.h>
#include <rsbac/helpers.h>
#include <rsbac/adf.h>
#include <rsbac/aci.h>
#include <rsbac/auth.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 686 of file auth_data_structures.c. References rsbac_auth_device_list_head_t::count, rsbac_auth_device_list_head_t::curr, rsbac_auth_device_list_head_t::head, rsbac_auth_device_list_item_t::next, NULL, and rsbac_auth_device_list_head_t::tail. |
|
|
|
Definition at line 98 of file auth_data_structures.c. References rsbac_auth_cap_range_t::first, and rsbac_auth_cap_range_t::last. Referenced by auth_register_fd_lists(), and rsbac_init_auth(). |
|
Definition at line 720 of file auth_data_structures.c. References auth_detach_fd_lists(), and rsbac_kfree(). |
|
Definition at line 781 of file auth_data_structures.c. References fd_hash(), rsbac_auth_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_vfree, and T_FILE. Referenced by rsbac_auth_copy_fp_capset(). |
|
Definition at line 1059 of file auth_data_structures.c. References copy_pp_cap_set_item_handle(), and process_handle. Referenced by rsbac_auth_copy_pp_capset(). |
|
Definition at line 1024 of file auth_data_structures.c. References NULL, rsbac_list_lol_get_all_subdesc_ttl(), rsbac_list_lol_remove(), rsbac_list_lol_subadd_ttl(), and rsbac_vfree. Referenced by copy_pp_cap_set_item(). |
|
Definition at line 649 of file auth_data_structures.c. References NULL, RSBAC_AUTH_NR_CAP_EFF_FD_LISTS, RSBAC_AUTH_NR_CAP_FD_LISTS, RSBAC_AUTH_NR_CAP_FS_FD_LISTS, RSBAC_AUTH_NR_CAP_GROUP_EFF_FD_LISTS, RSBAC_AUTH_NR_CAP_GROUP_FD_LISTS, RSBAC_AUTH_NR_CAP_GROUP_FS_FD_LISTS, and rsbac_kmalloc(). |
|
Definition at line 66 of file auth_data_structures.c. References RSBAC_AUTH_NR_CAP_FD_LISTS. |
|
Definition at line 612 of file auth_data_structures.c. References rsbac_auth_device_list_head_t::curr, rsbac_auth_device_list_head_t::head, rsbac_auth_device_list_item_t::id, and rsbac_auth_device_list_item_t::next. |
|
|
|
Definition at line 3326 of file auth_data_structures.c. References ACT_eff, ACT_fs, ACT_group_eff, ACT_group_fs, ACT_group_real, ACT_real, rsbac_auth_cap_range_t::first, rsbac_auth_cap_range_t::last, NULL, RSBAC_EINVALIDTARGET, RSBAC_EINVALIDVALUE, RSBAC_ENOTINITIALIZED, rsbac_is_initialized(), and rsbac_ta_list_lol_subadd_ttl(). Referenced by rsbac_auth_add_p_cap(), and rsbac_replace_auth_cap(). |
|
Definition at line 3633 of file auth_data_structures.c. References ACT_eff, ACT_fs, ACT_group_eff, ACT_group_fs, ACT_group_real, ACT_real, fd_hash(), rsbac_auth_device_list_item_t::handles, rsbac_auth_device_list_head_t::lock, lookup_device(), RSBAC_EINVALIDDEV, RSBAC_EINVALIDTARGET, RSBAC_ENOTINITIALIZED, rsbac_get_super_block(), rsbac_is_initialized(), and rsbac_ta_list_lol_remove(). Referenced by rsbac_auth_remove_f_capsets(). |
|
Definition at line 3593 of file auth_data_structures.c. References ACT_eff, ACT_fs, ACT_group_eff, ACT_group_fs, ACT_group_real, ACT_real, RSBAC_EINVALIDTARGET, RSBAC_ENOTINITIALIZED, rsbac_is_initialized(), and rsbac_ta_list_lol_remove(). Referenced by rsbac_auth_remove_p_capsets(). |
|
Definition at line 4427 of file auth_data_structures.c. References copy_fp_cap_set_item(), rsbac_auth_device_list_head_t::lock, lookup_device(), RSBAC_EINVALIDDEV, RSBAC_ENOTINITIALIZED, rsbac_get_super_block(), and rsbac_is_initialized(). Referenced by rsbac_adf_set_attr_auth(). |
|
Definition at line 4482 of file auth_data_structures.c. References copy_pp_cap_set_item(), RSBAC_ENOTINITIALIZED, and rsbac_is_initialized(). Referenced by rsbac_adf_set_attr_auth(). |
|
Definition at line 4505 of file auth_data_structures.c. Referenced by sys_rsbac_auth_get_f_caplist(). |
|
Definition at line 4616 of file auth_data_structures.c. Referenced by sys_rsbac_auth_get_p_caplist(). |
|
|
Definition at line 4403 of file auth_data_structures.c. References ACT_eff, ACT_fs, ACT_group_eff, ACT_group_fs, ACT_group_real, ACT_real, and rsbac_auth_clear_f_capset(). Referenced by rsbac_adf_set_attr_auth(), and rsbac_ta_remove_target(). |
|
|
Definition at line 3464 of file auth_data_structures.c. References ACT_eff, ACT_fs, ACT_group_eff, ACT_group_fs, ACT_group_real, ACT_real, rsbac_auth_cap_range_t::first, rsbac_auth_cap_range_t::last, RSBAC_EINVALIDTARGET, RSBAC_EINVALIDVALUE, RSBAC_ENOTINITIALIZED, rsbac_is_initialized(), and rsbac_ta_list_lol_subremove(). Referenced by rsbac_auth_remove_p_cap(), and rsbac_replace_auth_cap(). |
|
Definition at line 4383 of file auth_data_structures.c. References ACT_eff, ACT_fs, ACT_group_eff, ACT_group_fs, ACT_group_real, ACT_real, and rsbac_auth_clear_p_capset(). Referenced by rsbac_ta_remove_target(). |
|
|
|
Definition at line 2769 of file auth_data_structures.c. References add_device_item(), auth_register_fd_lists(), clear_device_item(), create_device_item(), get_error_name(), rsbac_auth_device_list_head_t::lock, lookup_device(), rsbac_auth_device_list_item_t::mount_count, RSBAC_ECOULDNOTADDDEVICE, RSBAC_ENOTINITIALIZED, rsbac_is_initialized(), and RSBAC_MAXNAMELEN. Referenced by rsbac_mount(). |
|
|
Definition at line 2891 of file auth_data_structures.c. References rsbac_auth_device_list_head_t::lock, lookup_device(), rsbac_auth_device_list_item_t::mount_count, remove_device_item(), RSBAC_ENOTINITIALIZED, and rsbac_is_initialized(). Referenced by rsbac_umount(). |
|
Definition at line 116 of file auth_data_structures.c. References rsbac_auth_cap_range_t::first, and rsbac_auth_cap_range_t::last. Referenced by rsbac_auth_p_capset_member(). |
|
Definition at line 323 of file aci_data_structures.c. |
|
Definition at line 36 of file auth_data_structures.c. |
|
Definition at line 38 of file auth_data_structures.c. Referenced by copy_fp_cap_set_item(), copy_fp_tru_set_item(), copy_pp_cap_set_item(), and copy_pp_tru_set_item(). |