Lines Matching refs:avd

88 				     struct av_decision *avd);
374 struct av_decision *avd) in type_attribute_bounds_av() argument
397 if ( (lo_avd.allowed & avd->allowed) == avd->allowed ) in type_attribute_bounds_av()
399 masked = ~lo_avd.allowed & avd->allowed; in type_attribute_bounds_av()
414 if ( (lo_avd.allowed & avd->allowed) == avd->allowed ) in type_attribute_bounds_av()
416 masked = ~lo_avd.allowed & avd->allowed; in type_attribute_bounds_av()
432 if ( (lo_avd.allowed & avd->allowed) == avd->allowed ) in type_attribute_bounds_av()
434 masked = ~lo_avd.allowed & avd->allowed; in type_attribute_bounds_av()
440 avd->allowed &= ~masked; in type_attribute_bounds_av()
456 struct av_decision *avd) in context_struct_compute_av() argument
470 avd->allowed = 0; in context_struct_compute_av()
471 avd->auditallow = 0; in context_struct_compute_av()
472 avd->auditdeny = 0xffffffff; in context_struct_compute_av()
473 avd->seqno = latest_granting; in context_struct_compute_av()
474 avd->flags = 0; in context_struct_compute_av()
503 avd->allowed |= node->datum.data; in context_struct_compute_av()
505 avd->auditallow |= node->datum.data; in context_struct_compute_av()
507 avd->auditdeny &= node->datum.data; in context_struct_compute_av()
511 cond_compute_av(&policydb.te_cond_avtab, &avkey, avd); in context_struct_compute_av()
523 if ( (constraint->permissions & (avd->allowed) ) && in context_struct_compute_av()
526 avd->allowed &= ~(constraint->permissions); in context_struct_compute_av()
537 (avd->allowed & DOMAIN__TRANSITION) && in context_struct_compute_av()
546 avd->allowed &= ~DOMAIN__TRANSITION; in context_struct_compute_av()
555 tclass, requested, avd); in context_struct_compute_av()
667 struct av_decision *avd) in security_compute_av() argument
674 avd->allowed = 0xffffffff; in security_compute_av()
675 avd->auditallow = 0; in security_compute_av()
676 avd->auditdeny = 0xffffffff; in security_compute_av()
677 avd->seqno = latest_granting; in security_compute_av()
698 rc = context_struct_compute_av(scontext, tcontext, tclass, requested, avd); in security_compute_av()
702 avd->flags |= AVD_FLAGS_PERMISSIVE; in security_compute_av()