msm8974-common: sepolicy

This commit is contained in:
nyyu 2023-01-08 11:36:26 +01:00
parent 852519a4e9
commit 24fedfac2a
3 changed files with 5 additions and 2 deletions

View File

@ -1 +1,4 @@
allow hal_power_default sysfs_hal_pwr:file w_file_perms; allow hal_power_default sysfs_hal_pwr:file w_file_perms;
allow hal_power_stats_default sysfs_iio:dir { search open r_dir_perms };
allow hal_power_stats_default sysfs_iio:lnk_file r_file_perms;
allow hal_power_stats_default sysfs_iio:file r_file_perms;

View File

@ -11,7 +11,6 @@ allow vold {
system_block_device system_block_device
}:blk_file getattr; }:blk_file getattr;
allowxperm vold vold_device:blk_file ioctl 0x1271; allowxperm vold vold_device:blk_file ioctl { BLKDISCARD BLKGETSIZE };
allowxperm vold vold_device:blk_file ioctl BLKROGET;
dontaudit vold hal_bootctl_hwservice:hwservice_manager find; dontaudit vold hal_bootctl_hwservice:hwservice_manager find;

View File

@ -0,0 +1 @@
allow vold blkid_exec:file rx_file_perms;