Home
last modified time | relevance | path

Searched refs:hashtab_insert (Results 1 – 18 of 18) sorted by relevance

/external/selinux/libsepol/include/sepol/policydb/
Dhashtab.h67 extern int hashtab_insert(hashtab_t h, hashtab_key_t k, hashtab_datum_t d);
/external/selinux/policycoreutils/newrole/
Dhashtab.h69 extern int hashtab_insert(hashtab_t h, hashtab_key_t k, hashtab_datum_t d);
Dhashtab.c45 int hashtab_insert(hashtab_t h, hashtab_key_t key, hashtab_datum_t datum) in hashtab_insert() function
Dnewrole.c281 ret = hashtab_insert(app_service_names, app, service); in process_pam_config()
/external/selinux/semodule-utils/semodule_deps/
Dsemodule_deps.c198 hashtab_insert(mods, in generate_requires()
205 hashtab_insert(reqs, req_name, in generate_requires()
/external/selinux/libsepol/src/
Dlink.c162 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 …]
Dexpand.c126 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 …]
Dpolicydb.c1609 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 …]
Dgenusers.c115 if (hashtab_insert(policydb->p_users.table,
Dhashtab.c66 int hashtab_insert(hashtab_t h, hashtab_key_t key, hashtab_datum_t datum) in hashtab_insert() function
Dusers.c257 if (hashtab_insert(policydb->p_users.table, name, in sepol_user_modify()
Dconditional.c606 if (hashtab_insert(h, key, booldatum)) in cond_read_bool()
/external/selinux/libsepol/cil/src/
Dcil_strpool.c80 int rc = hashtab_insert(cil_strpool_tab, (hashtab_key_t)strpool_ref->str, strpool_ref); in cil_strpool_add()
Dcil_symtab.c90 int rc = hashtab_insert(symtab->table, key, (hashtab_datum_t)datum); in cil_symtab_insert()
Dcil_binary.c273 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()
Dandroid.c104 rc = hashtab_insert(args->vers_map, (hashtab_key_t) key, (hashtab_datum_t) datum); in __extract_attributees_helper()
/external/selinux/checkpolicy/
Dmodule_compiler.c360 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()
Dpolicy_define.c520 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()