Searched refs:user_datum_t (Results 1 – 17 of 17) sorted by relevance
/external/libsepol/src/ |
D | users.c | 21 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()
|
D | genusers.c | 42 user_datum_t *usrdatum; 97 (user_datum_t *) malloc(sizeof(user_datum_t)); 104 memset(usrdatum, 0, sizeof(user_datum_t));
|
D | context.c | 38 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()
|
D | mls.h | 64 extern int mls_setup_user_range(context_struct_t * fromcon, user_datum_t * user,
|
D | policydb.c | 407 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 …]
|
D | hierarchy.c | 432 user_datum_t *u, *up; in check_user_hierarchy_callback() 435 u = (user_datum_t *) d; in check_user_hierarchy_callback()
|
D | expand.c | 537 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()
|
D | link.c | 494 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()
|
D | services.c | 871 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()
|
D | mls.c | 262 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()
|
D | write.c | 1124 user_datum_t *usrdatum; in user_write() 1131 usrdatum = (user_datum_t *) datum; in user_write()
|
/external/libsepol/tests/ |
D | test-expander-users.c | 33 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()
|
D | test-common.c | 102 user_datum_t *d = (user_datum_t *) datum; in user_test_index()
|
/external/libsepol/include/sepol/policydb/ |
D | policydb.h | 186 } 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/ |
D | module_compiler.c | 371 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()
|
D | module_compiler.h | 35 user_datum_t *declare_user(void);
|
D | policy_define.c | 2836 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()
|