Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/src/
Doptimize.c111 if (p->type_val_to_struct[i]->flavor != TYPE_ATTRIB) { in build_type_map()
123 if (!p->type_val_to_struct[k] || p->type_val_to_struct[k]->flavor != TYPE_ATTRIB) in build_type_map()
245 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()
2358 if (type->flavor == TYPE_ATTRIB) { in type_attr_map()
2558 if (type->flavor == TYPE_ATTRIB && in type_set_expand()
2574 p->type_val_to_struct[i]->flavor == TYPE_ATTRIB) { in type_set_expand()
2593 p->type_val_to_struct[i]->flavor == TYPE_ATTRIB) in type_set_expand()
2610 p->type_val_to_struct[i]->flavor == TYPE_ATTRIB) { in type_set_expand()
3299 if (stype && ttype && stype->flavor != TYPE_ATTRIB && ttype->flavor != TYPE_ATTRIB) { in expand_avtab_node()
3304 if (stype && stype->flavor != TYPE_ATTRIB) { in expand_avtab_node()
3316 if (ttype && ttype->flavor != TYPE_ATTRIB) { in expand_avtab_node()
[all …]
Dlink.c459 if (type->flavor == TYPE_ATTRIB in type_copy_callback()
460 && base_type->flavor != TYPE_ATTRIB) { in type_copy_callback()
465 } else if (type->flavor != TYPE_ATTRIB in type_copy_callback()
466 && base_type->flavor == TYPE_ATTRIB) { in type_copy_callback()
935 if (base_type->flavor == TYPE_ATTRIB) { in alias_copy_callback()
1172 if (type->flavor != TYPE_ATTRIB) { in type_fix_callback()
1177 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()
2172 if (typdatum->flavor == TYPE_ATTRIB) { in type_attr_uncount()
Dkernel_to_cil.c1242 if (type && type->flavor == TYPE_ATTRIB) { in write_type_attributes_to_cil()
1555 if (!attr || attr->flavor != TYPE_ATTRIB) continue; in write_type_attribute_sets_to_cil()
1750 if (type->flavor != TYPE_ATTRIB) { in avtab_node_to_str()
Dpolicydb_validate.c465 case TYPE_ATTRIB: in validate_type_datum()
Dkernel_to_conf.c1220 if (type && type->flavor == TYPE_ATTRIB) { in write_type_attributes_to_conf()
1722 if (type->flavor != TYPE_ATTRIB) { in avtab_node_to_str()
Dpolicydb.c2484 typdatum->flavor = TYPE_ATTRIB; in type_read()
4566 if (p->type_val_to_struct[i] && p->type_val_to_struct[i]->flavor != TYPE_ATTRIB) { in policydb_read()
Dmodule_to_cil.c2274 case TYPE_ATTRIB: in type_to_cil()
/third_party/selinux/checkpolicy/
Dmodule_compiler.c396 isattr = isattr ? TYPE_ATTRIB : TYPE_TYPE; in create_type()
641 dest_typdatum->flavor = isattr ? TYPE_ATTRIB : TYPE_TYPE; in get_local_type()
652 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()
1666 if (!datum || datum->flavor == TYPE_ATTRIB) { in define_compute_type_helper()
4496 if (!typdatum || typdatum->flavor == TYPE_ATTRIB) { in parse_security_context()
/third_party/selinux/libsepol/tests/
Dtest-common.c245 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()