summaryrefslogtreecommitdiffstats
path: root/r_non_plat/property.te
blob: fe5f367fe6a336eb82d603aaf561b8589fd5e44e (plain)
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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
# ==============================================
# MTK Policy Rule
# ==============================================

# MTK properties, allow all system/vendor processes to read.
type mtk_default_prop, property_type, mtk_core_property_type;

# Date: W14.32
# Operation: Migration
# Purpose: don't allow to use default_prop
### TBD
#neverallow { domain -init } default_prop:property_service set;
#neverallow { domain -init -system_server -recovery -system_app} 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;

#=============allow viarild to start property==============
type ctl_viarild_prop, property_type;
#=============allow mtkrild to set persist.ril property==============
type vendor_ril_ipo_prop, property_type, mtk_core_property_type;

#=============allow gsm0710muxd to set mux property==============
type gsm0710muxd_prop, property_type, mtk_core_property_type;

#=============allow netlog running==============
type debug_mtklog_prop, property_type, extended_core_property_type;
type persist_mtklog_prop, property_type, extended_core_property_type;
type debug_netlog_prop, property_type, extended_core_property_type;

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

#=============allow mdlogger==============
type debug_mdlogger_prop, property_type, extended_core_property_type;
type vendor_mdl_prop, property_type, extended_core_property_type;
type vendor_mdl_start_prop, property_type, extended_core_property_type;
type vendor_usb_prop, property_type;
type persist_mdlog_prop, property_type, extended_core_property_type;
type vendor_mdl_pulllog_prop, property_type, extended_core_property_type;

#=============allow AEE==============
type persist_mtk_aee_prop, property_type, extended_core_property_type;
type persist_aee_prop, property_type, extended_core_property_type;
type debug_mtk_aee_prop, property_type, extended_core_property_type;

type persist_mtk_aeev_prop, property_type, mtk_core_property_type;
type persist_aeev_prop, property_type, mtk_core_property_type;
type debug_mtk_aeev_prop, property_type, mtk_core_property_type;
type ro_mtk_aee_prop, property_type, mtk_core_property_type;

#=============allow aee_dumpstate==============
type debug_bq_dump_prop, property_type, extended_core_property_type;

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

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

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

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

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

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

#=============allow telephony modules to set tel_switch_prop==============
type tel_switch_prop, property_type, mtk_core_property_type;

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

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

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

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

#=============allow sensor==============
type ctl_emcsmdlogger_prop, property_type;
type ctl_eemcs_fsd_prop, property_type;

#=============allow statusd==============
type net_cdma_mdmstat, property_type, mtk_core_property_type;

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

#============= allow factory idle current prop ==============
type vendor_factory_idle_state_prop, property_type, mtk_core_property_type;

#============= allow mobile log property ===============
type mobile_log_prop, property_type, extended_core_property_type;

#============= allow service.nvram_init property ===============
type service_nvram_init_prop, property_type, mtk_core_property_type;

#============= allow ro.wlan.mtk.wifi.5g property ===============
type wifi_5g_prop, property_type, mtk_core_property_type;

#=============allow em to set client.appmode  ==============
type mtk_em_prop, property_type, mtk_core_property_type;

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

#=============Property set by EM, for test/debug purpose=========
type mtk_em_sys_prop, property_type, extended_core_property_type;
type mtk_em_hidl_prop, property_type, mtk_core_property_type;

#============= allow em set protocol ===============
type mtk_em_net_auto_tethering_prop, property_type, extended_core_property_type;

#=============allow em set property=============
type mtk_operator_id_prop, property_type, mtk_core_property_type;

#=============allow em set testsim.cardtype property===========
type mtk_simswitch_emmode_prop, property_type, mtk_core_property_type;

#=============allow em set property=============
type mtk_dsbp_support_prop, property_type, mtk_core_property_type;

#=============allow em set property=============
type mtk_imstestmode_prop, property_type, mtk_core_property_type;

#=============allow em set property=============
type mtk_smsformat_prop, property_type, mtk_core_property_type;

#=============allow em set property=============
type mtk_gprs_prefer_prop, property_type, mtk_core_property_type;

#=============allow em set property=============
type mtk_testsim_cardtype_prop, property_type, mtk_core_property_type;

#=============allow em set property=============
type mtk_ct_ir_engmode_prop, property_type, mtk_core_property_type;

#=============allow em set property=============
type mtk_disable_c2k_cap_prop, property_type, mtk_core_property_type;

#=============allow em to set modem reset delay property================
type mtk_debug_md_reset_prop, property_type, mtk_core_property_type;

#=============allow em to set video log omx.* property================
type mtk_omx_log_prop, property_type, mtk_core_property_type;

#=============allow em to set vdec log property================
type mtk_vdec_log_prop, property_type, mtk_core_property_type;

#=============allow em to set vdectlc log property================
type mtk_vdectlc_log_prop, property_type, mtk_core_property_type;

#=============allow em to set venc h264 showlog property================
type mtk_venc_h264_showlog_prop, property_type, mtk_core_property_type;

#=============allow em to set modem warning_prop property================
type mtk_modem_warning_prop, property_type, mtk_core_property_type;

#=============allow em to set bgdata disabled property================
type mtk_bgdata_disabled, property_type, extended_core_property_type;

#=============allow em to set telecom vibrate property================
type mtk_telecom_vibrate, property_type, extended_core_property_type;

#=============allow em to set gprs attach type property================
type mtk_gprs_attach_type, property_type, extended_core_property_type;

#=============allow em to set poweroffmd property================
type mtk_power_off_md_type, property_type, extended_core_property_type;

#=============allow meta_tst to stop specific service ===============
type ctl_mobile_log_d_prop, property_type;
type ctl_mnld_prop, property_type;
type ctl_mobicore_prop, property_type;

#=============allow system server to set meta_connecttype property  ==============
type meta_connecttype_prop, property_type;

#=============Telephony Sensitive property==============
type mtk_telephony_sensitive_prop, property_type;

#=============allow processes to change thermal config================
type mtk_thermal_config_prop, property_type;

#=============allow composer set property ============================
type graphics_hwc_pid_prop, property_type;
type graphics_hwc_latch_unsignaled_prop, property_type;
type graphics_hwc_hdr_prop, property_type;

#============= mtkcam property ============================
type mtkcam_prop, property_type;

#============= atm modem mode property ==============
type atm_mdmode_prop, property_type;

#============= atm ip address property ==============
type atm_ipaddr_prop, property_type;

#=============allow consyslogger==============
type vendor_connsysfw_prop, property_type, extended_core_property_type;

#=============radio group property=============
type vendor_radio_prop, property_type, mtk_core_property_type;

#=============allow bluetooth==============
type vendor_bluetooth_prop, property_type, extended_core_property_type;

#=============allow ct volte==============
type mtk_ct_volte_prop, property_type, mtk_core_property_type;

#=============mtk ril mode property=============
type mtk_ril_mode_prop, property_type, mtk_core_property_type;
type mtk_ss_vendor_prop, property_type, mtk_core_property_type;

#=============GPS support properties==============
type mtk_gps_support_prop, property_type, mtk_core_property_type;

#=============mtk rat config property=============
type mtk_rat_config_prop, property_type, mtk_core_property_type;

#=============mtk aal property=============
type mtk_aal_ro_prop, property_type, mtk_core_property_type;

#=============mtk pq property=============
type mtk_pq_ro_prop, property_type, mtk_core_property_type;
type mtk_pq_prop, property_type, mtk_core_property_type;

#=============mtk emmc property=============
type mtk_emmc_support_prop, property_type, mtk_core_property_type;

#=============sim system property=============
type vendor_sim_system_prop, property_type, extended_core_property_type;

#=============em usb property==============
type vendor_em_usb_prop, property_type, mtk_core_property_type;

#=============allow em to set usb otg enable property  ==============
type vendor_usb_otg_switch, property_type, mtk_core_property_type;

#=============mtk anr property=============
type mtk_anr_support_prop, property_type, mtk_core_property_type;

#=============mtk app resolution tuner property=============
type mtk_appresolutiontuner_prop, property_type, mtk_core_property_type;

#=============mtk fullscreen switch=============
type mtk_fullscreenswitch_prop, property_type, mtk_core_property_type;

# MTK Antutu feature
type mtk_antutu_prop, property_type, mtk_core_property_type;

#=============mtk malloc debug switch unwind backtrace property=============
type mtk_malloc_debug_backtrace_prop, property_type, mtk_core_property_type;

#=============MTK Voice Recognize property===========
type mtk_voicerecgnize_prop, property_type, mtk_core_property_type;

#=============allow radio to set/get xcap rawurl config================
type persist_xcap_rawurl_prop, property_type, extended_core_property_type;

#=============allow atcid==============
type persist_service_atci_prop, property_type, mtk_core_property_type;
type mtk_atci_prop, property_type, mtk_core_property_type;

#=============allow Netd property==============
type mtk_net_ipv6_prop, property_type, mtk_core_property_type;

#============= allow carrier express (cxp) ==============
type usp_prop, property_type, mtk_core_property_type;
type usp_srv_prop, property_type, extended_core_property_type;
type mtk_cxp_vendor_prop, property_type, mtk_core_property_type;

#=============allow MD to set mtk_md_version_prop==============
type mtk_md_version_prop, property_type, mtk_core_property_type;

#=============allow radio to set mtk_volte_enable property==============
type mtk_volte_prop, property_type, mtk_core_property_type;

#=============allow AMS dynamic enable log property===========
type mtk_amslog_prop, property_type, extended_core_property_type;

#=============allow android log much property==============
type logmuch_prop, property_type, extended_core_property_type;

#=============mtk bt enable SAP profile property=============
type mtk_bt_sap_enable_prop, property_type, mtk_core_property_type;

#=============MTK powerhal property================
type mtk_powerhal_prop, property_type;

#=============MTK Wifi wlan_assistant property=============
type mtk_nvram_ready_prop, property_type, mtk_core_property_type;

#=============allow wifi hotspot to read property===========
type mtk_wifi_hotspot_prop, property_type, mtk_core_property_type;

#=============mtk hdmi property=============
type mtk_hdmi_prop, property_type, mtk_core_property_type;

#=============mtk nn option property=============
type mtk_nn_option_prop, property_type;