Home
last modified time | relevance | path

Searched refs:filename_trans (Results 1 – 7 of 7) sorted by relevance

/third_party/selinux/libsepol/src/
Dpolicydb_validate.c552 static int validate_filename_trans_hashtab(sepol_handle_t *handle, hashtab_t filename_trans, valida… in validate_filename_trans_hashtab() argument
554 if (hashtab_map(filename_trans, validate_filename_trans, flavors)) { in validate_filename_trans_hashtab()
649 …_filename_trans_rules(sepol_handle_t *handle, filename_trans_rule_t *filename_trans, validate_t fl… in validate_filename_trans_rules() argument
651 for (; filename_trans; filename_trans = filename_trans->next) { in validate_filename_trans_rules()
652 if (validate_type_set(&filename_trans->stypes, &flavors[SYM_TYPES])) in validate_filename_trans_rules()
654 if (validate_type_set(&filename_trans->ttypes, &flavors[SYM_TYPES])) in validate_filename_trans_rules()
656 if (validate_value(filename_trans->tclass,&flavors[SYM_CLASSES] )) in validate_filename_trans_rules()
658 if (validate_value(filename_trans->otype, &flavors[SYM_TYPES])) in validate_filename_trans_rules()
755 if (validate_filename_trans_hashtab(handle, p->filename_trans, flavors)) in validate_policydb()
Dpolicydb.c900 p->filename_trans = hashtab_create(filenametr_hash, filenametr_cmp, (1 << 10)); in policydb_init()
901 if (!p->filename_trans) { in policydb_init()
917 hashtab_destroy(p->filename_trans); in policydb_init()
1554 hashtab_map(p->filename_trans, filenametr_destroy, NULL); in policydb_destroy()
1555 hashtab_destroy(p->filename_trans); in policydb_destroy()
2595 datum = hashtab_search(p->filename_trans, (hashtab_key_t)&key); in policydb_filetrans_insert()
2643 if (hashtab_insert(p->filename_trans, (hashtab_key_t)ft, in policydb_filetrans_insert()
2806 rc = hashtab_insert(p->filename_trans, (hashtab_key_t)ft, in filename_trans_read_one()
Dwrite.c671 rc = hashtab_map(p->filename_trans, filename_write_one_compat, in filename_trans_write()
674 buf[0] = cpu_to_le32(p->filename_trans->nel); in filename_trans_write()
679 rc = hashtab_map(p->filename_trans, filename_write_one, fp); in filename_trans_write()
2354 if (p->filename_trans) in policydb_write()
Dkernel_to_cil.c1897 rc = hashtab_map(pdb->filename_trans, map_filename_trans_to_str, &args); in write_filename_trans_rules_to_cil()
Dkernel_to_conf.c1878 rc = hashtab_map(pdb->filename_trans, map_filename_trans_to_str, &args); in write_filename_trans_rules_to_conf()
/third_party/selinux/checkpolicy/test/
Ddispol.c368 hashtab_map(p->filename_trans, filenametr_display, &args); in display_filename_trans()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h594 hashtab_t filename_trans; member