Lines Matching refs:xperms

1562 void __avrule_xperm_setrangebits(uint16_t low, uint16_t high, struct avtab_extended_perms *xperms)  in __avrule_xperm_setrangebits()  argument
1570 xperms->perms[i] |= ~0U; in __avrule_xperm_setrangebits()
1573 xperms->perms[i] |= XPERM_SETBITS(h); in __avrule_xperm_setrangebits()
1576 xperms->perms[i] |= ~0U - XPERM_SETBITS(low); in __avrule_xperm_setrangebits()
1579 xperms->perms[i] |= XPERM_SETBITS(h) - XPERM_SETBITS(low); in __avrule_xperm_setrangebits()
1587 int __cil_permx_bitmap_to_sepol_xperms_list(ebitmap_t *xperms, struct cil_list **xperms_list) in __cil_permx_bitmap_to_sepol_xperms_list() argument
1600 ebitmap_for_each_bit(xperms, node, i) { in __cil_permx_bitmap_to_sepol_xperms_list()
1601 if (!ebitmap_get_bit(xperms, i)) continue; in __cil_permx_bitmap_to_sepol_xperms_list()
1609 if (IOC_FUNC(i) != 0xff && ebitmap_get_bit(xperms, i + 1)) { in __cil_permx_bitmap_to_sepol_xperms_list()
1685 avtab_datum.xperms = item->data; in __cil_avrulex_ioctl_to_policydb()
1712 …_hashtable(hashtab_t h, uint16_t kind, uint32_t src, uint32_t tgt, uint32_t obj, ebitmap_t *xperms) in __cil_avrulex_ioctl_to_hashtable() argument
1743 rc = ebitmap_cpy(hashtab_xperms, xperms); in __cil_avrulex_ioctl_to_hashtable()
1755 rc = ebitmap_union(hashtab_xperms, xperms); in __cil_avrulex_ioctl_to_hashtable()
4585 struct cil_list *xperms = NULL; in cil_check_neverallow() local
4632 rc = __cil_permx_bitmap_to_sepol_xperms_list(cil_rule->perms.x.permx->perms, &xperms); in cil_check_neverallow()
4637 cil_list_for_each(item, xperms) { in cil_check_neverallow()
4638 rule->xperms = item->data; in cil_check_neverallow()
4651 if (xperms != NULL) { in cil_check_neverallow()
4652 cil_list_for_each(item, xperms) { in cil_check_neverallow()
4656 cil_list_destroy(&xperms, CIL_FALSE); in cil_check_neverallow()
4659 rule->xperms = NULL; in cil_check_neverallow()