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()
Dgenusers.c42 user_datum_t *usrdatum;
97 (user_datum_t *) malloc(sizeof(user_datum_t));
104 memset(usrdatum, 0, sizeof(user_datum_t));
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,
Dpolicydb.c407 void user_datum_init(user_datum_t * x) in user_datum_init()
409 memset(x, 0, sizeof(user_datum_t)); in user_datum_init()
418 void user_datum_destroy(user_datum_t * x) in user_datum_destroy()
723 user_datum_t *user; in policydb_user_cache()
725 user = (user_datum_t *) datum; in policydb_user_cache()
829 user_datum_t *usrdatum; in user_index()
831 usrdatum = (user_datum_t *) datum; in user_index()
997 p->user_val_to_struct = (user_datum_t **) in policydb_index_others()
998 malloc(p->p_users.nprim * sizeof(user_datum_t *)); in policydb_index_others()
1131 user_datum_destroy((user_datum_t *) datum); in user_destroy()
[all …]
Dhierarchy.c432 user_datum_t *u, *up; in check_user_hierarchy_callback()
435 u = (user_datum_t *) d; in check_user_hierarchy_callback()
Dexpand.c537 user_datum_t *user = (user_datum_t *) datum; in user_bounds_copy_callback()
538 user_datum_t *dest; in user_bounds_copy_callback()
892 user_datum_t *user; in user_copy_callback()
893 user_datum_t *new_user; in user_copy_callback()
898 user = (user_datum_t *) datum; in user_copy_callback()
910 (user_datum_t *) hashtab_search(state->out->p_users.table, id); in user_copy_callback()
912 new_user = (user_datum_t *) malloc(sizeof(user_datum_t)); in user_copy_callback()
917 memset(new_user, 0, sizeof(user_datum_t)); in user_copy_callback()
Dlink.c494 user_datum_t *user, *base_user, *new_user = NULL; in user_copy_callback()
497 user = (user_datum_t *) datum; in user_copy_callback()
509 (user_datum_t *) malloc(sizeof(*new_user))) == NULL) { in user_copy_callback()
771 user_datum_t *user = (user_datum_t *) datum; in user_bounds_copy_callback()
772 user_datum_t *dest; in user_bounds_copy_callback()
1166 user_datum_t *user, *new_user = NULL; in user_fix_callback()
1171 user = (user_datum_t *) datum; in user_fix_callback()
Dservices.c871 user_datum_t *usrdatum; in convert_context()
882 usrdatum = (user_datum_t *) hashtab_search(args->newp->p_users.table, in convert_context()
1293 user_datum_t *user; in sepol_get_user_sids()
1306 user = (user_datum_t *) hashtab_search(policydb->p_users.table, in sepol_get_user_sids()
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()
Dwrite.c1124 user_datum_t *usrdatum; in user_write()
1131 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.h186 } user_datum_t; typedef
486 user_datum_t **user_val_to_struct;
611 extern void user_datum_init(user_datum_t * x);
612 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.c2836 user_datum_t *user; in define_cexpr()
2920 (user_datum_t *) hashtab_search(policydbp-> in define_cexpr()
3350 user_datum_t *usrdatum; in define_user()
3459 user_datum_t *usrdatum; in parse_security_context()
3499 usrdatum = (user_datum_t *) hashtab_search(policydbp->p_users.table, in parse_security_context()