recovery: Add non-ab dynamic partitions policies

With dynamic partitions enabled, recovery, while doing non-a/b ota
needs read access to sysfs_dm, allow the same.

Change-Id: I98d3d2421ffd49df1d2b84bb42cab9ee529d530a
This commit is contained in:
padarshr
2019-05-16 19:04:24 +05:30
committed by Gerrit - the friendly Code Review server
parent 57528806a2
commit 0a4914f674

View File

@@ -41,4 +41,6 @@ recovery_only(`
allow recovery sg_device:chr_file rw_file_perms;
allow recovery self:capability sys_rawio;
allow recovery sg_device:chr_file ioctl;
allow recovery sysfs_dm:dir r_dir_perms;
allow recovery sysfs_dm:file r_file_perms;
')