Lines Matching defs:flavor
1242 if (type && type->flavor == TYPE_ATTRIB) {
1287 if (role && role->flavor == ROLE_ATTRIB) {
1372 if (type && type->flavor == TYPE_TYPE && type->primary) {
1407 if (datum->primary == 0 && datum->flavor == TYPE_TYPE)
1419 if (datum->primary == 0 && datum->flavor == TYPE_TYPE)
1501 if (type && type->flavor == TYPE_TYPE) {
1555 if (!attr || attr->flavor != TYPE_ATTRIB) continue;
1708 const char *flavor, *tgt;
1714 flavor = "allow";
1717 flavor = "auditallow";
1720 flavor = "dontaudit";
1724 flavor = "allowx";
1727 flavor = "auditallowx";
1730 flavor = "dontauditx";
1733 flavor = "typetransition";
1736 flavor = "typemember";
1739 flavor = "typechange";
1750 if (type->flavor != TYPE_ATTRIB) {
1763 flavor, src, tgt, class, perms+1);
1772 flavor, src, tgt, "ioctl", class, perms);
1776 rule = create_str("(%s %s %s %s %s)", 5, flavor, src, tgt, class, new);
1791 uint32_t flavor;
1798 uint32_t flavor = map_args->flavor;
1804 if (key->specified & flavor) {
1821 static int write_avtab_flavor_to_cil(FILE *out, struct policydb *pdb, uint32_t flavor, int indent)
1833 args.flavor = flavor;
2057 uint32_t flavor;
2066 flavor = avtab_flavors[i];
2076 if (key->specified & flavor) {
2210 if (role && role->flavor == ROLE_ROLE) {
2288 if (type_datum && type_datum->flavor == TYPE_TYPE && type_datum->primary) {