summaryrefslogtreecommitdiffstats
path: root/non_plat/property.te
blob: 822f88dc2986ca6b89812a38e06d61054a594e53 (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
# ==============================================
# 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, extended_core_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;

#=============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;

#============= allow em set property ===============
type mtk_em_auto_answer_prop, property_type, extended_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 wcn core dump mode property================
type mtk_connsys_coredump_mode_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 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_debug_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;



#=============em camera property==============
type vendor_debug_prop, property_type, mtk_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;

#=============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;
type mtk_aal_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;