• Home
  • Raw
  • Download

Lines Matching refs:avd

23 	struct av_decision avd;  member
435 if (node && ((node->ae.avd.decided & requested) == requested)) { in avc_lookup()
474 if (ae->avd.seqno < avc_cache.latest_notif) { in avc_insert()
477 ae->avd.seqno, avc_cache.latest_notif); in avc_insert()
489 memcpy(&node->ae.avd, &ae->avd, sizeof(ae->avd)); in avc_insert()
694 struct av_decision *avd, int result, void *a) in avc_audit() argument
698 denied = requested & ~avd->allowed; in avc_audit()
700 audited = denied & avd->auditdeny; in avc_audit()
704 audited = requested & avd->auditallow; in avc_audit()
736 static void avd_init(struct av_decision *avd) in avd_init() argument
738 avd->allowed = 0; in avd_init()
739 avd->auditallow = 0; in avd_init()
740 avd->auditdeny = 0xffffffff; in avd_init()
741 avd->seqno = avc_cache.latest_notif; in avd_init()
742 avd->flags = 0; in avd_init()
749 struct avc_entry_ref *aeref, struct av_decision *avd) in avc_has_perm_noaudit() argument
757 if (avd) in avc_has_perm_noaudit()
758 avd_init(avd); in avc_has_perm_noaudit()
776 ((ae->avd.decided & requested) == requested)) { in avc_has_perm_noaudit()
791 &entry.avd); in avc_has_perm_noaudit()
805 if (avd) in avc_has_perm_noaudit()
806 memcpy(avd, &ae->avd, sizeof(*avd)); in avc_has_perm_noaudit()
808 denied = requested & ~(ae->avd.allowed); in avc_has_perm_noaudit()
812 (ae->avd.flags & SELINUX_AVD_FLAGS_PERMISSIVE)) in avc_has_perm_noaudit()
813 ae->avd.allowed |= requested; in avc_has_perm_noaudit()
830 struct av_decision avd; in avc_has_perm() local
833 rc = avc_has_perm_noaudit(ssid, tsid, tclass, requested, aeref, &avd); in avc_has_perm()
835 avc_audit(ssid, tsid, tclass, requested, &avd, rc, auditdata); in avc_has_perm()
858 tclass, 0, &entry.avd); in avc_compute_create()
950 node->ae.avd.allowed |= perms; in avc_update_node()
954 node->ae.avd.allowed &= ~perms; in avc_update_node()
957 node->ae.avd.auditallow |= perms; in avc_update_node()
960 node->ae.avd.auditallow &= ~perms; in avc_update_node()
963 node->ae.avd.auditdeny |= perms; in avc_update_node()
966 node->ae.avd.auditdeny &= ~perms; in avc_update_node()