Loading sepolicy/attributes +5 −0 Original line number Diff line number Diff line attribute mtk_property_type; # PQ attribute hal_pq; attribute hal_pq_client; attribute hal_pq_server; sepolicy/file_contexts +2 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,8 @@ /(system|system\/vendor|vendor)/bin/ged_srv u:object_r:ged_srv_exec:s0 /(system|system\/vendor|vendor)/bin/spm_loader u:object_r:spm_loader_exec:s0 /(system|system\/vendor|vendor)/bin/teed u:object_r:tkcore_exec:s0 /(system|system\/vendor|vendor)/bin/hw/vendor.mediatek.hardware.power@1.1-service u:object_r:mtk_hal_power_exec:s0 /(system|system\/vendor|vendor)/bin/hw/vendor.mediatek.hardware.pq@2.0-service u:object_r:mtk_hal_pq_exec:s0 # exfat & ntfs /system/bin/mkfs\.exfat u:object_r:mkfs_exec:s0 Loading sepolicy/hal_graphics_composer_default.te +4 −0 Original line number Diff line number Diff line Loading @@ -7,4 +7,8 @@ allow hal_graphics_composer_default proc_m4u:file r_file_perms; allow hal_graphics_composer_default proc_mtk_cmdq:file r_file_perms; allow hal_graphics_composer_default proc_chip_hwcode:file r_file_perms; allow hal_graphics_composer_default cmdq_device:chr_file r_file_perms; allow hal_graphics_composer_default self:netlink_kobject_uevent_socket { create bind setopt read }; set_prop(hal_graphics_composer_default, pq_conf_prop) sepolicy/hwservice.te +2 −0 Original line number Diff line number Diff line type mtk_hal_rild_hwservice, hwservice_manager_type; type mtk_hal_power_hwservice, hwservice_manager_type; type mtk_hal_pq_hwservice, hwservice_manager_type; sepolicy/hwservice_contexts +2 −0 Original line number Diff line number Diff line vendor.mediatek.hardware.radio::IRadio u:object_r:mtk_hal_rild_hwservice:s0 vendor.mediatek.hardware.radio::ISap u:object_r:mtk_hal_rild_hwservice:s0 vendor.mediatek.hardware.radio.deprecated::IOemHook u:object_r:mtk_hal_rild_hwservice:s0 vendor.mediatek.hardware.power::IPower u:object_r:mtk_hal_power_hwservice:s0 vendor.mediatek.hardware.pq::IPictureQuality u:object_r:mtk_hal_pq_hwservice:s0 Loading
sepolicy/attributes +5 −0 Original line number Diff line number Diff line attribute mtk_property_type; # PQ attribute hal_pq; attribute hal_pq_client; attribute hal_pq_server;
sepolicy/file_contexts +2 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,8 @@ /(system|system\/vendor|vendor)/bin/ged_srv u:object_r:ged_srv_exec:s0 /(system|system\/vendor|vendor)/bin/spm_loader u:object_r:spm_loader_exec:s0 /(system|system\/vendor|vendor)/bin/teed u:object_r:tkcore_exec:s0 /(system|system\/vendor|vendor)/bin/hw/vendor.mediatek.hardware.power@1.1-service u:object_r:mtk_hal_power_exec:s0 /(system|system\/vendor|vendor)/bin/hw/vendor.mediatek.hardware.pq@2.0-service u:object_r:mtk_hal_pq_exec:s0 # exfat & ntfs /system/bin/mkfs\.exfat u:object_r:mkfs_exec:s0 Loading
sepolicy/hal_graphics_composer_default.te +4 −0 Original line number Diff line number Diff line Loading @@ -7,4 +7,8 @@ allow hal_graphics_composer_default proc_m4u:file r_file_perms; allow hal_graphics_composer_default proc_mtk_cmdq:file r_file_perms; allow hal_graphics_composer_default proc_chip_hwcode:file r_file_perms; allow hal_graphics_composer_default cmdq_device:chr_file r_file_perms; allow hal_graphics_composer_default self:netlink_kobject_uevent_socket { create bind setopt read }; set_prop(hal_graphics_composer_default, pq_conf_prop)
sepolicy/hwservice.te +2 −0 Original line number Diff line number Diff line type mtk_hal_rild_hwservice, hwservice_manager_type; type mtk_hal_power_hwservice, hwservice_manager_type; type mtk_hal_pq_hwservice, hwservice_manager_type;
sepolicy/hwservice_contexts +2 −0 Original line number Diff line number Diff line vendor.mediatek.hardware.radio::IRadio u:object_r:mtk_hal_rild_hwservice:s0 vendor.mediatek.hardware.radio::ISap u:object_r:mtk_hal_rild_hwservice:s0 vendor.mediatek.hardware.radio.deprecated::IOemHook u:object_r:mtk_hal_rild_hwservice:s0 vendor.mediatek.hardware.power::IPower u:object_r:mtk_hal_power_hwservice:s0 vendor.mediatek.hardware.pq::IPictureQuality u:object_r:mtk_hal_pq_hwservice:s0