Lines Matching refs:tgt

976 int __cil_insert_type_rule(policydb_t *pdb, uint32_t kind, uint32_t src, uint32_t tgt, uint32_t obj…  in __cil_insert_type_rule()  argument
984 avtab_key.target_type = tgt; in __cil_insert_type_rule()
1072 rc = __cil_expand_type(cil_rule->tgt, &tgt_bitmap); in __cil_type_rule_to_avtab()
1136 trans.tgt = typetrans->tgt; in __cil_typetransition_to_avtab()
1145 rc = __cil_expand_type(typetrans->tgt, &tgt_bitmap); in __cil_typetransition_to_avtab()
1271 int __cil_insert_avrule(policydb_t *pdb, uint32_t kind, uint32_t src, uint32_t tgt, uint32_t obj, u… in __cil_insert_avrule() argument
1279 avtab_key.target_type = tgt; in __cil_insert_avrule()
1318 …pdb, uint16_t kind, struct cil_symtab_datum *src, struct cil_symtab_datum *tgt, struct cil_classpe… in __cil_avrule_expand_helper() argument
1344 rc = __cil_get_sepol_type_datum(pdb, tgt, &sepol_tgt); in __cil_avrule_expand_helper()
1359 …pdb, uint16_t kind, struct cil_symtab_datum *src, struct cil_symtab_datum *tgt, struct cil_list *c… in __cil_avrule_expand() argument
1368 rc = __cil_avrule_expand_helper(pdb, kind, src, tgt, cp, cond_node, cond_flavor); in __cil_avrule_expand()
1376 rc = __cil_avrule_expand(pdb, kind, src, tgt, cmp->classperms, cond_node, cond_flavor); in __cil_avrule_expand()
1385 rc = __cil_avrule_expand(pdb, kind, src, tgt, cp->classperms, cond_node, cond_flavor); in __cil_avrule_expand()
1403 struct cil_symtab_datum *tgt = NULL; in __cil_avrule_to_avtab() local
1413 tgt = cil_avrule->tgt; in __cil_avrule_to_avtab()
1415 if (tgt->fqn == CIL_KEY_SELF) { in __cil_avrule_to_avtab()
1435 rc = __cil_avrule_expand(pdb, kind, src, tgt, classperms, cond_node, cond_flavor); in __cil_avrule_to_avtab()
1610 int __cil_avrulex_ioctl_to_hashtable(hashtab_t h, uint16_t kind, uint32_t src, uint32_t tgt, uint32… in __cil_avrulex_ioctl_to_hashtable() argument
1634 avtab_key->target_type = tgt; in __cil_avrulex_ioctl_to_hashtable()
1665 …pdb, uint16_t kind, struct cil_symtab_datum *src, struct cil_symtab_datum *tgt, struct cil_permiss… in __cil_avrulex_to_hashtable_helper() argument
1677 rc = __cil_get_sepol_type_datum(pdb, tgt, &sepol_tgt); in __cil_avrulex_to_hashtable_helper()
1710 struct cil_symtab_datum *tgt = NULL; in cil_avrulex_to_hashtable() local
1725 tgt = cil_avrulex->tgt; in cil_avrulex_to_hashtable()
1727 if (tgt->fqn == CIL_KEY_SELF) { in cil_avrulex_to_hashtable()
1741 rc = __cil_avrulex_to_hashtable_helper(pdb, kind, src, tgt, cil_avrulex->perms.x.permx, args); in cil_avrulex_to_hashtable()
2164 rc = __cil_expand_type(roletrans->tgt, &type_bitmap); in cil_roletrans_to_policydb()
2247 rc = __cil_expand_role(roleallow->tgt, &tgt_bitmap); in cil_roleallow_to_policydb()
4319 cil_log(CIL_ERR,"%s %s ", DATUM(avrule->src)->fqn, DATUM(avrule->tgt)->fqn); in __cil_print_rule()
4348 target.tgt = cil_rule->tgt; in __cil_print_neverallow_failure()
4388 struct cil_symtab_datum *tgt = cil_rule->tgt; in cil_check_neverallow() local
4408 if (tgt->fqn == CIL_KEY_SELF) { in cil_check_neverallow()
4411 rc = __cil_add_sepol_type(pdb, db, cil_rule->tgt, &rule->ttypes.types); in cil_check_neverallow()
4538 cil_rule->tgt = type_value_to_cil[k->target_type]; in cil_avrule_from_sepol()
4539 if (!cil_rule->tgt) goto exit; in cil_avrule_from_sepol()