Revert "Start tracking vendor seapp coredomain violations"
This reverts commit 292f22a33bdb9cbc4283236e7547d5f909d1c1d7.
Reason for revert: removed all attribute usages; no need
Change-Id: Iab489f1a94733438ba0c552fb9e3eb354423a156
diff --git a/tools/check_seapp.c b/tools/check_seapp.c
index 41a713d..862ecce 100644
--- a/tools/check_seapp.c
+++ b/tools/check_seapp.c
@@ -22,7 +22,6 @@
#define APP_DATA_REQUIRED_ATTRIB "app_data_file_type"
#define COREDOMAIN "coredomain"
-#define VENDOR_SEAPP_ASSIGNS_COREDOMAIN_VIOLATORS "vendor_seapp_assigns_coredomain_violators"
/**
* Initializes an empty, static list.
@@ -450,13 +449,7 @@
return false;
}
- type_datum_t *attrib_violators = find_type(pol.db,
- VENDOR_SEAPP_ASSIGNS_COREDOMAIN_VIOLATORS,
- TYPE_ATTRIB);
- bool allowlisted = attrib_violators != NULL &&
- type_has_attribute(pol.db, type_dat, attrib_violators);
-
- if (type_has_attribute(pol.db, type_dat, attrib_dat) && !allowlisted) {
+ if (type_has_attribute(pol.db, type_dat, attrib_dat)) {
coredomain_violation_entry *entry = (coredomain_violation_entry *)malloc(sizeof(*entry));
entry->domain = strdup(value);
entry->filename = strdup(filename);