Searched refs:p_users (Results 1 – 14 of 14) sorted by relevance
/external/libsepol/src/ |
D | users.c | 137 usrdatum = hashtab_search(policydb->p_users.table, in sepol_user_modify() 232 (policydb->p_users.nprim + in sepol_user_modify() 239 (policydb->p_users.nprim + in sepol_user_modify() 251 usrdatum->s.value = ++policydb->p_users.nprim; in sepol_user_modify() 252 if (hashtab_insert(policydb->p_users.table, name, in sepol_user_modify() 297 *response = (hashtab_search(policydb->p_users.table, in sepol_user_exists() 309 *response = policydb->p_users.nprim; in sepol_user_count() 326 usrdatum = hashtab_search(policydb->p_users.table, in sepol_user_query() 352 unsigned int nusers = policydb->p_users.nprim; in sepol_user_iterate()
|
D | genusers.c | 87 usrdatum = hashtab_search(policydb->p_users.table, q); 112 usrdatum->s.value = ++policydb->p_users.nprim; 114 if (hashtab_insert(policydb->p_users.table,
|
D | context.c | 47 if (!c->user || c->user > p->p_users.nprim) in context_is_valid() 168 usrdatum = (user_datum_t *) hashtab_search(policydb->p_users.table, in context_from_record()
|
D | link.c | 534 base_user = hashtab_search(state->base->p_users.table, id); in user_copy_callback() 551 new_user->s.value = state->base->p_users.nprim + 1; in user_copy_callback() 553 ret = hashtab_insert(state->base->p_users.table, in user_copy_callback() 559 state->base->p_users.nprim++; in user_copy_callback() 574 (state->dest_decl->p_users.table, new_id, new_user)) { in user_copy_callback() 577 state->dest_decl->p_users.nprim++; in user_copy_callback() 815 dest = hashtab_search(state->base->p_users.table, key); in user_bounds_copy_callback() 1209 usertab = &state->base->p_users; in user_fix_callback() 1211 usertab = &state->dest_decl->p_users; in user_fix_callback()
|
D | expand.c | 586 dest = hashtab_search(state->out->p_users.table, (char *)key); in user_bounds_copy_callback() 953 (user_datum_t *) hashtab_search(state->out->p_users.table, id); in user_copy_callback() 962 state->out->p_users.nprim++; in user_copy_callback() 963 new_user->s.value = state->out->p_users.nprim; in user_copy_callback() 972 ret = hashtab_insert(state->out->p_users.table, in user_copy_callback() 2889 state.usermap = (uint32_t *)calloc(state.base->p_users.nprim, sizeof(uint32_t)); in expand_module() 2959 if (hashtab_map(state.base->p_users.table, user_copy_callback, &state)) in expand_module() 2961 if (hashtab_map(state.base->p_users.table, in expand_module() 3001 (decl->p_users.table, user_copy_callback, &state)) in expand_module()
|
D | hierarchy.c | 483 if (hashtab_map(p->p_users.table, check_user_hierarchy_callback, &args)) in hierarchy_check_constraints()
|
D | policydb.c | 855 if (!usrdatum->s.value || usrdatum->s.value > p->p_users.nprim) in user_index() 995 p->p_users.nprim, p->p_roles.nprim, p->p_types.nprim, in policydb_index_others() 1019 malloc(p->p_users.nprim * sizeof(user_datum_t *)); in policydb_index_others() 1048 if (hashtab_map(p->p_users.table, policydb_user_cache, p)) in policydb_index_others() 3856 malloc(p->p_users.nprim * sizeof(user_datum_t *)); in policydb_reindex_users() 3869 if (hashtab_map(p->p_users.table, policydb_user_cache, p)) in policydb_reindex_users()
|
D | services.c | 883 usrdatum = (user_datum_t *) hashtab_search(args->newp->p_users.table, in convert_context() 1308 user = (user_datum_t *) hashtab_search(policydb->p_users.table, in sepol_get_user_sids()
|
D | mls.c | 310 if (!c->user || c->user > p->p_users.nprim) in mls_context_isvalid()
|
/external/libsepol/tests/ |
D | test-expander-users.c | 40 user = (user_datum_t *) hashtab_search(p->p_users.table, user_name); in check_user_roles()
|
/external/libsepol/include/sepol/policydb/ |
D | policydb.h | 480 #define p_users symtab[SYM_USERS] macro
|
/external/checkpolicy/ |
D | module_compiler.c | 447 users_tab = policydbp->p_users.table; in declare_user() 449 users_tab = stack_top->decl->p_users.table; in declare_user()
|
D | policy_define.c | 3027 p_users. in define_cexpr() 3612 usrdatum = (user_datum_t *) hashtab_search(policydbp->p_users.table, in parse_security_context()
|
/external/checkpolicy/test/ |
D | dismod.c | 345 for (i = 0; i < p->p_users.nprim; i++) { in display_users()
|