Home
last modified time | relevance | path

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

/third_party/selinux/checkpolicy/
Dmodule_compiler.c669 role_datum_t *dest_roledatum; in get_local_role() local
681 dest_roledatum = hashtab_search(roles_tab, id); in get_local_role()
682 if (!dest_roledatum) { in get_local_role()
683 dest_roledatum = (role_datum_t *)malloc(sizeof(role_datum_t)); in get_local_role()
684 if (dest_roledatum == NULL) { in get_local_role()
689 role_datum_init(dest_roledatum); in get_local_role()
690 dest_roledatum->s.value = value; in get_local_role()
691 dest_roledatum->flavor = isattr ? ROLE_ATTRIB : ROLE_ROLE; in get_local_role()
693 if (hashtab_insert(roles_tab, id, dest_roledatum)) { in get_local_role()
695 role_datum_destroy(dest_roledatum); in get_local_role()
[all …]