Searched refs:dest_role (Results 1 - 2 of 2) sorted by relevance
/external/selinux/checkpolicy/ |
H A D | module_compiler.c | 207 role_datum_t *role = NULL, *dest_role = NULL; local 247 dest_role = (role_datum_t *) hashtab_search(roles_tab, dest_id); 248 if (dest_role == NULL) { 249 if ((dest_role = 250 (role_datum_t *) malloc(sizeof(*dest_role))) == 256 role_datum_init(dest_role); 257 dest_role->s.value = value; 258 dest_role->flavor = isattr ? ROLE_ATTRIB : ROLE_ROLE; 259 if (role_implicit_bounds(roles_tab, dest_id, dest_role)) { 261 role_datum_destroy(dest_role); [all...] |
/external/selinux/libsepol/src/ |
H A D | link.c | 1097 role_datum_t *role, *dest_role = NULL; local 1110 dest_role = hashtab_search(role_tab, id); 1111 assert(dest_role != NULL); 1127 if (ebitmap_union(&dest_role->dominates, &e_tmp)) { 1130 if (type_set_or_convert(&role->types, &dest_role->types, mod, state)) { 1146 if (ebitmap_union(&dest_role->roles, &e_tmp)) {
|
Completed in 108 milliseconds