Home
last modified time | relevance | path

Searched refs:ROLE_ATTRIB (Results 1 – 10 of 10) sorted by relevance

/third_party/selinux/libsepol/src/
Dlink.c364 if (role->flavor == ROLE_ATTRIB in role_copy_callback()
365 && base_role->flavor != ROLE_ATTRIB) { in role_copy_callback()
370 } else if (role->flavor != ROLE_ATTRIB in role_copy_callback()
371 && base_role->flavor == ROLE_ATTRIB) { in role_copy_callback()
1116 if (role->flavor == ROLE_ATTRIB) { in role_fix_callback()
2362 if (role->flavor != ROLE_ATTRIB) in expand_role_attributes()
2371 if (sub_attr->flavor != ROLE_ATTRIB) in expand_role_attributes()
2416 if (decl_role->flavor != ROLE_ATTRIB) in populate_decl_roleattributes()
2421 assert(base_role != NULL && base_role->flavor == ROLE_ATTRIB); in populate_decl_roleattributes()
Dexpand.c85 if (role->flavor != ROLE_ATTRIB) { in ebitmap_expand_roles()
786 if (role->flavor != ROLE_ATTRIB) in role_fix_callback()
795 assert(new_role != NULL && new_role->flavor == ROLE_ATTRIB); in role_fix_callback()
2479 if (role->flavor == ROLE_ATTRIB) { in role_set_expand()
Dwrite.c1148 if ((role->flavor == ROLE_ATTRIB) && in role_write()
2187 if (role->flavor == ROLE_ATTRIB) { in role_attr_uncount()
Dpolicydb_validate.c451 case ROLE_ATTRIB: in validate_role_datum()
Dkernel_to_conf.c1270 if (role && role->flavor == ROLE_ATTRIB) { in write_role_attributes_to_conf()
Dkernel_to_cil.c1287 if (role && role->flavor == ROLE_ATTRIB) { in write_role_attributes_to_cil()
Dmodule_to_cil.c2191 case ROLE_ATTRIB: in role_to_cil()
/third_party/selinux/checkpolicy/
Dmodule_compiler.c262 isattr = isattr ? ROLE_ATTRIB : ROLE_ROLE; in create_role()
691 dest_roledatum->flavor = isattr ? ROLE_ATTRIB : ROLE_ROLE; in get_local_role()
701 if (dest_roledatum->flavor != isattr ? ROLE_ATTRIB : ROLE_ROLE) in get_local_role()
Dpolicy_define.c2722 role = get_local_role(id, role->s.value, (role->flavor == ROLE_ATTRIB)); in define_role_types()
2775 if (attr->flavor != ROLE_ATTRIB) { in define_role_attr()
2840 if (attr->flavor != ROLE_ATTRIB) { in define_roleattribute()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h145 #define ROLE_ATTRIB 1 /* attribute */ macro