diff --git a/non_plat/thermalindicator.te b/non_plat/thermalindicator.te deleted file mode 100644 index a7256a9..0000000 --- a/non_plat/thermalindicator.te +++ /dev/null @@ -1,3 +0,0 @@ -# Date : WK16.33 -# Purpose: Allow to access ged for gralloc_extra functions -allow thermalindicator proc_ged:file rw_file_perms; diff --git a/plat_private/file_contexts b/plat_private/file_contexts index 3b2d143..ccaa046 100644 --- a/plat_private/file_contexts +++ b/plat_private/file_contexts @@ -20,7 +20,6 @@ /system/bin/netdiag u:object_r:netdiag_exec:s0 /system/bin/loghidlsysservice u:object_r:loghidlsysservice_exec:s0 /system/bin/cmddumper u:object_r:cmddumper_exec:s0 -/system/bin/thermalindicator u:object_r:thermalindicator_exec:s0 /system/bin/em_svr u:object_r:em_svr_exec:s0 /system/bin/aee_aed u:object_r:aee_aed_exec:s0 /system/bin/aee_aed64 u:object_r:aee_aed_exec:s0 diff --git a/plat_private/thermalindicator.te b/plat_private/thermalindicator.te deleted file mode 100644 index ae20d75..0000000 --- a/plat_private/thermalindicator.te +++ /dev/null @@ -1,40 +0,0 @@ -# ============================================================================= -# MTK Policy Rule -# ============================================================================= - -# New added for move to /system -type thermalindicator_exec, system_file_type, exec_type, file_type; -typeattribute thermalindicator coredomain; - -init_daemon_domain(thermalindicator) - -allow thermalindicator gpu_device:chr_file { getattr read write ioctl open }; -allow thermalindicator surfaceflinger:fd use; -allow thermalindicator surfaceflinger:binder call; -allow thermalindicator surfaceflinger:binder transfer; -allow thermalindicator surfaceflinger_service:service_manager find; -allow thermalindicator servicemanager:binder call; -allow thermalindicator property_socket:sock_file write; -allow thermalindicator init:unix_stream_socket connectto; - -allow surfaceflinger thermalindicator:fd use; -allow surfaceflinger thermalindicator:binder call; -allow surfaceflinger thermalindicator:binder transfer; -allow surfaceflinger thermalindicator:file { getattr read open }; -allow surfaceflinger thermalindicator:dir search; - -allow servicemanager thermalindicator:dir search; -allow servicemanager thermalindicator:file { read open }; -allow servicemanager thermalindicator:process { getattr }; - -# For /proc/[pid]/cmdline accessing -typeattribute thermalindicator mlstrustedsubject; - -allow thermalindicator proc:dir {search getattr}; -allow thermalindicator shell:dir search; -allow thermalindicator platform_app:dir search; -allow thermalindicator platform_app:file {open read getattr}; -allow thermalindicator untrusted_app:dir search; -allow thermalindicator untrusted_app:file {open read getattr}; -allow thermalindicator mediaserver:dir search; -allow thermalindicator mediaserver:file {open read getattr}; diff --git a/plat_public/thermalindicator.te b/plat_public/thermalindicator.te deleted file mode 100644 index 5427a7a..0000000 --- a/plat_public/thermalindicator.te +++ /dev/null @@ -1,7 +0,0 @@ -# ============================================================================= -# Policy File of /system/bin/thermalindicator Executable File - -# ============================================================================= -# Type Declaration -# ============================================================================= -type thermalindicator, domain; \ No newline at end of file diff --git a/prebuilts/api/26.0/plat_private/file_contexts b/prebuilts/api/26.0/plat_private/file_contexts index dbc2923..8145163 100755 --- a/prebuilts/api/26.0/plat_private/file_contexts +++ b/prebuilts/api/26.0/plat_private/file_contexts @@ -14,7 +14,6 @@ /system/bin/cmddumper u:object_r:cmddumper_exec:s0 /system/bin/netdiag u:object_r:netdiag_exec:s0 /system/bin/mobile_log_d u:object_r:mobile_log_d_exec:s0 -/system/bin/thermalindicator u:object_r:thermalindicator_exec:s0 /system/bin/em_svr u:object_r:em_svr_exec:s0 /system/bin/aee_aed u:object_r:aee_aed_exec:s0 /system/bin/aee_aed64 u:object_r:aee_aed_exec:s0 diff --git a/prebuilts/api/26.0/plat_private/thermalindicator.te b/prebuilts/api/26.0/plat_private/thermalindicator.te deleted file mode 100755 index 735f3ca..0000000 --- a/prebuilts/api/26.0/plat_private/thermalindicator.te +++ /dev/null @@ -1,40 +0,0 @@ -# ============================================================================= -# MTK Policy Rule -# ============================================================================= - -# New added for move to /system -type thermalindicator_exec, exec_type, file_type; -typeattribute thermalindicator coredomain; - -init_daemon_domain(thermalindicator) - -allow thermalindicator gpu_device:chr_file { getattr read write ioctl open }; -allow thermalindicator surfaceflinger:fd use; -allow thermalindicator surfaceflinger:binder call; -allow thermalindicator surfaceflinger:binder transfer; -allow thermalindicator surfaceflinger_service:service_manager find; -allow thermalindicator servicemanager:binder call; -allow thermalindicator property_socket:sock_file write; -allow thermalindicator init:unix_stream_socket connectto; - -allow surfaceflinger thermalindicator:fd use; -allow surfaceflinger thermalindicator:binder call; -allow surfaceflinger thermalindicator:binder transfer; -allow surfaceflinger thermalindicator:file { getattr read open }; -allow surfaceflinger thermalindicator:dir search; - -allow servicemanager thermalindicator:dir search; -allow servicemanager thermalindicator:file { read open }; -allow servicemanager thermalindicator:process { getattr }; - -# For /proc/[pid]/cmdline accessing -typeattribute thermalindicator mlstrustedsubject; - -allow thermalindicator proc:dir {search getattr}; -allow thermalindicator shell:dir search; -allow thermalindicator platform_app:dir search; -allow thermalindicator platform_app:file {open read getattr}; -allow thermalindicator untrusted_app:dir search; -allow thermalindicator untrusted_app:file {open read getattr}; -allow thermalindicator mediaserver:dir search; -allow thermalindicator mediaserver:file {open read getattr}; diff --git a/prebuilts/api/26.0/plat_public/thermalindicator.te b/prebuilts/api/26.0/plat_public/thermalindicator.te deleted file mode 100755 index 5427a7a..0000000 --- a/prebuilts/api/26.0/plat_public/thermalindicator.te +++ /dev/null @@ -1,7 +0,0 @@ -# ============================================================================= -# Policy File of /system/bin/thermalindicator Executable File - -# ============================================================================= -# Type Declaration -# ============================================================================= -type thermalindicator, domain; \ No newline at end of file diff --git a/private/compat/26.0/26.0.cil b/private/compat/26.0/26.0.cil index 44c67ba..3085b92 100755 --- a/private/compat/26.0/26.0.cil +++ b/private/compat/26.0/26.0.cil @@ -223,7 +223,6 @@ (typeattributeset bufferhubd_26_0 (bufferhubd)) (typeattributeset sysfs_devices_system_cpu_26_0 (sysfs_devices_system_cpu)) (typeattributeset untrusted_app_26_0 (untrusted_app)) -(typeattributeset thermalindicator_26_0 (thermalindicator)) (typeattributeset shared_relro_26_0 (shared_relro)) (typeattributeset hal_wifi_hwservice_26_0 (hal_wifi_hwservice)) (typeattributeset alarm_device_26_0 (alarm_device))