diff --git a/generic/vendor/common/hwservice.te b/generic/vendor/common/hwservice.te index c8410963..10a178ff 100644 --- a/generic/vendor/common/hwservice.te +++ b/generic/vendor/common/hwservice.te @@ -36,7 +36,7 @@ type hal_imsrtp_hwservice, hwservice_manager_type; type hal_imscallinfo_hwservice, hwservice_manager_type; type hal_ipacm_hwservice, hwservice_manager_type; type hal_hbtp_hwservice, hwservice_manager_type; -type hal_perf_hwservice, hwservice_manager_type, untrusted_app_visible_hwservice_violators; +type hal_perf_hwservice, hwservice_manager_type; type hal_tui_comm_hwservice, hwservice_manager_type; type hal_qdutils_disp_hwservice, hwservice_manager_type; type hal_display_color_hwservice, hwservice_manager_type; diff --git a/generic/vendor/common/vendor_init.te b/generic/vendor/common/vendor_init.te index b5db873f..47975b55 100644 --- a/generic/vendor/common/vendor_init.te +++ b/generic/vendor/common/vendor_init.te @@ -25,8 +25,6 @@ # OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN # IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -typeattribute vendor_init data_between_core_and_vendor_violators; - allow vendor_init persist_block_device:{ blk_file lnk_file } relabelto; allow vendor_init unlabeled:dir { r_dir_perms setattr relabelfrom }; allow vendor_init unlabeled:file { r_file_perms setattr relabelfrom }; @@ -62,13 +60,7 @@ allow vendor_init sysfs_slpi:file write; allow vendor_init vendor_file:system module_load; allow vendor_init { - bluetooth_data_file vendor_camera_data_file - dhcp_data_file - media_rw_data_file - nfc_data_file - system_data_file - tombstone_data_file vendor_tui_data_file }:dir create_dir_perms; @@ -95,4 +87,4 @@ set_prop(vendor_init, public_vendor_default_prop) set_prop(vendor_init, exported_system_prop) #Access vendor bluetooth properties -set_prop(vendor_init, vendor_bluetooth_prop) \ No newline at end of file +set_prop(vendor_init, vendor_bluetooth_prop)