Lines Matching defs:avd
835 struct sepol_av_decision *avd,
858 avd->allowed = 0;
859 avd->decided = 0xffffffff;
860 avd->auditallow = 0;
861 avd->auditdeny = 0xffffffff;
862 avd->seqno = latest_granting;
887 avd->allowed |= node->datum.data;
890 avd->auditallow |= node->datum.data;
892 avd->auditdeny &= node->datum.data;
896 cond_compute_av(&policydb->te_cond_avtab, &avkey, avd);
901 if (requested & ~avd->allowed) {
903 requested &= avd->allowed;
912 if ((constraint->permissions & (avd->allowed)) &&
915 avd->allowed =
916 (avd->allowed) & ~(constraint->permissions);
921 if (requested & ~avd->allowed) {
923 requested &= avd->allowed;
932 (avd->allowed & (PROCESS__TRANSITION | PROCESS__DYNTRANSITION)) &&
940 avd->allowed = (avd->allowed) & ~(PROCESS__TRANSITION |
944 if (requested & ~avd->allowed) {
946 requested &= avd->allowed;
1065 struct sepol_av_decision *avd,
1085 requested, avd, reason, NULL, 0);
1099 struct sepol_av_decision *avd,
1132 requested, avd, reason, reason_buf, flags);
1141 struct sepol_av_decision *avd)
1144 return sepol_compute_av_reason(ssid, tsid, tclass, requested, avd,
1997 struct sepol_av_decision avd;
2042 &avd, &reason, NULL, 0);
2043 if (rc || !(avd.allowed & PROCESS__TRANSITION))