Lines Matching refs:allowed
257 rc = security_xperm_test(xpd->allowed->p, perm); in avc_xperms_has_perm()
273 if (xpd && xpd->allowed) in avc_xperms_allow_perm()
274 security_xperm_set(xpd->allowed->p, perm); in avc_xperms_allow_perm()
282 if (xpd->allowed) in avc_xperms_decision_free()
283 kmem_cache_free(avc_xperms_data_cachep, xpd->allowed); in avc_xperms_decision_free()
311 memcpy(dest->allowed->p, src->allowed->p, in avc_copy_xperms_decision()
312 sizeof(src->allowed->p)); in avc_copy_xperms_decision()
337 dest->allowed->p[i] = src->allowed->p[i]; in avc_quick_copy_xperms_decision()
357 xpd->allowed = kmem_cache_zalloc(avc_xperms_data_cachep, in avc_xperms_decision_alloc()
359 if (!xpd->allowed) in avc_xperms_decision_alloc()
447 denied = requested & ~avd->allowed; in avc_xperms_audit_required()
881 node->ae.avd.allowed |= perms; in avc_update_node()
887 node->ae.avd.allowed &= ~perms; in avc_update_node()
1016 struct extended_perms_data allowed; in avc_has_extended_perms() local
1039 local_xpd.allowed = &allowed; in avc_has_extended_perms()
1050 avd.allowed &= ~requested; in avc_has_extended_perms()
1065 avd.allowed &= ~requested; in avc_has_extended_perms()
1068 denied = requested & ~(avd.allowed); in avc_has_extended_perms()
1122 denied = requested & ~(avd->allowed); in avc_has_perm_noaudit()