Merge "Allow reading dt fstab in boot control HAL."

am: 23a3355004

Change-Id: I5c97db991a5e45ba27f87d3dcedbd66a37f02240
This commit is contained in:
David Anderson 2020-01-28 08:06:29 -08:00 committed by android-build-merger
commit b4f243d0b9

View file

@ -8,6 +8,7 @@ init_daemon_domain(hal_bootctl_default)
# Needed for ReadDefaultFstab.
allow hal_bootctl_default proc_cmdline:file r_file_perms;
allow hal_bootctl_default sysfs_dt_firmware_android:dir search;
allow hal_bootctl_default sysfs_dt_firmware_android:file r_file_perms;
# ReadDefaultFstab looks for /metadata/gsi/booted. We don't care about getting
# a GSI-corrected fstab.