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); 113 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 | 541 base_user = hashtab_search(state->base->p_users.table, id); in user_copy_callback() 558 new_user->s.value = state->base->p_users.nprim + 1; in user_copy_callback() 560 ret = hashtab_insert(state->base->p_users.table, in user_copy_callback() 566 state->base->p_users.nprim++; in user_copy_callback() 581 (state->dest_decl->p_users.table, new_id, new_user)) { in user_copy_callback() 584 state->dest_decl->p_users.nprim++; in user_copy_callback() 830 dest = hashtab_search(state->base->p_users.table, key); in user_bounds_copy_callback() 1224 usertab = &state->base->p_users; in user_fix_callback() 1226 usertab = &state->dest_decl->p_users; in user_fix_callback()
|
D | expand.c | 680 dest = hashtab_search(state->out->p_users.table, (char *)key); in user_bounds_copy_callback() 1051 (user_datum_t *) hashtab_search(state->out->p_users.table, id); in user_copy_callback() 1060 state->out->p_users.nprim++; in user_copy_callback() 1061 new_user->s.value = state->out->p_users.nprim; in user_copy_callback() 1070 ret = hashtab_insert(state->out->p_users.table, in user_copy_callback() 3004 state.usermap = (uint32_t *)calloc(state.base->p_users.nprim, sizeof(uint32_t)); in expand_module() 3074 if (hashtab_map(state.base->p_users.table, user_copy_callback, &state)) in expand_module() 3076 if (hashtab_map(state.base->p_users.table, in expand_module() 3116 (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 | 897 if (!usrdatum->s.value || usrdatum->s.value > p->p_users.nprim) in user_index() 1037 p->p_users.nprim, p->p_roles.nprim, p->p_types.nprim, in policydb_index_others() 1061 malloc(p->p_users.nprim * sizeof(user_datum_t *)); in policydb_index_others() 1090 if (hashtab_map(p->p_users.table, policydb_user_cache, p)) in policydb_index_others() 3916 malloc(p->p_users.nprim * sizeof(user_datum_t *)); in policydb_reindex_users() 3929 if (hashtab_map(p->p_users.table, policydb_user_cache, p)) in policydb_reindex_users()
|
D | mls.c | 310 if (!c->user || c->user > p->p_users.nprim) in mls_context_isvalid()
|
D | services.c | 1507 usrdatum = (user_datum_t *) hashtab_search(args->newp->p_users.table, in convert_context() 1932 user = (user_datum_t *) hashtab_search(policydb->p_users.table, in sepol_get_user_sids()
|
/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 | 481 #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()
|