#include <linux/types.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/init.h>
#include <linux/random.h>
#include <asm/uaccess.h>
#include <rsbac/types.h>
#include <rsbac/aci_data_structures.h>
#include <rsbac/um_types.h>
#include <rsbac/error.h>
#include <rsbac/helpers.h>
#include <rsbac/adf.h>
#include <rsbac/aci.h>
#include <rsbac/um.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>
#include <linux/delay.h>
Go to the source code of this file.
|
Definition at line 41 of file um_data_structures.c. Referenced by rsbac_um_get_gm_user_list(), rsbac_um_get_group_list(), and rsbac_um_get_user_list(). |
|
Definition at line 461 of file um_data_structures.c. Referenced by rsbac_um_hash(). |
|
Definition at line 60 of file um_data_structures.c. References RSBAC_UM_NR_GROUP_LISTS. Referenced by rsbac_um_add_gm(), rsbac_um_add_group(), rsbac_um_add_user(), rsbac_um_get_gm_user_list(), rsbac_um_get_group_item(), rsbac_um_group_exists(), rsbac_um_mod_group(), rsbac_um_mod_user(), rsbac_um_remove_group(), and rsbac_um_set_group_pass(). |
|
Definition at line 198 of file um_data_structures.c. References rsbac_um_group_entry_t::name, and name. Referenced by rsbac_um_get_gid(). |
|
Definition at line 187 of file um_data_structures.c. References rsbac_um_user_entry_t::name, and name. Referenced by rsbac_um_get_uid(). |
|
Definition at line 464 of file um_data_structures.c. Referenced by rsbac_um_add_group(), rsbac_um_add_user(), rsbac_um_mod_group(), rsbac_um_mod_user(), rsbac_um_set_group_pass(), and rsbac_um_set_pass(). |
|
|
Definition at line 392 of file um_data_structures.c. References A_none, rsbac_attribute_value_t::dummy, group_handle, R_GET_STATUS_DATA, rsbac_adf_request(), RSBAC_ENOTINITIALIZED, rsbac_is_initialized(), rsbac_list_count(), rsbac_list_lol_all_subcount(), rsbac_list_lol_count(), rsbac_target_id_t::scd, ST_rsbac, T_SCD, and user_handle. |
|
Definition at line 715 of file um_data_structures.c. References group_handle, group_hash(), NULL, RSBAC_ENOTFOUND, RSBAC_ENOTINITIALIZED, rsbac_is_initialized(), rsbac_ta_list_exist(), rsbac_ta_list_lol_subadd_ttl(), user_handle, and user_hash(). Referenced by sys_rsbac_um_add_gm(). |
|
Definition at line 658 of file um_data_structures.c. References group_handle, group_hash(), rsbac_um_group_entry_t::name, new_salt(), rsbac_um_group_entry_t::pass, RSBAC_EEXISTS, RSBAC_EINVALIDPOINTER, RSBAC_ENOTINITIALIZED, rsbac_is_initialized(), RSBAC_NO_USER, rsbac_ta_list_add_ttl(), rsbac_ta_list_exist(), rsbac_um_get_gid(), rsbac_um_hash(), and RSBAC_UM_PASS_LEN. Referenced by sys_rsbac_um_add_group(). |
|
|
Definition at line 1649 of file um_data_structures.c. References NULL, RSBAC_EEXPIRED, RSBAC_EMUSTCHANGE, RSBAC_ENOMEM, rsbac_kfree(), rsbac_kmalloc(), rsbac_ta_list_lol_get_data_ttl(), user_handle, and user_hash(). Referenced by sys_rsbac_um_check_account(), and sys_rsbac_um_check_account_name(). |
|
Definition at line 1452 of file um_data_structures.c. References NULL, RSBAC_EEXPIRED, RSBAC_EINVALIDPOINTER, RSBAC_ENOMEM, rsbac_kfree(), rsbac_kmalloc(), rsbac_ta_list_lol_get_data_ttl(), rsbac_um_hash(), RSBAC_UM_PASS_LEN, user_handle, and user_hash(). Referenced by sys_rsbac_um_auth_name(), sys_rsbac_um_auth_uid(), and sys_rsbac_um_set_pass(). |
|
Definition at line 562 of file um_data_structures.c. References group_handle, group_name_compare(), RSBAC_EINVALIDPOINTER, RSBAC_ENOTFOUND, and rsbac_ta_list_get_desc(). Referenced by rsbac_um_add_group(), rsbac_um_mod_group(), and sys_rsbac_um_get_gid(). |
|
Definition at line 1329 of file um_data_structures.c. References NULL, rsbac_ta_list_lol_get_all_subdesc_ttl(), rsbac_ta_list_lol_subcount(), user_handle, and user_hash(). Referenced by sys_rsbac_um_get_gm_list(). |
|
Definition at line 1341 of file um_data_structures.c. References EXTRA_ROOM, group_handle, group_hash(), RSBAC_ENOMEM, RSBAC_ENOTFOUND, rsbac_min, rsbac_ta_list_exist(), rsbac_ta_list_lol_count(), rsbac_ta_list_lol_get_all_desc(), rsbac_ta_list_lol_subexist(), rsbac_vfree, rsbac_vmalloc, and user_handle. Referenced by sys_rsbac_um_get_gm_user_list(). |
|
Definition at line 1133 of file um_data_structures.c. References group_handle, group_hash(), NULL, RSBAC_EINVALIDPOINTER, RSBAC_EINVALIDREQUEST, RSBAC_ENOMEM, RSBAC_ENOTFOUND, RSBAC_ENOTINITIALIZED, rsbac_is_initialized(), rsbac_kfree(), rsbac_kmalloc(), rsbac_ta_list_exist(), rsbac_ta_list_get_data_ttl(), RSBAC_UM_PASS_LEN, rsbac_um_mod_data_t::string, rsbac_um_mod_data_t::ttl, UM_name, UM_pass, and UM_ttl. Referenced by sys_rsbac_um_get_group_item(). |
|
Definition at line 1403 of file um_data_structures.c. References EXTRA_ROOM, group_handle, RSBAC_ENOMEM, rsbac_min, rsbac_ta_list_count(), rsbac_ta_list_get_all_desc(), rsbac_vfree, and rsbac_vmalloc. Referenced by sys_rsbac_um_get_group_list(). |
|
Definition at line 1257 of file um_data_structures.c. References NULL, RSBAC_ENOTFOUND, RSBAC_NO_USER, rsbac_ta_list_lol_get_next_desc(), and user_handle. Referenced by sys_rsbac_um_get_next_user(). |
|
Definition at line 541 of file um_data_structures.c. References name_compare(), RSBAC_EINVALIDPOINTER, RSBAC_ENOTFOUND, rsbac_ta_list_lol_get_desc(), and user_handle. Referenced by rsbac_um_add_user(), rsbac_um_mod_user(), sys_rsbac_um_auth_name(), sys_rsbac_um_check_account_name(), sys_rsbac_um_get_uid(), and sys_rsbac_um_set_pass_name(). |
|
Definition at line 1248 of file um_data_structures.c. References rsbac_ta_list_lol_get_data_ttl(), user_handle, and user_hash(). |
|
|
Definition at line 1280 of file um_data_structures.c. References EXTRA_ROOM, RSBAC_ENOMEM, rsbac_min, rsbac_ta_list_lol_count(), rsbac_ta_list_lol_get_all_desc(), rsbac_vfree, rsbac_vmalloc, and user_handle. Referenced by sys_rsbac_um_get_user_list(). |
|
Definition at line 1190 of file um_data_structures.c. References group_handle, group_hash(), and rsbac_ta_list_exist(). Referenced by rsbac_adf_request_int(), and sys_rsbac_um_group_exists(). |
|
Definition at line 471 of file um_data_structures.c. References offset_in_page, RSBAC_ENOMEM, RSBAC_ENOTFOUND, rsbac_kfree(), rsbac_kmalloc(), rsbac_max, and RSBAC_UM_PASS_LEN. Referenced by rsbac_um_add_group(), rsbac_um_add_user(), rsbac_um_check_pass(), rsbac_um_mod_group(), rsbac_um_mod_user(), rsbac_um_set_group_pass(), and rsbac_um_set_pass(). |
|
|
|
Definition at line 1219 of file um_data_structures.c. References RSBAC_ENOTINITIALIZED, rsbac_is_initialized(), rsbac_ta_list_lol_subremove(), user_handle, and user_hash(). Referenced by sys_rsbac_um_remove_gm(). |
|
Definition at line 1206 of file um_data_structures.c. References group_handle, group_hash(), RSBAC_ENOTFOUND, rsbac_ta_list_exist(), rsbac_ta_list_lol_subremove_from_all(), rsbac_ta_list_remove(), and user_handle. Referenced by sys_rsbac_um_remove_group(). |
|
Definition at line 1197 of file um_data_structures.c. References RSBAC_ENOTFOUND, rsbac_ta_list_lol_exist(), rsbac_ta_list_lol_remove(), user_handle, and user_hash(). Referenced by sys_rsbac_um_remove_user(). |
|
Definition at line 1602 of file um_data_structures.c. References group_handle, group_hash(), new_salt(), NULL, RSBAC_ENOMEM, rsbac_kfree(), rsbac_kmalloc(), rsbac_ta_list_add_ttl(), rsbac_ta_list_get_data_ttl(), rsbac_um_hash(), and RSBAC_UM_PASS_LEN. Referenced by sys_rsbac_um_set_group_pass(). |
|
Definition at line 1553 of file um_data_structures.c. References new_salt(), NULL, RSBAC_ENOMEM, rsbac_kfree(), rsbac_kmalloc(), rsbac_ta_list_lol_add_ttl(), rsbac_ta_list_lol_get_data_ttl(), rsbac_um_hash(), RSBAC_UM_PASS_LEN, user_handle, and user_hash(). Referenced by sys_rsbac_um_set_pass(). |
|
Definition at line 1183 of file um_data_structures.c. References rsbac_ta_list_lol_exist(), user_handle, and user_hash(). Referenced by rsbac_adf_request_int(), and sys_rsbac_um_user_exists(). |
|
Definition at line 55 of file um_data_structures.c. References RSBAC_UM_NR_USER_LISTS. Referenced by rsbac_um_add_gm(), rsbac_um_add_user(), rsbac_um_check_account(), rsbac_um_check_pass(), rsbac_um_get_gm_list(), rsbac_um_get_user_entry(), rsbac_um_get_user_item(), rsbac_um_mod_user(), rsbac_um_remove_gm(), rsbac_um_remove_user(), rsbac_um_set_pass(), and rsbac_um_user_exists(). |
|
Definition at line 39 of file um_data_structures.c. |
|