Home
last modified time | relevance | path

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

/external/libsepol/src/
Dusers.c21 user_datum_t *usrdatum = policydb->user_val_to_struct[user_idx]; in user_to_record()
116 user_datum_t *usrdatum = NULL; in sepol_user_modify()
150 usrdatum = (user_datum_t *) malloc(sizeof(user_datum_t)); in sepol_user_modify()
233 1) * sizeof(user_datum_t *)); in sepol_user_modify()
321 user_datum_t *usrdatum = NULL; in sepol_user_query()
Dcontext.c38 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,
Dgenusers.c42 user_datum_t *usrdatum;
103 usrdatum = malloc(sizeof(user_datum_t));
Dpolicydb.c470 void user_datum_init(user_datum_t * x) in user_datum_init()
472 memset(x, 0, sizeof(user_datum_t)); in user_datum_init()
481 void user_datum_destroy(user_datum_t * x) in user_datum_destroy()
786 user_datum_t *user; in policydb_user_cache()
788 user = (user_datum_t *) datum; in policydb_user_cache()
892 user_datum_t *usrdatum; in user_index()
894 usrdatum = (user_datum_t *) datum; in user_index()
1060 p->user_val_to_struct = (user_datum_t **) in policydb_index_others()
1061 malloc(p->p_users.nprim * sizeof(user_datum_t *)); in policydb_index_others()
1194 user_datum_destroy((user_datum_t *) datum); in user_destroy()
[all …]
Dhierarchy.c433 user_datum_t *u, *up; in check_user_hierarchy_callback()
436 u = (user_datum_t *) d; in check_user_hierarchy_callback()
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()
821 user_datum_t *user = (user_datum_t *) datum; in user_bounds_copy_callback()
822 user_datum_t *dest; in user_bounds_copy_callback()
1216 user_datum_t *user, *new_user = NULL; in user_fix_callback()
1221 user = (user_datum_t *) datum; in user_fix_callback()
Dexpand.c668 user_datum_t *user = (user_datum_t *) datum; in user_bounds_copy_callback()
669 user_datum_t *dest; in user_bounds_copy_callback()
1033 user_datum_t *user; in user_copy_callback()
1034 user_datum_t *new_user; in user_copy_callback()
1039 user = (user_datum_t *) datum; in user_copy_callback()
1051 (user_datum_t *) hashtab_search(state->out->p_users.table, id); in user_copy_callback()
1053 new_user = (user_datum_t *) malloc(sizeof(user_datum_t)); in user_copy_callback()
1058 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.c1496 user_datum_t *usrdatum; in convert_context()
1507 usrdatum = (user_datum_t *) hashtab_search(args->newp->p_users.table, in convert_context()
1919 user_datum_t *user; in sepol_get_user_sids()
1932 user = (user_datum_t *) hashtab_search(policydb->p_users.table, in sepol_get_user_sids()
Dwrite.c1149 user_datum_t *usrdatum; in user_write()
1156 usrdatum = (user_datum_t *) datum; in user_write()
/external/libsepol/tests/
Dtest-expander-users.c33 user_datum_t *user; in check_user_roles()
40 user = (user_datum_t *) hashtab_search(p->p_users.table, user_name); in check_user_roles()
Dtest-common.c102 user_datum_t *d = (user_datum_t *) datum; in user_test_index()
/external/libsepol/include/sepol/policydb/
Dpolicydb.h200 } user_datum_t; typedef
500 user_datum_t **user_val_to_struct;
625 extern void user_datum_init(user_datum_t * x);
626 extern void user_datum_destroy(user_datum_t * x);
/external/checkpolicy/
Dmodule_compiler.c371 char *user_id, user_datum_t *user) in user_implicit_bounds()
373 user_datum_t *bounds; in user_implicit_bounds()
407 user_datum_t *declare_user(void) in declare_user()
410 user_datum_t *user = NULL, *dest_user = NULL; in declare_user()
418 if ((user = (user_datum_t *) malloc(sizeof(*user))) == NULL) { in declare_user()
451 dest_user = (user_datum_t *) hashtab_search(users_tab, dest_id); in declare_user()
454 (user_datum_t *) malloc(sizeof(*dest_user))) == in declare_user()
1000 user_datum_t *user = NULL; in require_user()
Dmodule_compiler.h35 user_datum_t *declare_user(void);
Dpolicy_define.c2942 user_datum_t *user; in define_cexpr()
3026 (user_datum_t *) hashtab_search(policydbp-> in define_cexpr()
3457 user_datum_t *usrdatum; in define_user()
3566 user_datum_t *usrdatum; in parse_security_context()
3612 usrdatum = (user_datum_t *) hashtab_search(policydbp->p_users.table, in parse_security_context()