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()
2360 if (type->flavor == TYPE_ATTRIB) { in type_attr_map()
2569 if (type->flavor == TYPE_ATTRIB && in type_set_expand()
2586 p->type_val_to_struct[i]->flavor == TYPE_ATTRIB) { in type_set_expand()
2606 p->type_val_to_struct[i]->flavor == TYPE_ATTRIB) in type_set_expand()
2624 p->type_val_to_struct[i]->flavor == TYPE_ATTRIB) { in type_set_expand()
3311 if (stype && ttype && stype->flavor != TYPE_ATTRIB && ttype->flavor != TYPE_ATTRIB) { in expand_avtab_node()
3316 if (stype && stype->flavor != TYPE_ATTRIB) { in expand_avtab_node()
3330 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.c1212 if (type->flavor == TYPE_ATTRIB) { in write_type_attributes_to_cil()
1503 if (attr->flavor != TYPE_ATTRIB) continue; in write_type_attribute_sets_to_cil()
1699 if (type->flavor != TYPE_ATTRIB) { in avtab_node_to_str()
Dkernel_to_conf.c1186 if (type->flavor == TYPE_ATTRIB) { in write_type_attributes_to_conf()
1668 if (type->flavor != TYPE_ATTRIB) { in avtab_node_to_str()
Dpolicydb.c2465 typdatum->flavor = TYPE_ATTRIB; in type_read()
4265 if (p->type_val_to_struct[i] && p->type_val_to_struct[i]->flavor != TYPE_ATTRIB) { in policydb_read()
Dmodule_to_cil.c2280 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.c240 if (t->flavor == TYPE_ATTRIB) { in define_permissive()
1188 if (attr->flavor != TYPE_ATTRIB) { in expand_attrib()
1323 if (!t || t->flavor == TYPE_ATTRIB) { in define_typealias()
1356 if (!t || t->flavor == TYPE_ATTRIB) { in define_typeattribute()
1377 if (attr->flavor != TYPE_ATTRIB) { in define_typeattribute()
1407 if (!bounds || bounds->flavor == TYPE_ATTRIB) { in define_typebounds_helper()
1418 if (!type || type->flavor == TYPE_ATTRIB) { in define_typebounds_helper()
1527 if (attr->flavor != TYPE_ATTRIB) { in define_type()
1669 if (!datum || datum->flavor == TYPE_ATTRIB) { in define_compute_type_helper()
4515 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.c581 sepol_attr->flavor = TYPE_ATTRIB; in cil_typeattribute_to_policydb()
616 if (pdb->type_val_to_struct[i] && pdb->type_val_to_struct[i]->flavor != TYPE_ATTRIB) { in __cil_typeattr_bitmap_init()