Home | History | Annotate | Download | only in checkpolicy

Lines Matching refs:dest_role

206 	role_datum_t *role = NULL, *dest_role = NULL;
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);
261 free(dest_role);
264 if (hashtab_insert(roles_tab, dest_id, dest_role)) {
267 role_datum_destroy(dest_role);
268 free(dest_role);
292 (&dest_role->dominates, role->s.value - 1, 1)) {
296 return dest_role;
299 return dest_role; /* role already declared for this block */