• Home
  • Raw
  • Download

Lines Matching refs:avd

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