/external/selinux/libsepol/include/sepol/policydb/ |
D | hashtab.h | 67 extern int hashtab_insert(hashtab_t h, hashtab_key_t k, hashtab_datum_t d);
|
/external/selinux/policycoreutils/newrole/ |
D | hashtab.h | 69 extern int hashtab_insert(hashtab_t h, hashtab_key_t k, hashtab_datum_t d);
|
D | hashtab.c | 45 int hashtab_insert(hashtab_t h, hashtab_key_t key, hashtab_datum_t datum) in hashtab_insert() function
|
D | newrole.c | 281 ret = hashtab_insert(app_service_names, app, service); in process_pam_config()
|
/external/selinux/semodule-utils/semodule_deps/ |
D | semodule_deps.c | 198 hashtab_insert(mods, in generate_requires() 205 hashtab_insert(reqs, req_name, in generate_requires()
|
/external/selinux/libsepol/src/ |
D | link.c | 162 ret = hashtab_insert(dest_class->permissions.table, in permission_copy_callback() 306 ret = hashtab_insert(state->base->p_classes.table, in class_copy_callback() 394 ret = hashtab_insert(state->base->p_roles.table, in role_copy_callback() 415 if (hashtab_insert in role_copy_callback() 492 ret = hashtab_insert(state->base->p_types.table, in type_copy_callback() 514 if (hashtab_insert in type_copy_callback() 560 ret = hashtab_insert(state->base->p_users.table, in user_copy_callback() 580 if (hashtab_insert in user_copy_callback() 624 ret = hashtab_insert(state->base->p_bools.table, in bool_copy_callback() 912 if (hashtab_insert in alias_copy_callback() [all …]
|
D | expand.c | 126 ret = hashtab_insert(state->out->p_types.table, in type_copy_callback() 215 ret = hashtab_insert(s->table, new_id, (hashtab_datum_t *) new_perm); in perm_copy_callback() 265 hashtab_insert(state->out->p_commons.table, new_id, in common_copy_callback() 460 hashtab_insert(state->out->p_classes.table, new_id, in class_copy_callback() 682 ret = hashtab_insert(state->out->p_types.table, in alias_copy_callback() 844 ret = hashtab_insert(state->out->p_roles.table, in role_copy_callback() 996 ret = hashtab_insert(state->out->p_users.table, in user_copy_callback() 1109 ret = hashtab_insert(state->out->p_bools.table, in bool_copy_callback() 1160 if (hashtab_insert(state->out->p_levels.table, in sens_copy_callback() 1205 if (hashtab_insert(state->out->p_cats.table, in cats_copy_callback() [all …]
|
D | policydb.c | 1609 rc = hashtab_insert(pol->symtab[sym].table, key, datum); in symtab_insert() 1637 hashtab_insert(pol->scope[sym].table, key2, in symtab_insert() 2023 if (hashtab_insert(h, key, perdatum)) in perm_read() 2074 if (hashtab_insert(h, key, comdatum)) in common_read() 2278 if (hashtab_insert(h, key, cladatum)) in class_read() 2357 if (hashtab_insert(h, key, role)) in role_read() 2450 if (hashtab_insert(h, key, typdatum)) in type_read() 2586 rc = hashtab_insert(p->filename_trans, (hashtab_key_t) ft, in filename_trans_read() 3093 if (hashtab_insert(h, key, usrdatum)) in user_read() 3139 if (hashtab_insert(h, key, levdatum)) in sens_read() [all …]
|
D | genusers.c | 115 if (hashtab_insert(policydb->p_users.table,
|
D | hashtab.c | 66 int hashtab_insert(hashtab_t h, hashtab_key_t key, hashtab_datum_t datum) in hashtab_insert() function
|
D | users.c | 257 if (hashtab_insert(policydb->p_users.table, name, in sepol_user_modify()
|
D | conditional.c | 606 if (hashtab_insert(h, key, booldatum)) in cond_read_bool()
|
/external/selinux/libsepol/cil/src/ |
D | cil_strpool.c | 80 int rc = hashtab_insert(cil_strpool_tab, (hashtab_key_t)strpool_ref->str, strpool_ref); in cil_strpool_add()
|
D | cil_symtab.c | 90 int rc = hashtab_insert(symtab->table, key, (hashtab_datum_t)datum); in cil_symtab_insert()
|
D | cil_binary.c | 273 rc = hashtab_insert(sepol_common->permissions.table, key, sepol_perm); in cil_common_to_policydb() 351 rc = hashtab_insert(sepol_class->permissions.table, key, sepol_perm); in cil_classorder_to_policydb() 1188 rc = hashtab_insert(filename_trans_table, (hashtab_key_t)newkey, newdatum); in __cil_typetransition_to_avtab() 1204 rc = hashtab_insert(pdb->filename_trans, in __cil_typetransition_to_avtab() 1748 rc = hashtab_insert(h, (hashtab_key_t)avtab_key, hashtab_xperms); in __cil_avrulex_ioctl_to_hashtable() 2362 rc = hashtab_insert(role_trans_table, (hashtab_key_t)new, &(new->new_role)); in cil_roletrans_to_policydb() 3156 rc = hashtab_insert(range_trans_table, (hashtab_key_t)newkey, newdatum); in cil_rangetransition_to_policydb() 3172 rc = hashtab_insert(pdb->range_tr, in cil_rangetransition_to_policydb()
|
D | android.c | 104 rc = hashtab_insert(args->vers_map, (hashtab_key_t) key, (hashtab_datum_t) datum); in __extract_attributees_helper()
|
/external/selinux/checkpolicy/ |
D | module_compiler.c | 360 ret2 = hashtab_insert(roles_tab, key, dest_role); in declare_role() 593 ret2 = hashtab_insert(users_tab, key, dest_user); in declare_user() 642 if (hashtab_insert(types_tab, id, dest_typdatum)) { in get_local_type() 692 if (hashtab_insert(roles_tab, id, dest_roledatum)) { in get_local_role() 860 hashtab_insert(datum->permissions.table, perm_id, in require_class()
|
D | policy_define.c | 520 ret = hashtab_insert(policydbp->p_commons.table, in define_common_perms() 551 ret = hashtab_insert(comdatum->permissions.table, in define_common_perms() 674 ret = hashtab_insert(cladatum->permissions.table, in define_av_perms() 3360 rc = hashtab_insert(policydbp->filename_trans, in define_filename_trans()
|