Home | History | Annotate | Download | only in src

Lines Matching defs:ae

29 	struct avc_entry ae;
311 if (!cur->ae.used)
314 cur->ae.used = 0;
337 static inline void avc_clear_avc_entry(struct avc_entry *ae)
339 memset(ae, 0, sizeof(*ae));
363 avc_clear_avc_entry(&new->ae);
364 new->ae.used = 1;
365 new->ae.ssid = ssid;
366 new->ae.tsid = tsid;
367 new->ae.tclass = tclass;
387 (ssid != cur->ae.ssid ||
388 tclass != cur->ae.tclass || tsid != cur->ae.tsid)) {
402 cur->ae.used = 1;
433 if (node && ((node->ae.avd.decided & requested) == requested)) {
436 aeref->ae = &node->ae;
451 * @ae: AVC entry
459 * sequence number @ae->avd.seqno is not less than the latest
467 struct avc_entry *ae, struct avc_entry_ref *aeref)
472 if (ae->avd.seqno < avc_cache.latest_notif) {
475 ae->avd.seqno, avc_cache.latest_notif);
487 memcpy(&node->ae.avd, &ae->avd, sizeof(ae->avd));
488 aeref->ae = &node->ae;
516 avc_clear_avc_entry(&tmp->ae);
750 ae;
770 ae = aeref->ae;
771 if (ae) {
772 if (ae->ssid == ssid &&
773 ae->tsid == tsid &&
774 ae->tclass == tclass &&
775 ((ae->avd.decided & requested) == requested)) {
777 ae->used = 1;
780 ae = 0;
784 if (!ae) {
801 ae = aeref->ae;
805 memcpy(avd, &ae->avd, sizeof(*avd));
807 denied = requested & ~(ae->avd.allowed);
811 (ae->avd.flags & SELINUX_AVD_FLAGS_PERMISSIVE))
812 ae->avd.allowed |= requested;
867 if (!aeref.ae->create_sid) {
878 aeref.ae->create_sid = *newsid;
881 *newsid = aeref.ae->create_sid;
950 node->ae.avd.allowed |= perms;
954 node->ae.avd.allowed &= ~perms;
957 node->ae.avd.auditallow |= perms;
960 node->ae.avd.auditallow &= ~perms;
963 node->ae.avd.auditdeny |= perms;
966 node->ae.avd.auditdeny &= ~perms;
984 if (avc_sidcmp(ssid, node->ae.ssid) &&
985 avc_sidcmp(tsid, node->ae.tsid) &&
986 tclass == node->ae.tclass) {