Home
last modified time | relevance | path

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

/external/selinux/checkpolicy/
Dmodule_compiler.c563 role_datum_t *dest_roledatum; in get_local_role() local
575 dest_roledatum = hashtab_search(roles_tab, id); in get_local_role()
576 if (!dest_roledatum) { in get_local_role()
577 dest_roledatum = (role_datum_t *)malloc(sizeof(role_datum_t)); in get_local_role()
578 if (dest_roledatum == NULL) { in get_local_role()
583 role_datum_init(dest_roledatum); in get_local_role()
584 dest_roledatum->s.value = value; in get_local_role()
585 dest_roledatum->flavor = isattr ? ROLE_ATTRIB : ROLE_ROLE; in get_local_role()
587 if (hashtab_insert(roles_tab, id, dest_roledatum)) { in get_local_role()
589 role_datum_destroy(dest_roledatum); in get_local_role()
[all …]