-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathproperty_contexts
223 lines (180 loc) · 8.37 KB
/
property_contexts
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
#line 1 "external/sepolicy/property_contexts"
##########################
# property service keys
#
#
net.rmnet u:object_r:net_radio_prop:s0
net.gprs u:object_r:net_radio_prop:s0
net.ppp u:object_r:net_radio_prop:s0
net.qmi u:object_r:net_radio_prop:s0
net.lte u:object_r:net_radio_prop:s0
net.cdma u:object_r:net_radio_prop:s0
net.dns u:object_r:net_radio_prop:s0
sys.usb.config u:object_r:system_radio_prop:s0
ril. u:object_r:radio_prop:s0
gsm. u:object_r:radio_prop:s0
persist.radio u:object_r:radio_prop:s0
net. u:object_r:system_prop:s0
dev. u:object_r:system_prop:s0
runtime. u:object_r:system_prop:s0
hw. u:object_r:system_prop:s0
sys. u:object_r:system_prop:s0
sys.powerctl u:object_r:powerctl_prop:s0
service. u:object_r:system_prop:s0
wlan. u:object_r:system_prop:s0
dhcp. u:object_r:dhcp_prop:s0
dhcp.bt-pan.result u:object_r:pan_result_prop:s0
bluetooth. u:object_r:bluetooth_prop:s0
debug. u:object_r:debug_prop:s0
debug.db. u:object_r:debuggerd_prop:s0
log. u:object_r:shell_prop:s0
service.adb.root u:object_r:shell_prop:s0
service.adb.tcp.port u:object_r:shell_prop:s0
persist.audio. u:object_r:audio_prop:s0
persist.logd. u:object_r:logd_prop:s0
persist.sys. u:object_r:system_prop:s0
persist.service. u:object_r:system_prop:s0
persist.service.bdroid. u:object_r:bluetooth_prop:s0
persist.security. u:object_r:system_prop:s0
# selinux non-persistent properties
selinux. u:object_r:security_prop:s0
# default property context
* u:object_r:default_prop:s0
# data partition encryption properties
vold. u:object_r:vold_prop:s0
crypto. u:object_r:vold_prop:s0
# ctl properties
ctl.bootanim u:object_r:ctl_bootanim_prop:s0
ctl.dumpstate u:object_r:ctl_dumpstate_prop:s0
ctl.fuse_ u:object_r:ctl_fuse_prop:s0
ctl.mdnsd u:object_r:ctl_mdnsd_prop:s0
ctl.ril-daemon u:object_r:ctl_rildaemon_prop:s0
ctl.bugreport u:object_r:ctl_bugreport_prop:s0
ctl.dhcpcd_bt-pan u:object_r:ctl_dhcp_pan_prop:s0
ctl. u:object_r:ctl_default_prop:s0
# NFC properties
nfc. u:object_r:nfc_prop:s0
#line 1 "device/mediatek/common/sepolicy/property_contexts"
# ==============================================
# MTK Policy Rule
# ==============================================
#=============allow ccci_mdinit to start gsm0710muxd==============
ctl.gsm0710muxd u:object_r:ctl_gsm0710muxd_prop:s0
ctl.gsm0710muxd-s u:object_r:ctl_gsm0710muxd-s_prop:s0
ctl.gsm0710muxd-d u:object_r:ctl_gsm0710muxd-d_prop:s0
ctl.gsm0710muxdmd2 u:object_r:ctl_gsm0710muxdmd2_prop:s0
#=============allow ccci_mdinit to ctl. mdlogger==============
ctl.mdlogger u:object_r:ctl_mdlogger_prop:s0
ctl.emdlogger1 u:object_r:ctl_emdlogger1_prop:s0
ctl.emdlogger2 u:object_r:ctl_emdlogger2_prop:s0
ctl.dualmdlogger u:object_r:ctl_dualmdlogger_prop:s0
#=============allow eemcs_mdinit to start mdlogger==========
ctl.eemcs_fmdl u:object_r:ctl_eemcs_fmdl_prop:s0
#ctl.emdlogger5 u:object_r:ctl_emdlogger5_prop:s0
#=============allow mtkrild to set persist.ril property==============
persist.ril u:object_r:persist_ril_prop:s0
#=============allow terservice to set terservice property==============
persist.ter u:object_r:terservice_prop:s0
#=============allow netlog==============
#debug.mtklog.init.flag
debug.mtklog u:object_r:debug_mtklog_prop:s0
#persist.mtklog.log2sd.path
persist.mtklog u:object_r:persist_mtklog_prop:s0
#debug.netlog.stopreason
debug.netlog u:object_r:debug_netlog_prop:s0
#=============allow system_server to set media.wfd.*==============
media.wfd. u:object_r:media_wfd_prop:s0
#=============allow netd to set mtk_wifi.*========================
mtk_wifi. u:object_r:mtk_wifi_prop:s0
#=============allow mdlogger==============
debug.mdlogger u:object_r:debug_mdlogger_prop:s0
#=============allow AEE==============
# persist.mtk.aee.mode && persist.mtk.aee.dal
persist.mtk.aee u:object_r:persist_mtk_aee_prop:s0
# persist.aee.core.dump && persist.aee.core.direct
persist.aee u:object_r:persist_aee_prop:s0
# debug.mtk.aee.db
debug.mtk.aee u:object_r:debug_mtk_aee_prop:s0
#=============allow AEE_Dumpstate==============
debug.bq.dump u:object_r:debug_bq_dump_prop:s0
#=============allow vold==============
persist.vold. u:object_r:vold_prop:s0
ctl.sdcard u:object_r:ctl_fuse_prop:s0
#=============allow mdinit==============
ctl.ril-daemon-mtk u:object_r:ctl_ril-daemon-mtk_prop:s0
ctl.ril-daemon-s u:object_r:ctl_ril-daemon-s_prop:s0
ctl.ril-daemon-d u:object_r:ctl_ril-daemon-d_prop:s0
ctl.ril-daemon-mtkmd2 u:object_r:ctl_ril-daemon-md2_prop:s0
ctl.ccci_fsd u:object_r:ctl_ccci_fsd_prop:s0
ctl.ccci2_fsd u:object_r:ctl_ccci2_fsd_prop:s0
ctl.muxreport-daemon u:object_r:ctl_muxreport-daemon_prop:s0
ril.active.md u:object_r:ril_active_md_prop:s0
ril.mux.report.case u:object_r:ril_mux_report_case_prop:s0
#=============allow pppd_via==============
ctl.pppd_via u:object_r:ctl_pppd_via_prop:s0
#=============allow ppp to set pppoe.ppp0.*========================
pppoe.ppp0. u:object_r:pppoe_ppp0_prop:s0
#=============allow mediatek_prop ==============
mediatek. u:object_r:mediatek_prop:s0
#=============allow bootanim==============
persist.bootanim. u:object_r:bootani_prop:s0
#=============allow mnld_prop ==============
gps.clock.type u:object_r:mnld_prop:s0
gps.gps.version u:object_r:mnld_prop:s0
#=============allow audiohal==============
streamout. u:object_r:audiohal_prop:s0
af. u:object_r:audiohal_prop:s0
streamin. u:object_r:audiohal_prop:s0
a2dp. u:object_r:audiohal_prop:s0
persist.af. u:object_r:audiohal_prop:s0
#=============allow tedongle to set tedongle.*=============
tedongle. u:object_r:radio_prop:s0
ctl.ril-3gddaemon u:object_r:ctl_ril3gd_prop:s0
ctl.zpppd_gprs u:object_r:ctl_zpppdgprs_prop:s0
#=============allow DM==============
# persist.dm.lock
persist.dm. u:object_r:persist_dm_prop:s0
# dm fota
ctl.rbfota u:object_r:ctl_rbfota_prop:s0
#=============allow atcid==============
ctl.atcid-daemon-u u:object_r:ctl_atcid-daemon-u_prop:s0
persist.service.atci. u:object_r:persist_service_atci_prop:s0
#=============allow ipod==============
ctl.ipod u:object_r:ctl_ipod_prop:s0
ipo.ipoh. u:object_r:ipod_prop:s0
persist.ipoh. u:object_r:ipod_prop:s0
#=============allow wmt ==============
persist.mtk.wcn u:object_r:wmt_prop:s0
#============= permission_check ==============
#persist.md.perm.checked
persist.md u:object_r:persist_md_prop:s0
#=============allow sensor daemon==============
ctl.msensord u:object_r:ctl_msensord_prop:s0
ctl.bmm050d u:object_r:ctl_bmm050d_prop:s0
ctl.bmm056d u:object_r:ctl_bmm056d_prop:s0
ctl.akmd8963 u:object_r:ctl_akmd8963_prop:s0
ctl.akmd09911 u:object_r:ctl_akmd09911_prop:s0
ctl.geomagneticd u:object_r:ctl_geomagneticd_prop:s0
ctl.orientationd u:object_r:ctl_orientationd_prop:s0
ctl.emdlogger5 u:object_r:ctl_emcsmdlogger_prop:s0
ctl.eemcs_fsd u:object_r:ctl_eemcs_fsd_prop:s0
ctl.gmadfs u:object_r:ctl_gmadfs_prop:s0
#=============allow statusd==============
net.cdma.mdmstat u:object_r:net_cdma_mdmstat:s0
#=============allow c2k_prop ==============
cdma. u:object_r:cdma_prop:s0
#=============allow saveLocale==============
user.language u:object_r:save_locale_prop:s0
user.region u:object_r:save_locale_prop:s0
#=============allow bt prop==============
bt. u:object_r:bt_prop:s0
persist.bt. u:object_r:persist_bt_prop:s0
#=============allow ccci_mdinit EVDO ==============
mtk_telephony u:object_r:mtk_tele_prop:s0
#=============allow nvram================
ctl.nvram_country u:object_r:nvram_country_prop:s0
#=============allow backgrounddate==============
persist.backgrounddata.enable u:object_r:persist_backgrounddata_enable_prop:s0
#line 1 "device/mediatek/mt8127/sepolicy/property_contexts"
bwc.mm._Profile u:object_r:bwc_prop:s0
bwc.mm.VideoRecordSize u:object_r:bwc_prop:s0