Home
last modified time | relevance | path

Searched refs:user_datum_t (Results 1 – 18 of 18) sorted by relevance

/third_party/selinux/libsepol/src/
Dusers.c21 user_datum_t *usrdatum = policydb->user_val_to_struct[user_idx]; in user_to_record()
119 user_datum_t *usrdatum = NULL; in sepol_user_modify()
152 usrdatum = (user_datum_t *) malloc(sizeof(user_datum_t)); in sepol_user_modify()
231 1) * sizeof(user_datum_t *)); in sepol_user_modify()
318 user_datum_t *usrdatum = NULL; in sepol_user_query()
Dcontext.c39 user_datum_t *usrdatum; in context_is_valid()
150 user_datum_t *usrdatum; in context_from_record()
168 usrdatum = (user_datum_t *) hashtab_search(policydb->p_users.table, in context_from_record()
Dmls.h64 extern int mls_setup_user_range(context_struct_t * fromcon, user_datum_t * user,
Dhierarchy.c559 user_datum_t *u = (user_datum_t *) d; in bounds_check_user_callback()
560 user_datum_t *up = NULL; in bounds_check_user_callback()
Dpolicydb.c550 void user_datum_init(user_datum_t * x) in user_datum_init()
552 memset(x, 0, sizeof(user_datum_t)); in user_datum_init()
561 void user_datum_destroy(user_datum_t * x) in user_datum_destroy()
950 user_datum_t *user; in policydb_user_cache()
952 user = (user_datum_t *) datum; in policydb_user_cache()
1064 user_datum_t *usrdatum; in user_index()
1066 usrdatum = (user_datum_t *) datum; in user_index()
1244 p->user_val_to_struct = (user_datum_t **) in policydb_index_others()
1245 calloc(p->p_users.nprim, sizeof(user_datum_t *)); in policydb_index_others()
1367 user_datum_destroy((user_datum_t *) datum); in user_destroy()
[all …]
Dlink.c536 user_datum_t *user, *base_user, *new_user = NULL; in user_copy_callback()
539 user = (user_datum_t *) datum; in user_copy_callback()
551 (user_datum_t *) malloc(sizeof(*new_user))) == NULL) { in user_copy_callback()
822 user_datum_t *user = (user_datum_t *) datum; in user_bounds_copy_callback()
823 user_datum_t *dest; in user_bounds_copy_callback()
1205 user_datum_t *user, *new_user = NULL; in user_fix_callback()
1210 user = (user_datum_t *) datum; in user_fix_callback()
Dexpand.c627 user_datum_t *user = (user_datum_t *) datum; in user_bounds_copy_callback()
628 user_datum_t *dest; in user_bounds_copy_callback()
991 user_datum_t *user; in user_copy_callback()
992 user_datum_t *new_user; in user_copy_callback()
997 user = (user_datum_t *) datum; in user_copy_callback()
1009 (user_datum_t *) hashtab_search(state->out->p_users.table, id); in user_copy_callback()
1011 new_user = (user_datum_t *) malloc(sizeof(user_datum_t)); in user_copy_callback()
1016 memset(new_user, 0, sizeof(user_datum_t)); in user_copy_callback()
Dmls.c262 user_datum_t *usrdatum; in mls_context_isvalid()
509 int mls_setup_user_range(context_struct_t * fromcon, user_datum_t * user, in mls_setup_user_range()
Dservices.c1612 user_datum_t *usrdatum; in convert_context()
1623 usrdatum = (user_datum_t *) hashtab_search(args->newp->p_users.table, in convert_context()
2145 user_datum_t *user; in sepol_get_user_sids()
2158 user = (user_datum_t *) hashtab_search(policydb->p_users.table, in sepol_get_user_sids()
Dpolicydb_validate.c293 static int validate_user_datum(sepol_handle_t *handle, user_datum_t *user, validate_t flavors[]) in validate_user_datum()
Dwrite.c1287 user_datum_t *usrdatum; in user_write()
1294 usrdatum = (user_datum_t *) datum; in user_write()
/third_party/selinux/libsepol/tests/
Dtest-expander-users.c34 user_datum_t *user; in check_user_roles()
41 user = (user_datum_t *) hashtab_search(p->p_users.table, user_name); in check_user_roles()
Dtest-common.c104 user_datum_t *d = (user_datum_t *) datum; in user_test_index()
/third_party/selinux/checkpolicy/
Dmodule_compiler.c461 char *user_id, user_datum_t *user) in user_implicit_bounds()
463 user_datum_t *bounds; in user_implicit_bounds()
497 static int create_user(uint32_t scope, user_datum_t **user, char **key) in create_user()
500 user_datum_t *datum = NULL; in create_user()
549 user_datum_t *declare_user(void) in declare_user()
552 user_datum_t *user = NULL; in declare_user()
553 user_datum_t *dest_user = NULL; in declare_user()
958 user_datum_t *user = NULL; in require_user()
Dmodule_compiler.h35 user_datum_t *declare_user(void);
Dpolicy_define.c3730 user_datum_t *user; in define_cexpr()
3814 (user_datum_t *) hashtab_search(policydbp-> in define_cexpr()
4237 user_datum_t *usrdatum; in define_user()
4346 user_datum_t *usrdatum; in parse_security_context()
4392 usrdatum = (user_datum_t *) hashtab_search(policydbp->p_users.table, in parse_security_context()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h214 } user_datum_t; typedef
547 user_datum_t **user_val_to_struct;
692 extern void user_datum_init(user_datum_t * x);
693 extern void user_datum_destroy(user_datum_t * x);
/third_party/selinux/libsepol/cil/src/
Dcil_binary.c79 static int __cil_get_sepol_user_datum(policydb_t *pdb, struct cil_symtab_datum *datum, user_datum_t in __cil_get_sepol_user_datum()
682 user_datum_t *sepol_user = cil_malloc(sizeof(*sepol_user)); in cil_user_to_policydb()
704 user_datum_t *sepol_user = NULL; in cil_user_bounds_to_policydb()
705 user_datum_t *sepol_parent = NULL; in cil_user_bounds_to_policydb()
727 user_datum_t *sepol_user = NULL; in cil_userrole_to_policydb()
2462 user_datum_t *sepol_user = NULL; in __cil_constrain_expr_datum_to_sepol_expr()
3064 user_datum_t *sepol_user = NULL; in cil_userlevel_userrange_to_policydb()
3089 user_datum_t *sepol_user = NULL; in __cil_context_to_sepol_context()
4025 user_datum_t *user = (user_datum_t *)datum; in __cil_user_val_array_insert()
4108 policydb->user_val_to_struct = cil_malloc(sizeof(user_datum_t *) * policydb->p_users.nprim); in __cil_policydb_val_arrays_create()