Lines Matching refs:allowed
205 rc = security_xperm_test(xpd->allowed->p, perm); in avc_xperms_has_perm()
221 if (xpd && xpd->allowed) in avc_xperms_allow_perm()
222 security_xperm_set(xpd->allowed->p, perm); in avc_xperms_allow_perm()
230 if (xpd->allowed) in avc_xperms_decision_free()
231 kmem_cache_free(avc_xperms_data_cachep, xpd->allowed); in avc_xperms_decision_free()
259 memcpy(dest->allowed->p, src->allowed->p, in avc_copy_xperms_decision()
260 sizeof(src->allowed->p)); in avc_copy_xperms_decision()
285 dest->allowed->p[i] = src->allowed->p[i]; in avc_quick_copy_xperms_decision()
305 xpd->allowed = kmem_cache_zalloc(avc_xperms_data_cachep, in avc_xperms_decision_alloc()
307 if (!xpd->allowed) in avc_xperms_decision_alloc()
394 denied = requested & ~avd->allowed; in avc_xperms_audit_required()
889 node->ae.avd.allowed |= perms; in avc_update_node()
895 node->ae.avd.allowed &= ~perms; in avc_update_node()
1030 struct extended_perms_data allowed; in avc_has_extended_perms() local
1054 local_xpd.allowed = &allowed; in avc_has_extended_perms()
1065 avd.allowed &= ~requested; in avc_has_extended_perms()
1081 avd.allowed &= ~requested; in avc_has_extended_perms()
1084 denied = requested & ~(avd.allowed); in avc_has_extended_perms()
1119 denied = requested & ~(avd->allowed); in avc_perm_nonode()
1164 denied = requested & ~node->ae.avd.allowed; in avc_has_perm_noaudit()