Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/src/
Dlink.c163 ret = hashtab_insert(dest_class->permissions.table, in permission_copy_callback()
308 ret = hashtab_insert(state->base->p_classes.table, in class_copy_callback()
396 ret = hashtab_insert(state->base->p_roles.table, in role_copy_callback()
417 if (hashtab_insert in role_copy_callback()
494 ret = hashtab_insert(state->base->p_types.table, in type_copy_callback()
516 if (hashtab_insert in type_copy_callback()
562 ret = hashtab_insert(state->base->p_users.table, in user_copy_callback()
582 if (hashtab_insert in user_copy_callback()
626 ret = hashtab_insert(state->base->p_bools.table, in bool_copy_callback()
914 if (hashtab_insert in alias_copy_callback()
[all …]
Dexpand.c157 ret = hashtab_insert(state->out->p_types.table, in type_copy_callback()
246 ret = hashtab_insert(s->table, new_id, (hashtab_datum_t) new_perm); in perm_copy_callback()
296 hashtab_insert(state->out->p_commons.table, new_id, in common_copy_callback()
494 hashtab_insert(state->out->p_classes.table, new_id, in class_copy_callback()
716 ret = hashtab_insert(state->out->p_types.table, in alias_copy_callback()
876 ret = hashtab_insert(state->out->p_roles.table, in role_copy_callback()
1032 ret = hashtab_insert(state->out->p_users.table, in user_copy_callback()
1145 ret = hashtab_insert(state->out->p_bools.table, in bool_copy_callback()
1196 if (hashtab_insert(state->out->p_levels.table, in sens_copy_callback()
1241 if (hashtab_insert(state->out->p_cats.table, in cats_copy_callback()
[all …]
Dpolicydb.c1672 rc = hashtab_insert(pol->symtab[sym].table, key, datum); in symtab_insert()
1700 hashtab_insert(pol->scope[sym].table, key2, in symtab_insert()
2083 if (hashtab_insert(h, key, perdatum)) in perm_read()
2136 if (hashtab_insert(h, key, comdatum)) in common_read()
2342 if (hashtab_insert(h, key, cladatum)) in class_read()
2421 if (hashtab_insert(h, key, role)) in role_read()
2514 if (hashtab_insert(h, key, typdatum)) in type_read()
2660 if (hashtab_insert(p->filename_trans, (hashtab_key_t)ft, in policydb_filetrans_insert()
2826 rc = hashtab_insert(p->filename_trans, (hashtab_key_t)ft, in filename_trans_read_one()
3404 if (hashtab_insert(h, key, usrdatum)) in user_read()
[all …]
Dhashtab.c104 int hashtab_insert(hashtab_t h, hashtab_key_t key, hashtab_datum_t datum) in hashtab_insert() function
Dusers.c252 if (hashtab_insert(policydb->p_users.table, name, in sepol_user_modify()
Dconditional.c603 if (hashtab_insert(h, key, booldatum)) in cond_read_bool()
/third_party/selinux/libsepol/include/sepol/policydb/
Dhashtab.h67 extern int hashtab_insert(hashtab_t h, hashtab_key_t k, hashtab_datum_t d);
/third_party/selinux/checkpolicy/
Dmodule_compiler.c361 ret2 = hashtab_insert(roles_tab, key, dest_role); in declare_role()
594 ret2 = hashtab_insert(users_tab, key, dest_user); in declare_user()
643 if (hashtab_insert(types_tab, id, dest_typdatum)) { in get_local_type()
693 if (hashtab_insert(roles_tab, id, dest_roledatum)) { in get_local_role()
870 hashtab_insert(datum->permissions.table, perm_id, in require_class()
Dpolicy_define.c519 ret = hashtab_insert(policydbp->p_commons.table, in define_common_perms()
550 ret = hashtab_insert(comdatum->permissions.table, in define_common_perms()
673 ret = hashtab_insert(cladatum->permissions.table, in define_av_perms()
/third_party/selinux/libsepol/cil/src/
Dcil_strpool.c78 rc = hashtab_insert(cil_strpool_tab, 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.c268 rc = hashtab_insert(sepol_common->permissions.table, key, sepol_perm); in cil_common_to_policydb()
346 rc = hashtab_insert(sepol_class->permissions.table, key, sepol_perm); in cil_classorder_to_policydb()
1790 rc = hashtab_insert(h, (hashtab_key_t)avtab_key, hashtab_xperms); in __cil_avrulex_ioctl_to_hashtable()
2460 rc = hashtab_insert(role_trans_table, (hashtab_key_t)new, &(new->new_role)); in cil_roletrans_to_policydb()
3295 rc = hashtab_insert(pdb->range_tr, (hashtab_key_t)newkey, newdatum); in cil_rangetransition_to_policydb()
/third_party/selinux/
Dlibsepol.map59 "hashtab_insert";