Revert "Suppress a denial on VM boot"
This reverts commit faa538dbfcfde2ab6a732e6caf9e7a1a120ded16.
Reason for revert: aosp/2786963 implements the correct SEPolicy
Test: atest MicrodroidHostTests
Fixes: 306516077
Change-Id: Ia7e6db4ee4f7fa870093a34d1b8fde96d9e9b80a
diff --git a/microdroid/system/private/init.te b/microdroid/system/private/init.te
index 2dbf495..f4541a3 100644
--- a/microdroid/system/private/init.te
+++ b/microdroid/system/private/init.te
@@ -435,7 +435,3 @@
# PRNG seeder daemon socket is created and listened on by init before forking.
allow init prng_seeder:unix_stream_socket { create bind listen };
-
-# Workaround for test failures (b/306516077)
-# We get a denial for this on VM boot, but the denial is correct.
-dontaudit init device:file relabelto;
diff --git a/private/init.te b/private/init.te
index 67e5561..9d3a2c3 100644
--- a/private/init.te
+++ b/private/init.te
@@ -123,7 +123,3 @@
-vm_manager_device_type
-port_device
}:chr_file setattr;
-
-# Workaround for test failures (b/306516077)
-# We get a denial for this on boot, but the denial is correct.
-dontaudit init device:file relabelto;