aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/BGW.te
blob: d9ecfcd825e199cf2942d8750ea2180af66de40b (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
# ==============================================
# Policy File of /system/xbin/BGW Executable File 


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

type BGW_exec , exec_type, file_type;
type BGW ,domain;


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

# permissive BGW;
init_daemon_domain(BGW)

#============= BGW ==============
allow BGW ccci_device:chr_file { read write open };
allow BGW self:netlink_socket { read bind create write };
allow BGW stpwmt_device:chr_file { read write open };