[MTE] ignore mtectrl selinux error for device tree.
Bug: 245624194 Test: adb logcat | grep sysfs_dt_firmware_android Change-Id: Ia51def3dcc27b6d91cc10733b741186b3bd460c5
This commit is contained in:
parent
e325a7e554
commit
09f14e9c12
1 changed files with 6 additions and 0 deletions
|
@ -13,3 +13,9 @@ set_prop(mtectrl, arm64_memtag_prop)
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue