aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/thermald.te
blob: 6d7ec004fa96950bc20e8042ee525560545f0ade (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# ==============================================
# Policy File of /system/binthermald Executable File 


# ==============================================
# Type Declaration
# ==============================================

type thermald_exec , exec_type, file_type;
type thermald ,domain;

# ==============================================
# Android Policy Rule
# ==============================================

# ==============================================
# NSA Policy Rule
# ==============================================

# ==============================================
# MTK Policy Rule
# ==============================================

init_daemon_domain(thermald)

# Date : WK14.39
# Operation : SQC 
# Purpose : for thermal management to shutdown the phone
binder_use(thermald)
allow thermald proc_thermal:dir search;
allow thermald proc_thermal:file { read getattr open write };
allow thermald system_server:binder call;