aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/property.te
blob: 3024e258f892616bbd6935ff40c07d8017de853a (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
# ==============================================
# MTK Policy Rule
# ==============================================
type mtk_default_prop, property_type;

# Date: W14.32
# Operation: Migration
# Purpose: don't allow to use default_prop
neverallow { domain -init } default_prop:property_service set;
neverallow { domain -init -system_server -recovery } ctl_default_prop:property_service set;

#=============allow ccci_mdinit to start gsm0710muxd==============
type ctl_gsm0710muxd_prop, property_type;
type ctl_gsm0710muxd-s_prop, property_type;
type ctl_gsm0710muxd-d_prop, property_type;
type ctl_gsm0710muxdmd2_prop, property_type;
#=============allow ccci_mdinit to ctl. mdlogger==============
type ctl_mdlogger_prop, property_type;
type ctl_emdlogger1_prop, property_type;
type ctl_emdlogger2_prop, property_type;
type ctl_dualmdlogger_prop, property_type;
#=============allow eemcs_mdinit to start mdlogger==========
type ctl_eemcs_fmdl_prop, property_type;
#type ctl_emdlogger5_prop, property_type;

#=============allow mtkrild to set persist.ril property==============
type persist_ril_prop, property_type;
#=============allow terserver to set terservice property==============
type terservice_prop, property_type;
#=============allow gsm0710muxd to set mux property==============
type gsm0710muxd_prop, property_type;

#=============allow netlog running==============
type debug_mtklog_prop, property_type;
type persist_mtklog_prop, property_type;
type debug_netlog_prop, property_type;
#=============allow system_server to set media.wfd.*==============
type media_wfd_prop, property_type;

#=============allow netd to set mtk_wifi.*=========================
type mtk_wifi_prop, property_type;

#=============allow mdlogger==============
type debug_mdlogger_prop, property_type;

#=============allow ccci_mdinit to stop rild==============
type ctl_ril-daemon-mtk_prop, property_type;
type ctl_ril-daemon-s_prop, property_type;
type ctl_ril-daemon-d_prop, property_type;
type ctl_ril-daemon-md2_prop, property_type;

#=============allow ccci_mdinit to start ccci_fsd==============
type ctl_ccci_fsd_prop, property_type;
type ctl_ccci2_fsd_prop, property_type;

#=============allow ccci_mdinit to start ccci_rpcd==============
type ctl_ccci_rpcd_prop, property_type;
type ctl_ccci2_rpcd_prop, property_type;

#=============allow ccci_mdinit to set ril_active_md_prop==============
type ril_active_md_prop, property_type;

#=============allow ccci_mdinit to stop rild==============
type ril_mux_report_case_prop, property_type;
type ril_cdma_report_prop, property_type;

#=============allow ccci_mdinit to mtk_md_prop==============
type mtk_md_prop, property_type;

#=============allow mtkrild to start muxreport==============
type ctl_muxreport-daemon_prop, property_type;

#=============allow ppp to set pppoe.ppp0==============
type pppoe_ppp0_prop, property_type;

#=============allow rild to start pppd_via==============
type ctl_pppd_via_prop, property_type;

#=============allow mediatek_prop ==============
type mediatek_prop, property_type;

#=============allow bootanim==============
type bootani_prop, property_type;

#=============allow mnld_prop==============
type mnld_prop, property_type;

#=============allow audiohal==============
type audiohal_prop, property_type;

#=============allow contrl ril3gd===========
type ctl_ril3gd_prop, property_type;

#=============allow contrl zpppd_gprs===========
type ctl_zpppdgprs_prop, property_type;

#=============allow DM==============
type persist_dm_prop, property_type;
type ctl_rbfota_prop, property_type;

#=============allow ipod==============
type ipod_prop, property_type;
type ctl_ipod_prop, property_type;

#=============allow wmt==============
type wmt_prop, property_type;

#=============allow atcid==============
type ctl_atcid-daemon-u_prop, property_type;
type ctl_atci_service_prop, property_type;
type persist_service_atci_prop, property_type;
#============= permission_check ==============
type persist_md_prop, property_type;

#=============allow sensor==============
type ctl_msensord_prop, property_type;
type ctl_akmd8963_prop, property_type;
type ctl_akmd09911_prop, property_type;
type ctl_bmm050d_prop, property_type;
type ctl_bmm056d_prop, property_type;
type ctl_bmx056d_prop, property_type;
type ctl_memsicd3416x_prop, property_type;
type ctl_bmc156d_prop, property_type;
type ctl_memsicp_prop, property_type;
type ctl_geomagneticd_prop, property_type;
type ctl_orientationd_prop, property_type;
type ctl_emcsmdlogger_prop, property_type;
type ctl_eemcs_fsd_prop, property_type;
type ctl_istd8303_prop, property_type;
type ctl_st480_prop, property_type;
type ctl_mmc3524xd_prop, property_type;
type ctl_mc6470d_prop, property_type;
type ctl_qmcX983d_prop, property_type;
type ctl_af7133e_prop, property_type;
#=============allow statusd==============
type net_cdma_mdmstat, property_type;
type cdma_prop, property_type;

#=============allow saveLocale==============
type save_locale_prop, property_type;

#=============allow bt==============
type bt_prop, property_type;
type persist_bt_prop, property_type;

#=============allow ccci_mdinit EVDO ==============
type mtk_tele_prop, property_type;

#=============allow pppd ==============
type pppd_gprs_prop, property_type;

#=============allow wifi offload deamon  ==============
type mtk_wod_prop, property_type;