Lines Matching refs:xpermd
944 void services_compute_xperms_decision(struct extended_perms_decision *xpermd, in services_compute_xperms_decision() argument
950 if (xpermd->driver != node->datum.u.xperms->driver) in services_compute_xperms_decision()
954 xpermd->driver)) in services_compute_xperms_decision()
961 xpermd->used |= XPERMS_ALLOWED; in services_compute_xperms_decision()
963 memset(xpermd->allowed->p, 0xff, in services_compute_xperms_decision()
964 sizeof(xpermd->allowed->p)); in services_compute_xperms_decision()
967 for (i = 0; i < ARRAY_SIZE(xpermd->allowed->p); i++) in services_compute_xperms_decision()
968 xpermd->allowed->p[i] |= in services_compute_xperms_decision()
972 xpermd->used |= XPERMS_AUDITALLOW; in services_compute_xperms_decision()
974 memset(xpermd->auditallow->p, 0xff, in services_compute_xperms_decision()
975 sizeof(xpermd->auditallow->p)); in services_compute_xperms_decision()
978 for (i = 0; i < ARRAY_SIZE(xpermd->auditallow->p); i++) in services_compute_xperms_decision()
979 xpermd->auditallow->p[i] |= in services_compute_xperms_decision()
983 xpermd->used |= XPERMS_DONTAUDIT; in services_compute_xperms_decision()
985 memset(xpermd->dontaudit->p, 0xff, in services_compute_xperms_decision()
986 sizeof(xpermd->dontaudit->p)); in services_compute_xperms_decision()
989 for (i = 0; i < ARRAY_SIZE(xpermd->dontaudit->p); i++) in services_compute_xperms_decision()
990 xpermd->dontaudit->p[i] |= in services_compute_xperms_decision()
1003 struct extended_perms_decision *xpermd) in security_compute_xperms_decision() argument
1015 xpermd->driver = driver; in security_compute_xperms_decision()
1016 xpermd->used = 0; in security_compute_xperms_decision()
1017 memset(xpermd->allowed->p, 0, sizeof(xpermd->allowed->p)); in security_compute_xperms_decision()
1018 memset(xpermd->auditallow->p, 0, sizeof(xpermd->auditallow->p)); in security_compute_xperms_decision()
1019 memset(xpermd->dontaudit->p, 0, sizeof(xpermd->dontaudit->p)); in security_compute_xperms_decision()
1067 services_compute_xperms_decision(xpermd, node); in security_compute_xperms_decision()
1070 &avkey, xpermd); in security_compute_xperms_decision()
1077 memset(xpermd->allowed->p, 0xff, sizeof(xpermd->allowed->p)); in security_compute_xperms_decision()