Searched defs:dest_role (Results 1 - 2 of 2) sorted by relevance

/external/checkpolicy/
H A Dmodule_compiler.c206 role_datum_t *role = NULL, *dest_role = NULL; local
246 dest_role = (role_datum_t *) hashtab_search(roles_tab, dest_id);
247 if (dest_role == NULL) {
248 if ((dest_role =
249 (role_datum_t *) malloc(sizeof(*dest_role))) ==
255 role_datum_init(dest_role);
256 dest_role->s.value = value;
257 dest_role->flavor = isattr ? ROLE_ATTRIB : ROLE_ROLE;
258 if (role_implicit_bounds(roles_tab, dest_id, dest_role)) {
260 role_datum_destroy(dest_role);
[all...]
/external/libsepol/src/
H A Dlink.c1096 role_datum_t *role, *dest_role = NULL; local
1109 dest_role = hashtab_search(role_tab, id);
1110 assert(dest_role != NULL);
1126 if (ebitmap_union(&dest_role->dominates, &e_tmp)) {
1129 if (type_set_or_convert(&role->types, &dest_role->types, mod, state)) {
1145 if (ebitmap_union(&dest_role->roles, &e_tmp)) {

Completed in 634 milliseconds