Searched refs:dest_role (Results 1 – 2 of 2) sorted by relevance
/external/checkpolicy/ |
D | module_compiler.c | 206 role_datum_t *role = NULL, *dest_role = NULL; in declare_role() local 246 dest_role = (role_datum_t *) hashtab_search(roles_tab, dest_id); in declare_role() 247 if (dest_role == NULL) { in declare_role() 248 if ((dest_role = in declare_role() 249 (role_datum_t *) malloc(sizeof(*dest_role))) == in declare_role() 255 role_datum_init(dest_role); in declare_role() 256 dest_role->s.value = value; in declare_role() 257 dest_role->flavor = isattr ? ROLE_ATTRIB : ROLE_ROLE; in declare_role() 258 if (role_implicit_bounds(roles_tab, dest_id, dest_role)) { in declare_role() 260 role_datum_destroy(dest_role); in declare_role() [all …]
|
/external/libsepol/src/ |
D | link.c | 1081 role_datum_t *role, *dest_role = NULL; in role_fix_callback() local 1094 dest_role = hashtab_search(role_tab, id); in role_fix_callback() 1095 assert(dest_role != NULL); in role_fix_callback() 1111 if (ebitmap_union(&dest_role->dominates, &e_tmp)) { in role_fix_callback() 1114 if (type_set_or_convert(&role->types, &dest_role->types, mod, state)) { in role_fix_callback() 1130 if (ebitmap_union(&dest_role->roles, &e_tmp)) { in role_fix_callback()
|