Home | History | Annotate | Download | only in src

Lines Matching full:xperms

1580 void __avrule_xperm_setrangebits(uint16_t low, uint16_t high, struct avtab_extended_perms *xperms)
1588 xperms->perms[i] |= ~0U;
1591 xperms->perms[i] |= XPERM_SETBITS(h);
1594 xperms->perms[i] |= ~0U - XPERM_SETBITS(low);
1597 xperms->perms[i] |= XPERM_SETBITS(h) - XPERM_SETBITS(low);
1605 int __cil_permx_bitmap_to_sepol_xperms_list(ebitmap_t *xperms, struct cil_list **xperms_list)
1618 ebitmap_for_each_bit(xperms, node, i) {
1619 if (!ebitmap_get_bit(xperms, i)) continue;
1627 if (IOC_FUNC(i) != 0xff && ebitmap_get_bit(xperms, i + 1)) {
1703 avtab_datum.xperms = item->data;
1730 int __cil_avrulex_ioctl_to_hashtable(hashtab_t h, uint16_t kind, uint32_t src, uint32_t tgt, uint32_t obj, ebitmap_t *xperms)
1761 rc = ebitmap_cpy(hashtab_xperms, xperms);
1773 rc = ebitmap_union(hashtab_xperms, xperms);
4671 struct cil_list *xperms = NULL;
4718 rc = __cil_permx_bitmap_to_sepol_xperms_list(cil_rule->perms.x.permx->perms, &xperms);
4723 cil_list_for_each(item, xperms) {
4724 rule->xperms = item->data;
4737 if (xperms != NULL) {
4738 cil_list_for_each(item, xperms) {
4742 cil_list_destroy(&xperms, CIL_FALSE);
4745 rule->xperms = NULL;