diff --git a/sepolicy/vendor/dataservice_app.te b/sepolicy/vendor/dataservice_app.te index c3f4a029..ff3ba9e3 100644 --- a/sepolicy/vendor/dataservice_app.te +++ b/sepolicy/vendor/dataservice_app.te @@ -1,2 +1 @@ allow vendor_dataservice_app system_data_file:dir r_dir_perms; -allow vendor_dataservice_app system_data_file:dir search; diff --git a/sepolicy/vendor/hal_light_default.te b/sepolicy/vendor/hal_light_default.te index 7cc41d5a..8c63d4c4 100644 --- a/sepolicy/vendor/hal_light_default.te +++ b/sepolicy/vendor/hal_light_default.te @@ -1,2 +1 @@ allow hal_light_default sysfs:file rw_file_perms; -allow hal_light_default sysfs:file { open read write }; diff --git a/sepolicy/vendor/hal_power_default.te b/sepolicy/vendor/hal_power_default.te index 03d161b6..b4be2a9c 100644 --- a/sepolicy/vendor/hal_power_default.te +++ b/sepolicy/vendor/hal_power_default.te @@ -1,4 +1,3 @@ -allow hal_power_default cgroup:file read; allow hal_power_default cgroup:file rw_file_perms; allow hal_power_default latency_device:chr_file rw_file_perms; allow hal_power_default sysfs_battery_saver:dir r_dir_perms; diff --git a/sepolicy/vendor/init.te b/sepolicy/vendor/init.te index 8f2d7ef3..268251f8 100644 --- a/sepolicy/vendor/init.te +++ b/sepolicy/vendor/init.te @@ -9,10 +9,6 @@ allow init sysfs_battery_supply:file setattr; allow init vendor_default_prop:property_service set; allow init sysfs_info:file { open read }; -allow init { - bt_firmware_file - firmware_file -}:filesystem getattr; allow init firmware_file:filesystem { getattr }; allow init bt_firmware_file:filesystem { getattr }; allow init apex_metadata_file:lnk_file { read }; diff --git a/sepolicy/vendor/system_app.te b/sepolicy/vendor/system_app.te index 19919b44..33c736f0 100644 --- a/sepolicy/vendor/system_app.te +++ b/sepolicy/vendor/system_app.te @@ -1,6 +1,5 @@ allow system_app blkio_dev:dir search; allow system_app hall_dev:file rw_file_perms; -allow system_app hall_dev:dir search; allow system_app kcal_dev:dir search; allow system_app kcal_dev:file rw_file_perms; allow system_app proc_pagetypeinfo:file r_file_perms; diff --git a/sepolicy/vendor/qcom/vendor_init.te b/sepolicy/vendor/vendor_qti_init_shell.te similarity index 100% rename from sepolicy/vendor/qcom/vendor_init.te rename to sepolicy/vendor/vendor_qti_init_shell.te diff --git a/sepolicy/vendor/vold.te b/sepolicy/vendor/vold.te index e00eb1ed..ea9191d7 100644 --- a/sepolicy/vendor/vold.te +++ b/sepolicy/vendor/vold.te @@ -1,5 +1,4 @@ -allow vold sysfs_mmc_host:file write; allow vold sysfs_mmc_host:file create_file_perms; allow vold vendor_apex_file:file { getattr }; allow vold mnt_vendor_file:dir { ioctl open read }; -allow vold cache_block_device:blk_file { getattr }; \ No newline at end of file +allow vold cache_block_device:blk_file { getattr };