diff --git a/sepolicy/vendor/awinic.te b/sepolicy/vendor/awinic.te deleted file mode 100644 index d37820f..0000000 --- a/sepolicy/vendor/awinic.te +++ /dev/null @@ -1 +0,0 @@ -allow mtk_hal_audio aw87xxx_vmax:file { read getattr open }; diff --git a/sepolicy/vendor/hal_audio_default.te b/sepolicy/vendor/hal_audio_default.te index aecbef2..a94aaf9 100644 --- a/sepolicy/vendor/hal_audio_default.te +++ b/sepolicy/vendor/hal_audio_default.te @@ -4,6 +4,8 @@ allow hal_audio_default mtk_audiohal_data_file:dir create_dir_perms; allow hal_audio_default mtk_audiohal_data_file:file create_file_perms; allow hal_audio_default sysfs_boot_info:file r_file_perms; allow hal_audio_default vow_device:chr_file rw_file_perms; +allow hal_audio_default sysfs:file { read getattr open }; +allow hal_audio_default aw87xxx_vmax:file { read getattr open }; dontaudit hal_audio_default hal_power_hwservice:hwservice_manager find; diff --git a/sepolicy/vendor/mtk_hal_audio.te b/sepolicy/vendor/mtk_hal_audio.te deleted file mode 100644 index 2b7061c..0000000 --- a/sepolicy/vendor/mtk_hal_audio.te +++ /dev/null @@ -1 +0,0 @@ -allow mtk_hal_audio sysfs:file { read getattr open };