Home
last modified time | relevance | path

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

/external/selinux/checkpolicy/
Dmodule_compiler.c221 role->flavor = isattr ? ROLE_ATTRIB : ROLE_ROLE; in declare_role()
258 dest_role->flavor = isattr ? ROLE_ATTRIB : ROLE_ROLE; in declare_role()
585 dest_roledatum->flavor = isattr ? ROLE_ATTRIB : ROLE_ROLE; in get_local_role()
595 if (dest_roledatum->flavor != isattr ? ROLE_ATTRIB : ROLE_ROLE) in get_local_role()
885 role->flavor = isattr ? ROLE_ATTRIB : ROLE_ROLE; in require_role_or_attribute()
Dpolicy_define.c2666 if (attr->flavor != ROLE_ATTRIB) { in define_role_attr()
2730 if (attr->flavor != ROLE_ATTRIB) { in define_roleattribute()
/external/selinux/libsepol/src/
Dlink.c362 if (role->flavor == ROLE_ATTRIB in role_copy_callback()
363 && base_role->flavor != ROLE_ATTRIB) { in role_copy_callback()
368 } else if (role->flavor != ROLE_ATTRIB in role_copy_callback()
369 && base_role->flavor == ROLE_ATTRIB) { in role_copy_callback()
1135 if (role->flavor == ROLE_ATTRIB) { in role_fix_callback()
2426 if (role->flavor != ROLE_ATTRIB) in expand_role_attributes()
2436 if (sub_attr->flavor != ROLE_ATTRIB) in expand_role_attributes()
2482 if (decl_role->flavor != ROLE_ATTRIB) in populate_decl_roleattributes()
2487 assert(base_role != NULL && base_role->flavor == ROLE_ATTRIB); in populate_decl_roleattributes()
Dexpand.c751 if (role->flavor != ROLE_ATTRIB) in role_fix_callback()
760 assert(new_role != NULL && new_role->flavor == ROLE_ATTRIB); in role_fix_callback()
2440 if (role->flavor == ROLE_ATTRIB) { in role_set_expand()
Dwrite.c1058 if ((role->flavor == ROLE_ATTRIB) && in role_write()
1934 if (role->flavor == ROLE_ATTRIB) { in role_attr_uncount()
Dmodule_to_cil.c2079 case ROLE_ATTRIB: in role_to_cil()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h140 #define ROLE_ATTRIB 1 /* attribute */ macro