Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dexpand.c158 if (type->flavor != TYPE_ATTRIB) in attr_convert_callback()
643 if (alias->flavor == TYPE_ATTRIB) in alias_copy_callback()
2354 if (type->flavor == TYPE_ATTRIB) { in type_attr_map()
2563 if (type->flavor == TYPE_ATTRIB && in type_set_expand()
2580 p->type_val_to_struct[i]->flavor == TYPE_ATTRIB) { in type_set_expand()
2600 p->type_val_to_struct[i]->flavor == TYPE_ATTRIB) in type_set_expand()
2618 p->type_val_to_struct[i]->flavor == TYPE_ATTRIB) { in type_set_expand()
3305 if (stype && ttype && stype->flavor != TYPE_ATTRIB && ttype->flavor != TYPE_ATTRIB) { in expand_avtab_node()
3310 if (stype && stype->flavor != TYPE_ATTRIB) { in expand_avtab_node()
3324 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.c189 if (!typdatum || typdatum->flavor == TYPE_ATTRIB) { in context_from_record()
Dwrite.c1152 && typdatum->flavor == TYPE_ATTRIB) in type_write()
1170 if (typdatum->flavor == TYPE_ATTRIB) { in type_write()
2054 if (typdatum->flavor == TYPE_ATTRIB) { in type_attr_uncount()
Dkernel_to_cil.c1195 if (type->flavor == TYPE_ATTRIB) { in write_type_attributes_to_cil()
1486 if (attr->flavor != TYPE_ATTRIB) continue; in write_type_attribute_sets_to_cil()
1684 if (type->flavor != TYPE_ATTRIB) { in avtab_node_to_str()
Dkernel_to_conf.c1169 if (type->flavor == TYPE_ATTRIB) { in write_type_attributes_to_conf()
1653 if (type->flavor != TYPE_ATTRIB) { in avtab_node_to_str()
Dpolicydb.c2472 typdatum->flavor = TYPE_ATTRIB; in type_read()
4254 if (p->type_val_to_struct[i] && p->type_val_to_struct[i]->flavor != TYPE_ATTRIB) { in policydb_read()
Dmodule_to_cil.c2265 case TYPE_ATTRIB: in type_to_cil()
/external/selinux/python/audit2allow/
Dsepolgen-ifgen-attr-helper.c133 if (t->flavor == TYPE_ATTRIB) { in attribute_callback()
/external/selinux/checkpolicy/
Dmodule_compiler.c395 isattr = isattr ? TYPE_ATTRIB : TYPE_TYPE; in create_type()
640 dest_typdatum->flavor = isattr ? TYPE_ATTRIB : TYPE_TYPE; in get_local_type()
651 if (dest_typdatum->flavor != isattr ? TYPE_ATTRIB : TYPE_TYPE) { in get_local_type()
Dpolicy_define.c237 if (t->flavor == TYPE_ATTRIB) { in define_permissive()
1180 if (attr->flavor != TYPE_ATTRIB) { in expand_attrib()
1315 if (!t || t->flavor == TYPE_ATTRIB) { in define_typealias()
1348 if (!t || t->flavor == TYPE_ATTRIB) { in define_typeattribute()
1369 if (attr->flavor != TYPE_ATTRIB) { in define_typeattribute()
1399 if (!bounds || bounds->flavor == TYPE_ATTRIB) { in define_typebounds_helper()
1410 if (!type || type->flavor == TYPE_ATTRIB) { in define_typebounds_helper()
1519 if (attr->flavor != TYPE_ATTRIB) { in define_type()
1661 if (!datum || datum->flavor == TYPE_ATTRIB) { in define_compute_type_helper()
4507 if (!typdatum || typdatum->flavor == TYPE_ATTRIB) { in parse_security_context()
/external/selinux/libsepol/tests/
Dtest-common.c240 CU_ASSERT(attr->flavor == TYPE_ATTRIB); in test_attr_types()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h180 #define TYPE_ATTRIB 1 /* attribute */ macro
/external/selinux/checkpolicy/test/
Ddismod.c335 if (type->flavor == TYPE_ATTRIB) { in display_type_callback()
/external/selinux/libsepol/cil/src/
Dcil_binary.c577 sepol_attr->flavor = TYPE_ATTRIB; in cil_typeattribute_to_policydb()
612 if (pdb->type_val_to_struct[i] && pdb->type_val_to_struct[i]->flavor != TYPE_ATTRIB) { in __cil_typeattr_bitmap_init()