/third_party/selinux/libsepol/src/ |
D | link.c | 163 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 …]
|
D | expand.c | 157 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 …]
|
D | policydb.c | 1672 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 …]
|
D | hashtab.c | 104 int hashtab_insert(hashtab_t h, hashtab_key_t key, hashtab_datum_t datum) in hashtab_insert() function
|
D | users.c | 252 if (hashtab_insert(policydb->p_users.table, name, in sepol_user_modify()
|
D | conditional.c | 603 if (hashtab_insert(h, key, booldatum)) in cond_read_bool()
|
/third_party/selinux/libsepol/include/sepol/policydb/ |
D | hashtab.h | 67 extern int hashtab_insert(hashtab_t h, hashtab_key_t k, hashtab_datum_t d);
|
/third_party/selinux/checkpolicy/ |
D | module_compiler.c | 361 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()
|
D | policy_define.c | 519 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/ |
D | cil_strpool.c | 78 rc = hashtab_insert(cil_strpool_tab, 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 | 268 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/ |
D | libsepol.map | 59 "hashtab_insert";
|