diff --git a/sepolicy/base/public/domain.te b/sepolicy/base/public/domain.te index de228fa1e8e32194b675549d8f2d11fccc3d2aac..c3ff422916ab74a09deb5ff8fbeb06cbfdd6cd7a 100644 --- a/sepolicy/base/public/domain.te +++ b/sepolicy/base/public/domain.te @@ -169,6 +169,10 @@ type storage_daemon, domain; type storage_daemon_exec, exec_type, file_type, system_file_type; domain_auto_transition_pattern(init, storage_daemon_exec, storage_daemon); +type thermal_protector, domain; +type thermal_protector_exec, exec_type, file_type, system_file_type; +domain_auto_transition_pattern(init, thermal_protector_exec, thermal_protector); + type sh, domain; type sh_exec, exec_type, file_type, system_file_type; domain_auto_transition_pattern(init, sh_exec, sh); diff --git a/sepolicy/base/system/file_contexts b/sepolicy/base/system/file_contexts index 6da27ef9278c3b33b3311f25fd4685defdeba0d2..aeb16d689efd094691fac70a7d9f35889a5f717a 100644 --- a/sepolicy/base/system/file_contexts +++ b/sepolicy/base/system/file_contexts @@ -188,6 +188,8 @@ /system/bin/storage_daemon u:object_r:storage_daemon_exec:s0 +/system/bin/thermal_protector u:object_r:thermal_protector_exec:s0 + /system/bin/sh u:object_r:sh_exec:s0 /system/bin/hdcd u:object_r:hdcd_exec:s0