[MTE] ignore mtectrl selinux error for device tree.
Bug: 245624194
Test: adb logcat | grep sysfs_dt_firmware_android
Change-Id: Ia51def3dcc27b6d91cc10733b741186b3bd460c5
diff --git a/private/mtectrl.te b/private/mtectrl.te
index a727b25..e0418bc 100644
--- a/private/mtectrl.te
+++ b/private/mtectrl.te
@@ -13,3 +13,9 @@
allow mtectrl misc_block_device:blk_file rw_file_perms;
allow mtectrl block_device:dir r_dir_perms;
read_fstab(mtectrl)
+
+# bootloader_message tries to find the fstab in the device config path first,
+# but because we've already booted up we can use the ro.boot properties instead,
+# so we can just ignore the SELinux denial.
+dontaudit mtectrl sysfs_dt_firmware_android:dir search;
+dontaudit mtectrl vendor_property_type:file read;