xperms 228 security/selinux/include/security.h struct extended_perms *xperms); xperms 74 security/selinux/ss/avtab.c struct avtab_extended_perms *xperms; xperms 81 security/selinux/ss/avtab.c xperms = kmem_cache_zalloc(avtab_xperms_cachep, GFP_KERNEL); xperms 82 security/selinux/ss/avtab.c if (xperms == NULL) { xperms 86 security/selinux/ss/avtab.c *xperms = *(datum->u.xperms); xperms 87 security/selinux/ss/avtab.c newnode->datum.u.xperms = xperms; xperms 292 security/selinux/ss/avtab.c temp->datum.u.xperms); xperms 397 security/selinux/ss/avtab.c struct avtab_extended_perms xperms; xperms 398 security/selinux/ss/avtab.c __le32 buf32[ARRAY_SIZE(xperms.perms.p)]; xperms 514 security/selinux/ss/avtab.c memset(&xperms, 0, sizeof(struct avtab_extended_perms)); xperms 515 security/selinux/ss/avtab.c rc = next_entry(&xperms.specified, fp, sizeof(u8)); xperms 520 security/selinux/ss/avtab.c rc = next_entry(&xperms.driver, fp, sizeof(u8)); xperms 525 security/selinux/ss/avtab.c rc = next_entry(buf32, fp, sizeof(u32)*ARRAY_SIZE(xperms.perms.p)); xperms 530 security/selinux/ss/avtab.c for (i = 0; i < ARRAY_SIZE(xperms.perms.p); i++) xperms 531 security/selinux/ss/avtab.c xperms.perms.p[i] = le32_to_cpu(buf32[i]); xperms 532 security/selinux/ss/avtab.c datum.u.xperms = &xperms; xperms 602 security/selinux/ss/avtab.c __le32 buf32[ARRAY_SIZE(cur->datum.u.xperms->perms.p)]; xperms 615 security/selinux/ss/avtab.c rc = put_entry(&cur->datum.u.xperms->specified, sizeof(u8), 1, fp); xperms 618 security/selinux/ss/avtab.c rc = put_entry(&cur->datum.u.xperms->driver, sizeof(u8), 1, fp); xperms 621 security/selinux/ss/avtab.c for (i = 0; i < ARRAY_SIZE(cur->datum.u.xperms->perms.p); i++) xperms 622 security/selinux/ss/avtab.c buf32[i] = cpu_to_le32(cur->datum.u.xperms->perms.p[i]); xperms 624 security/selinux/ss/avtab.c ARRAY_SIZE(cur->datum.u.xperms->perms.p), fp); xperms 73 security/selinux/ss/avtab.h struct avtab_extended_perms *xperms; xperms 633 security/selinux/ss/conditional.c struct av_decision *avd, struct extended_perms *xperms) xperms 656 security/selinux/ss/conditional.c if (xperms && (node->key.specified & AVTAB_ENABLED) && xperms 658 security/selinux/ss/conditional.c services_compute_xperms_drivers(xperms, node); xperms 75 security/selinux/ss/conditional.h struct av_decision *avd, struct extended_perms *xperms); xperms 99 security/selinux/ss/services.c struct extended_perms *xperms); xperms 589 security/selinux/ss/services.c struct extended_perms *xperms, xperms 594 security/selinux/ss/services.c if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLDRIVER) { xperms 596 security/selinux/ss/services.c for (i = 0; i < ARRAY_SIZE(xperms->drivers.p); i++) xperms 597 security/selinux/ss/services.c xperms->drivers.p[i] |= node->datum.u.xperms->perms.p[i]; xperms 598 security/selinux/ss/services.c } else if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLFUNCTION) { xperms 600 security/selinux/ss/services.c security_xperm_set(xperms->drivers.p, xperms 601 security/selinux/ss/services.c node->datum.u.xperms->driver); xperms 606 security/selinux/ss/services.c xperms->len = 1; xperms 618 security/selinux/ss/services.c struct extended_perms *xperms) xperms 632 security/selinux/ss/services.c if (xperms) { xperms 633 security/selinux/ss/services.c memset(&xperms->drivers, 0, sizeof(xperms->drivers)); xperms 634 security/selinux/ss/services.c xperms->len = 0; xperms 667 security/selinux/ss/services.c else if (xperms && (node->key.specified & AVTAB_XPERMS)) xperms 668 security/selinux/ss/services.c services_compute_xperms_drivers(xperms, node); xperms 673 security/selinux/ss/services.c avd, xperms); xperms 949 security/selinux/ss/services.c if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLFUNCTION) { xperms 950 security/selinux/ss/services.c if (xpermd->driver != node->datum.u.xperms->driver) xperms 952 security/selinux/ss/services.c } else if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLDRIVER) { xperms 953 security/selinux/ss/services.c if (!security_xperm_test(node->datum.u.xperms->perms.p, xperms 962 security/selinux/ss/services.c if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLDRIVER) { xperms 966 security/selinux/ss/services.c if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLFUNCTION) { xperms 969 security/selinux/ss/services.c node->datum.u.xperms->perms.p[i]; xperms 973 security/selinux/ss/services.c if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLDRIVER) { xperms 977 security/selinux/ss/services.c if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLFUNCTION) { xperms 980 security/selinux/ss/services.c node->datum.u.xperms->perms.p[i]; xperms 984 security/selinux/ss/services.c if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLDRIVER) { xperms 988 security/selinux/ss/services.c if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLFUNCTION) { xperms 991 security/selinux/ss/services.c node->datum.u.xperms->perms.p[i]; xperms 1097 security/selinux/ss/services.c struct extended_perms *xperms) xperms 1106 security/selinux/ss/services.c xperms->len = 0; xperms 1138 security/selinux/ss/services.c xperms); xperms 36 security/selinux/ss/services.h void services_compute_xperms_drivers(struct extended_perms *xperms,