Lines Matching defs:flavor

278 	const char *flavor, *perm_prefix, *perm_suffix;
302 flavor = "mlsconstrain";
305 flavor = "constrain";
310 flavor, classkey,
332 const char *flavor;
345 flavor = "mlsvalidatetrans";
348 flavor = "validatetrans";
352 rc = strs_create_and_add(strs, "%s %s %s;", 3, flavor, classkey, expr);
1225 if (type && type->flavor == TYPE_ATTRIB) {
1270 if (role && role->flavor == ROLE_ATTRIB) {
1355 if (type && type->flavor == TYPE_TYPE && type->primary) {
1390 if (datum->primary == 0 && datum->flavor == TYPE_TYPE)
1402 if (datum->primary == 0 && datum->flavor == TYPE_TYPE)
1475 if (type && type->flavor == TYPE_TYPE) {
1598 if (!type || type->flavor != TYPE_TYPE || !type->primary) continue;
1686 const char *flavor, *src, *tgt, *class, *perms, *new;
1691 flavor = "allow";
1694 flavor = "auditallow";
1697 flavor = "dontaudit";
1701 flavor = "allowxperm";
1704 flavor = "auditallowxperm";
1707 flavor = "dontauditxperm";
1710 flavor = "type_transition";
1713 flavor = "type_member";
1716 flavor = "type_change";
1727 if (type->flavor != TYPE_ATTRIB) {
1740 flavor, src, tgt, class, perms+1);
1748 rule = create_str("%s %s %s:%s %s;", 5, flavor, src, tgt, class, perms);
1752 rule = create_str("%s %s %s:%s %s;", 5, flavor, src, tgt, class, new);
1767 uint32_t flavor;
1774 uint32_t flavor = map_args->flavor;
1780 if (key->specified & flavor) {
1797 static int write_avtab_flavor_to_conf(FILE *out, struct policydb *pdb, uint32_t flavor, int indent)
1809 args.flavor = flavor;
2033 uint32_t flavor;
2042 flavor = avtab_flavors[i];
2052 if (key->specified & flavor) {
2183 if (role && role->flavor == ROLE_ROLE) {