34 lines
956 B
Plaintext
Executable File
34 lines
956 B
Plaintext
Executable File
# ==============================================
|
|
# Policy File of /system/binthermal Executable File
|
|
|
|
|
|
# ==============================================
|
|
# Type Declaration
|
|
# ==============================================
|
|
|
|
type thermal_exec , exec_type, file_type;
|
|
type thermal ,domain;
|
|
|
|
# ==============================================
|
|
# Android Policy Rule
|
|
# ==============================================
|
|
|
|
# ==============================================
|
|
# NSA Policy Rule
|
|
# ==============================================
|
|
|
|
# ==============================================
|
|
# MTK Policy Rule
|
|
# ==============================================
|
|
|
|
init_daemon_domain(thermal)
|
|
|
|
allow thermal mtkrild:unix_stream_socket connectto;
|
|
allow thermal proc_thermal:dir search;
|
|
allow thermal proc_thermal:file { read write open };
|
|
allow thermal rild_oem_socket:sock_file write;
|
|
allow thermal netd_socket:sock_file write;
|
|
allow thermal netd:unix_stream_socket connectto;
|
|
|
|
|