• Home
  • Raw
  • Download

Lines Matching refs:tgt

986 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
994 avtab_key.target_type = tgt; in __cil_insert_type_rule()
1023 pdb->p_type_val_to_name[tgt - 1], in __cil_insert_type_rule()
1056 pdb->p_type_val_to_name[tgt - 1], in __cil_insert_type_rule()
1096 rc = __cil_expand_type(cil_rule->tgt, &tgt_bitmap); in __cil_type_rule_to_avtab()
1160 trans.tgt = typetrans->tgt; in __cil_typetransition_to_avtab()
1173 rc = __cil_expand_type(typetrans->tgt, &tgt_bitmap); in __cil_typetransition_to_avtab()
1305 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
1313 avtab_key.target_type = tgt; in __cil_insert_avrule()
1352 …pdb, uint16_t kind, struct cil_symtab_datum *src, struct cil_symtab_datum *tgt, struct cil_classpe… in __cil_avrule_expand_helper() argument
1378 rc = __cil_get_sepol_type_datum(pdb, tgt, &sepol_tgt); in __cil_avrule_expand_helper()
1393 …pdb, uint16_t kind, struct cil_symtab_datum *src, struct cil_symtab_datum *tgt, struct cil_list *c… in __cil_avrule_expand() argument
1402 rc = __cil_avrule_expand_helper(pdb, kind, src, tgt, cp, cond_node, cond_flavor); in __cil_avrule_expand()
1410 rc = __cil_avrule_expand(pdb, kind, src, tgt, cmp->classperms, cond_node, cond_flavor); in __cil_avrule_expand()
1419 rc = __cil_avrule_expand(pdb, kind, src, tgt, cp->classperms, cond_node, cond_flavor); in __cil_avrule_expand()
1453 struct cil_symtab_datum *tgt = NULL; in __cil_avrule_to_avtab() local
1466 tgt = cil_avrule->tgt; in __cil_avrule_to_avtab()
1468 if (tgt->fqn == CIL_KEY_SELF) { in __cil_avrule_to_avtab()
1487 int expand_tgt = __cil_should_expand_attribute(db, tgt); in __cil_avrule_to_avtab()
1489 rc = __cil_avrule_expand(pdb, kind, src, tgt, classperms, cond_node, cond_flavor); in __cil_avrule_to_avtab()
1499 rc = __cil_expand_type(tgt, &tgt_bitmap); in __cil_avrule_to_avtab()
1510 tgt = DATUM(db->val_to_type[t]); in __cil_avrule_to_avtab()
1512 rc = __cil_avrule_expand(pdb, kind, src, tgt, classperms, cond_node, cond_flavor); in __cil_avrule_to_avtab()
1532 rc = __cil_avrule_expand(pdb, kind, src, tgt, classperms, cond_node, cond_flavor); in __cil_avrule_to_avtab()
1540 rc = __cil_expand_type(tgt, &tgt_bitmap); in __cil_avrule_to_avtab()
1547 tgt = DATUM(db->val_to_type[t]); in __cil_avrule_to_avtab()
1549 rc = __cil_avrule_expand(pdb, kind, src, tgt, classperms, cond_node, cond_flavor); in __cil_avrule_to_avtab()
1730 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
1754 avtab_key->target_type = tgt; in __cil_avrulex_ioctl_to_hashtable()
1785 …pdb, uint16_t kind, struct cil_symtab_datum *src, struct cil_symtab_datum *tgt, struct cil_permiss… in __cil_avrulex_to_hashtable_helper() argument
1797 rc = __cil_get_sepol_type_datum(pdb, tgt, &sepol_tgt); in __cil_avrulex_to_hashtable_helper()
1830 struct cil_symtab_datum *tgt = NULL; in cil_avrulex_to_hashtable() local
1843 tgt = cil_avrulex->tgt; in cil_avrulex_to_hashtable()
1845 if (tgt->fqn == CIL_KEY_SELF) { in cil_avrulex_to_hashtable()
1861 int expand_tgt = __cil_should_expand_attribute(db, tgt); in cil_avrulex_to_hashtable()
1864 rc = __cil_avrulex_to_hashtable_helper(pdb, kind, src, tgt, cil_avrulex->perms.x.permx, args); in cil_avrulex_to_hashtable()
1874 rc = __cil_expand_type(tgt, &tgt_bitmap); in cil_avrulex_to_hashtable()
1885 tgt = DATUM(db->val_to_type[t]); in cil_avrulex_to_hashtable()
1887 rc = __cil_avrulex_to_hashtable_helper(pdb, kind, src, tgt, cil_avrulex->perms.x.permx, args); in cil_avrulex_to_hashtable()
1907 rc = __cil_avrulex_to_hashtable_helper(pdb, kind, src, tgt, cil_avrulex->perms.x.permx, args); in cil_avrulex_to_hashtable()
1915 rc = __cil_expand_type(tgt, &tgt_bitmap); in cil_avrulex_to_hashtable()
1922 tgt = DATUM(db->val_to_type[t]); in cil_avrulex_to_hashtable()
1924 rc = __cil_avrulex_to_hashtable_helper(pdb, kind, src, tgt, cil_avrulex->perms.x.permx, args); in cil_avrulex_to_hashtable()
2348 rc = __cil_expand_type(roletrans->tgt, &type_bitmap); in cil_roletrans_to_policydb()
2430 rc = __cil_expand_role(roleallow->tgt, &tgt_bitmap); in cil_roleallow_to_policydb()
4532 cil_log(CIL_ERR,"%s %s ", DATUM(avrule->src)->fqn, DATUM(avrule->tgt)->fqn); in __cil_print_rule()
4561 target.tgt = cil_rule->tgt; in __cil_print_neverallow_failure()
4600 struct cil_symtab_datum *tgt = cil_rule->tgt; in cil_check_neverallow() local
4620 if (tgt->fqn == CIL_KEY_SELF) { in cil_check_neverallow()
4623 rc = __cil_add_sepol_type(pdb, db, cil_rule->tgt, &rule->ttypes.types); in cil_check_neverallow()
4738 cil_rule->tgt = type_value_to_cil[k->target_type]; in cil_avrule_from_sepol()
4739 if (!cil_rule->tgt) goto exit; in cil_avrule_from_sepol()