Home
last modified time | relevance | path

Searched refs:TYPE_ATTRIB (Results 1 – 13 of 13) sorted by relevance

/external/selinux/libsepol/src/
Dexpand.c156 if (type->flavor != TYPE_ATTRIB) in attr_convert_callback()
641 if (alias->flavor == TYPE_ATTRIB) in alias_copy_callback()
2323 if (type->flavor == TYPE_ATTRIB) { in type_attr_map()
2509 TYPE_ATTRIB) { in type_set_expand()
2534 p->type_val_to_struct[i]->flavor == TYPE_ATTRIB) { in type_set_expand()
2554 p->type_val_to_struct[i]->flavor == TYPE_ATTRIB) in type_set_expand()
2572 p->type_val_to_struct[i]->flavor == TYPE_ATTRIB) { in type_set_expand()
3256 if (stype && ttype && stype->flavor != TYPE_ATTRIB && ttype->flavor != TYPE_ATTRIB) { in expand_avtab_node()
3261 if (stype && stype->flavor != TYPE_ATTRIB) { in expand_avtab_node()
3275 if (ttype && ttype->flavor != TYPE_ATTRIB) { in expand_avtab_node()
[all …]
Dlink.c457 if (type->flavor == TYPE_ATTRIB in type_copy_callback()
458 && base_type->flavor != TYPE_ATTRIB) { in type_copy_callback()
463 } else if (type->flavor != TYPE_ATTRIB in type_copy_callback()
464 && base_type->flavor == TYPE_ATTRIB) { in type_copy_callback()
933 if (base_type->flavor == TYPE_ATTRIB) { in alias_copy_callback()
1180 if (type->flavor != TYPE_ATTRIB) { in type_fix_callback()
1185 assert(new_type != NULL && new_type->flavor == TYPE_ATTRIB); in type_fix_callback()
Dcontext.c188 if (!typdatum || typdatum->flavor == TYPE_ATTRIB) { in context_from_record()
Dwrite.c1119 && typdatum->flavor == TYPE_ATTRIB) in type_write()
1137 if (typdatum->flavor == TYPE_ATTRIB) { in type_write()
1921 if (typdatum->flavor == TYPE_ATTRIB) { in type_attr_uncount()
Dpolicydb.c2311 typdatum->flavor = TYPE_ATTRIB; in type_read()
3939 if (p->type_val_to_struct[i] && p->type_val_to_struct[i]->flavor != TYPE_ATTRIB) { in policydb_read()
Dmodule_to_cil.c2160 case TYPE_ATTRIB: in type_to_cil()
/external/selinux/checkpolicy/
Dmodule_compiler.c335 typdatum->flavor = isattr ? TYPE_ATTRIB : TYPE_TYPE; in declare_type()
535 dest_typdatum->flavor = isattr ? TYPE_ATTRIB : TYPE_TYPE; in get_local_type()
546 if (dest_typdatum->flavor != isattr ? TYPE_ATTRIB : TYPE_TYPE) { in get_local_type()
955 type->flavor = isattr ? TYPE_ATTRIB : TYPE_TYPE; in require_type_or_attribute()
Dpolicy_define.c233 if (t->flavor == TYPE_ATTRIB) { in define_permissive()
1226 if (!t || t->flavor == TYPE_ATTRIB) { in define_typealias()
1258 if (!t || t->flavor == TYPE_ATTRIB) { in define_typeattribute()
1278 if (attr->flavor != TYPE_ATTRIB) { in define_typeattribute()
1308 if (!bounds || bounds->flavor == TYPE_ATTRIB) { in define_typebounds_helper()
1319 if (!type || type->flavor == TYPE_ATTRIB) { in define_typebounds_helper()
1427 if (attr->flavor != TYPE_ATTRIB) { in define_type()
1568 if (!datum || datum->flavor == TYPE_ATTRIB) { in define_compute_type_helper()
4379 if (!typdatum || typdatum->flavor == TYPE_ATTRIB) { in parse_security_context()
/external/selinux/policycoreutils/sepolgen-ifgen/
Dsepolgen-ifgen-attr-helper.c133 if (t->flavor == TYPE_ATTRIB) { in attribute_callback()
/external/selinux/libsepol/tests/
Dtest-common.c241 CU_ASSERT(attr->flavor == TYPE_ATTRIB); in test_attr_types()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h174 #define TYPE_ATTRIB 1 /* attribute */ macro
/external/selinux/checkpolicy/test/
Ddismod.c310 if (type->flavor == TYPE_ATTRIB) { in display_type_callback()
/external/selinux/libsepol/cil/src/
Dcil_binary.c574 sepol_attr->flavor = TYPE_ATTRIB; in cil_typeattribute_to_policydb()