Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/src/
Doptimize.c104 if (p->type_val_to_struct[i]->flavor != TYPE_ATTRIB) { in build_type_map()
116 if (p->type_val_to_struct[k]->flavor != TYPE_ATTRIB) in build_type_map()
236 return p->type_val_to_struct[id]->flavor == TYPE_ATTRIB; in is_type_attr()
Dexpand.c188 if (type->flavor != TYPE_ATTRIB) in attr_convert_callback()
676 if (alias->flavor == TYPE_ATTRIB) in alias_copy_callback()
2333 if (type->flavor == TYPE_ATTRIB) { in type_attr_map()
2533 if (type->flavor == TYPE_ATTRIB && in type_set_expand()
2549 p->type_val_to_struct[i]->flavor == TYPE_ATTRIB) { in type_set_expand()
2568 p->type_val_to_struct[i]->flavor == TYPE_ATTRIB) in type_set_expand()
2585 p->type_val_to_struct[i]->flavor == TYPE_ATTRIB) { in type_set_expand()
3273 if (stype && ttype && stype->flavor != TYPE_ATTRIB && ttype->flavor != TYPE_ATTRIB) { in expand_avtab_node()
3278 if (stype && stype->flavor != TYPE_ATTRIB) { in expand_avtab_node()
3290 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()
1170 if (type->flavor != TYPE_ATTRIB) { in type_fix_callback()
1175 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.c1224 && typdatum->flavor == TYPE_ATTRIB) in type_write()
1242 if (typdatum->flavor == TYPE_ATTRIB) { in type_write()
2152 if (typdatum->flavor == TYPE_ATTRIB) { in type_attr_uncount()
Dkernel_to_cil.c1216 if (type->flavor == TYPE_ATTRIB) { in write_type_attributes_to_cil()
1529 if (attr->flavor != TYPE_ATTRIB) continue; in write_type_attribute_sets_to_cil()
1724 if (type->flavor != TYPE_ATTRIB) { in avtab_node_to_str()
Dkernel_to_conf.c1204 if (type->flavor == TYPE_ATTRIB) { in write_type_attributes_to_conf()
1706 if (type->flavor != TYPE_ATTRIB) { in avtab_node_to_str()
Dpolicydb.c2466 typdatum->flavor = TYPE_ATTRIB; in type_read()
4531 if (p->type_val_to_struct[i] && p->type_val_to_struct[i]->flavor != TYPE_ATTRIB) { in policydb_read()
Dmodule_to_cil.c2267 case TYPE_ATTRIB: in type_to_cil()
/third_party/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.c236 if (t->flavor == TYPE_ATTRIB) { in define_permissive()
1179 if (attr->flavor != TYPE_ATTRIB) { in expand_attrib()
1311 if (!t || t->flavor == TYPE_ATTRIB) { in define_typealias()
1344 if (!t || t->flavor == TYPE_ATTRIB) { in define_typeattribute()
1365 if (attr->flavor != TYPE_ATTRIB) { in define_typeattribute()
1395 if (!bounds || bounds->flavor == TYPE_ATTRIB) { in define_typebounds_helper()
1406 if (!type || type->flavor == TYPE_ATTRIB) { in define_typebounds_helper()
1515 if (attr->flavor != TYPE_ATTRIB) { in define_type()
1657 if (!datum || datum->flavor == TYPE_ATTRIB) { in define_compute_type_helper()
4440 if (!typdatum || typdatum->flavor == TYPE_ATTRIB) { in parse_security_context()
/third_party/selinux/libsepol/tests/
Dtest-common.c244 CU_ASSERT(attr->flavor == TYPE_ATTRIB); in test_attr_types()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h182 #define TYPE_ATTRIB 1 /* attribute */ macro
/third_party/selinux/checkpolicy/test/
Ddismod.c334 if (type->flavor == TYPE_ATTRIB) { in display_type_callback()
/third_party/selinux/libsepol/cil/src/
Dcil_binary.c570 sepol_attr->flavor = TYPE_ATTRIB; in cil_typeattribute_to_policydb()
605 if (pdb->type_val_to_struct[i] && pdb->type_val_to_struct[i]->flavor != TYPE_ATTRIB) { in __cil_typeattr_bitmap_init()