android_device_samsung_msm8.../sepolicy/common/vold.te
Vladimir Oltean 1a7d87aba7
msm8974-common: sepolicy: allow uevent to control sysfs_mmc_host via vold
Change-Id: Iafea09efae38fb82f4019c6d3b3b4bb756cdca0b
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
2020-12-30 09:19:01 -07:00

18 lines
431 B
Plaintext

allow vold efs_file:dir rw_dir_perms;
allow vold efs_file:file create;
# For setting read_ahead_kb
allow vold sysfs_mmc_host:file w_file_perms;
allow vold {
block_device
cache_block_device
efs_block_device
system_block_device
}:blk_file getattr;
allowxperm vold vold_device:blk_file ioctl 0x1271;
allowxperm vold vold_device:blk_file ioctl BLKROGET;
dontaudit vold hal_bootctl_hwservice:hwservice_manager find;