Lines Matching full:allowed
207 rc = security_xperm_test(xpd->allowed->p, perm); in avc_xperms_has_perm()
223 if (xpd && xpd->allowed) in avc_xperms_allow_perm()
224 security_xperm_set(xpd->allowed->p, perm); in avc_xperms_allow_perm()
232 if (xpd->allowed) in avc_xperms_decision_free()
233 kmem_cache_free(avc_xperms_data_cachep, xpd->allowed); in avc_xperms_decision_free()
261 memcpy(dest->allowed->p, src->allowed->p, in avc_copy_xperms_decision()
262 sizeof(src->allowed->p)); in avc_copy_xperms_decision()
287 dest->allowed->p[i] = src->allowed->p[i]; in avc_quick_copy_xperms_decision()
307 xpd->allowed = kmem_cache_zalloc(avc_xperms_data_cachep, in avc_xperms_decision_alloc()
309 if (!xpd->allowed) in avc_xperms_decision_alloc()
396 denied = requested & ~avd->allowed; in avc_xperms_audit_required()
905 node->ae.avd.allowed |= perms; in avc_update_node()
911 node->ae.avd.allowed &= ~perms; in avc_update_node()
1047 struct extended_perms_data allowed; in avc_has_extended_perms() local
1071 local_xpd.allowed = &allowed; in avc_has_extended_perms()
1082 avd.allowed &= ~requested; in avc_has_extended_perms()
1098 avd.allowed &= ~requested; in avc_has_extended_perms()
1101 denied = requested & ~(avd.allowed); in avc_has_extended_perms()
1158 denied = requested & ~(avd->allowed); in avc_has_perm_noaudit()