Home
last modified time | relevance | path

Searched refs:dest_role (Results 1 – 2 of 2) sorted by relevance

/external/selinux/checkpolicy/
Dmodule_compiler.c319 role_datum_t *dest_role = NULL; in declare_role() local
338 dest_role = hashtab_search(roles_tab, key); in declare_role()
339 if (dest_role == NULL) { in declare_role()
341 dest_role = malloc(sizeof(*dest_role)); in declare_role()
342 if (dest_role == NULL) { in declare_role()
347 role_datum_init(dest_role); in declare_role()
348 dest_role->s.value = role->s.value; in declare_role()
349 dest_role->flavor = role->flavor; in declare_role()
351 dest_role = role; in declare_role()
353 ret2 = role_implicit_bounds(roles_tab, key, dest_role); in declare_role()
[all …]
/external/selinux/libsepol/src/
Dlink.c1097 role_datum_t *role, *dest_role = NULL; in role_fix_callback() local
1110 dest_role = hashtab_search(role_tab, id); in role_fix_callback()
1111 assert(dest_role != NULL); in role_fix_callback()
1127 if (ebitmap_union(&dest_role->dominates, &e_tmp)) { in role_fix_callback()
1130 if (type_set_or_convert(&role->types, &dest_role->types, mod, state)) { in role_fix_callback()
1146 if (ebitmap_union(&dest_role->roles, &e_tmp)) { in role_fix_callback()