Home
last modified time | relevance | path

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

/third_party/selinux/checkpolicy/
H A Dmodule_compiler.c320 role_datum_t *dest_role = NULL; in declare_role() local
339 dest_role = hashtab_search(roles_tab, key); in declare_role()
340 if (dest_role == NULL) { in declare_role()
342 dest_role = malloc(sizeof(*dest_role)); in declare_role()
343 if (dest_role == NULL) { in declare_role()
348 role_datum_init(dest_role); in declare_role()
349 dest_role->s.value = role->s.value; in declare_role()
350 dest_role->flavor = role->flavor; in declare_role()
352 dest_role in declare_role()
[all...]
/third_party/selinux/libsepol/src/
H A Dlink.c1086 role_datum_t *role, *dest_role = NULL; in role_fix_callback() local
1098 dest_role = hashtab_search(role_tab, id); in role_fix_callback()
1099 assert(dest_role != NULL); in role_fix_callback()
1108 if (ebitmap_union(&dest_role->dominates, &e_tmp)) { in role_fix_callback()
1111 if (type_set_or_convert(&role->types, &dest_role->types, mod)) { in role_fix_callback()
1120 if (ebitmap_union(&dest_role->roles, &e_tmp)) { in role_fix_callback()

Completed in 5 milliseconds