Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/src/
Dpolicydb_validate.c1103 static int validate_filename_trans_hashtab(sepol_handle_t *handle, hashtab_t filename_trans, valida… in validate_filename_trans_hashtab() argument
1105 if (hashtab_map(filename_trans, validate_filename_trans, flavors)) { in validate_filename_trans_hashtab()
1280 …ame_trans_rules(sepol_handle_t *handle, const filename_trans_rule_t *filename_trans, const policyd… in validate_filename_trans_rules() argument
1282 for (; filename_trans; filename_trans = filename_trans->next) { in validate_filename_trans_rules()
1283 if (validate_type_set(&filename_trans->stypes, &flavors[SYM_TYPES])) in validate_filename_trans_rules()
1285 if (validate_type_set(&filename_trans->ttypes, &flavors[SYM_TYPES])) in validate_filename_trans_rules()
1287 if (validate_value(filename_trans->tclass,&flavors[SYM_CLASSES] )) in validate_filename_trans_rules()
1289 if (validate_simpletype(filename_trans->otype, p, flavors)) in validate_filename_trans_rules()
1293 if ((filename_trans->flags & ~RULE_SELF) != 0) in validate_filename_trans_rules()
1513 if (validate_filename_trans_hashtab(handle, p->filename_trans, flavors)) in policydb_validate()
Dpolicydb.c912 p->filename_trans = hashtab_create(filenametr_hash, filenametr_cmp, (1 << 10)); in policydb_init()
913 if (!p->filename_trans) { in policydb_init()
929 hashtab_destroy(p->filename_trans); in policydb_init()
1567 hashtab_map(p->filename_trans, filenametr_destroy, NULL); in policydb_destroy()
1568 hashtab_destroy(p->filename_trans); in policydb_destroy()
2612 datum = hashtab_search(p->filename_trans, (hashtab_key_t)&key); in policydb_filetrans_insert()
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()
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()
2376 if (p->filename_trans) in policydb_write()
Dkernel_to_conf.c1899 rc = hashtab_map(pdb->filename_trans, map_filename_trans_to_str, &args); in write_filename_trans_rules_to_conf()
Dkernel_to_cil.c1923 rc = hashtab_map(pdb->filename_trans, map_filename_trans_to_str, &args); in write_filename_trans_rules_to_cil()
/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.h595 hashtab_t filename_trans; member
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h54239 struct hashtab filename_trans; member