Commit | Line | Data |
---|---|---|
d05bb22f S |
1 | #line 1 "external/sepolicy/property_contexts" |
2 | ########################## | |
3 | # property service keys | |
4 | # | |
5 | # | |
6 | net.rmnet u:object_r:net_radio_prop:s0 | |
7 | net.gprs u:object_r:net_radio_prop:s0 | |
8 | net.ppp u:object_r:net_radio_prop:s0 | |
9 | net.qmi u:object_r:net_radio_prop:s0 | |
10 | net.lte u:object_r:net_radio_prop:s0 | |
11 | net.cdma u:object_r:net_radio_prop:s0 | |
12 | net.dns u:object_r:net_radio_prop:s0 | |
13 | sys.usb.config u:object_r:system_radio_prop:s0 | |
14 | ril. u:object_r:radio_prop:s0 | |
15 | gsm. u:object_r:radio_prop:s0 | |
16 | persist.radio u:object_r:radio_prop:s0 | |
17 | ||
18 | net. u:object_r:system_prop:s0 | |
19 | dev. u:object_r:system_prop:s0 | |
20 | runtime. u:object_r:system_prop:s0 | |
21 | hw. u:object_r:system_prop:s0 | |
22 | sys. u:object_r:system_prop:s0 | |
23 | sys.powerctl u:object_r:powerctl_prop:s0 | |
24 | service. u:object_r:system_prop:s0 | |
25 | wlan. u:object_r:system_prop:s0 | |
26 | dhcp. u:object_r:dhcp_prop:s0 | |
27 | dhcp.bt-pan.result u:object_r:pan_result_prop:s0 | |
28 | bluetooth. u:object_r:bluetooth_prop:s0 | |
29 | ||
30 | debug. u:object_r:debug_prop:s0 | |
31 | debug.db. u:object_r:debuggerd_prop:s0 | |
32 | log. u:object_r:shell_prop:s0 | |
33 | service.adb.root u:object_r:shell_prop:s0 | |
34 | service.adb.tcp.port u:object_r:shell_prop:s0 | |
35 | ||
36 | persist.audio. u:object_r:audio_prop:s0 | |
37 | persist.logd. u:object_r:logd_prop:s0 | |
38 | persist.sys. u:object_r:system_prop:s0 | |
39 | persist.service. u:object_r:system_prop:s0 | |
40 | persist.service.bdroid. u:object_r:bluetooth_prop:s0 | |
41 | persist.security. u:object_r:system_prop:s0 | |
42 | ||
43 | # selinux non-persistent properties | |
44 | selinux. u:object_r:security_prop:s0 | |
45 | ||
46 | # default property context | |
47 | * u:object_r:default_prop:s0 | |
48 | ||
49 | # data partition encryption properties | |
50 | vold. u:object_r:vold_prop:s0 | |
51 | crypto. u:object_r:vold_prop:s0 | |
52 | ||
53 | # ctl properties | |
54 | ctl.bootanim u:object_r:ctl_bootanim_prop:s0 | |
55 | ctl.dumpstate u:object_r:ctl_dumpstate_prop:s0 | |
56 | ctl.fuse_ u:object_r:ctl_fuse_prop:s0 | |
57 | ctl.mdnsd u:object_r:ctl_mdnsd_prop:s0 | |
58 | ctl.ril-daemon u:object_r:ctl_rildaemon_prop:s0 | |
59 | ctl.bugreport u:object_r:ctl_bugreport_prop:s0 | |
60 | ctl.dhcpcd_bt-pan u:object_r:ctl_dhcp_pan_prop:s0 | |
61 | ctl. u:object_r:ctl_default_prop:s0 | |
62 | ||
63 | # NFC properties | |
64 | nfc. u:object_r:nfc_prop:s0 | |
65 | #line 1 "device/mediatek/common/sepolicy/property_contexts" | |
66 | # ============================================== | |
67 | # MTK Policy Rule | |
68 | # ============================================== | |
69 | #=============allow ccci_mdinit to start gsm0710muxd============== | |
70 | ctl.gsm0710muxd u:object_r:ctl_gsm0710muxd_prop:s0 | |
71 | ctl.gsm0710muxd-s u:object_r:ctl_gsm0710muxd-s_prop:s0 | |
72 | ctl.gsm0710muxd-d u:object_r:ctl_gsm0710muxd-d_prop:s0 | |
73 | ctl.gsm0710muxdmd2 u:object_r:ctl_gsm0710muxdmd2_prop:s0 | |
74 | ||
75 | #=============allow ccci_mdinit to ctl. mdlogger============== | |
76 | ctl.mdlogger u:object_r:ctl_mdlogger_prop:s0 | |
77 | ctl.emdlogger1 u:object_r:ctl_emdlogger1_prop:s0 | |
78 | ctl.emdlogger2 u:object_r:ctl_emdlogger2_prop:s0 | |
79 | ctl.dualmdlogger u:object_r:ctl_dualmdlogger_prop:s0 | |
80 | #=============allow eemcs_mdinit to start mdlogger========== | |
81 | ctl.eemcs_fmdl u:object_r:ctl_eemcs_fmdl_prop:s0 | |
82 | #ctl.emdlogger5 u:object_r:ctl_emdlogger5_prop:s0 | |
83 | ||
84 | #=============allow mtkrild to set persist.ril property============== | |
85 | persist.ril u:object_r:persist_ril_prop:s0 | |
86 | #=============allow terservice to set terservice property============== | |
87 | persist.ter u:object_r:terservice_prop:s0 | |
88 | ||
89 | #=============allow netlog============== | |
90 | #debug.mtklog.init.flag | |
91 | debug.mtklog u:object_r:debug_mtklog_prop:s0 | |
92 | #persist.mtklog.log2sd.path | |
93 | persist.mtklog u:object_r:persist_mtklog_prop:s0 | |
94 | #debug.netlog.stopreason | |
95 | debug.netlog u:object_r:debug_netlog_prop:s0 | |
96 | ||
97 | #=============allow system_server to set media.wfd.*============== | |
98 | media.wfd. u:object_r:media_wfd_prop:s0 | |
99 | ||
100 | #=============allow netd to set mtk_wifi.*======================== | |
101 | mtk_wifi. u:object_r:mtk_wifi_prop:s0 | |
102 | ||
103 | #=============allow mdlogger============== | |
104 | debug.mdlogger u:object_r:debug_mdlogger_prop:s0 | |
105 | ||
106 | #=============allow AEE============== | |
107 | # persist.mtk.aee.mode && persist.mtk.aee.dal | |
108 | persist.mtk.aee u:object_r:persist_mtk_aee_prop:s0 | |
109 | ||
110 | # persist.aee.core.dump && persist.aee.core.direct | |
111 | persist.aee u:object_r:persist_aee_prop:s0 | |
112 | ||
113 | # debug.mtk.aee.db | |
114 | debug.mtk.aee u:object_r:debug_mtk_aee_prop:s0 | |
115 | ||
116 | #=============allow AEE_Dumpstate============== | |
117 | debug.bq.dump u:object_r:debug_bq_dump_prop:s0 | |
118 | ||
119 | #=============allow vold============== | |
120 | persist.vold. u:object_r:vold_prop:s0 | |
121 | ctl.sdcard u:object_r:ctl_fuse_prop:s0 | |
122 | ||
123 | #=============allow mdinit============== | |
124 | ctl.ril-daemon-mtk u:object_r:ctl_ril-daemon-mtk_prop:s0 | |
125 | ctl.ril-daemon-s u:object_r:ctl_ril-daemon-s_prop:s0 | |
126 | ctl.ril-daemon-d u:object_r:ctl_ril-daemon-d_prop:s0 | |
127 | ctl.ril-daemon-mtkmd2 u:object_r:ctl_ril-daemon-md2_prop:s0 | |
128 | ||
129 | ctl.ccci_fsd u:object_r:ctl_ccci_fsd_prop:s0 | |
130 | ctl.ccci2_fsd u:object_r:ctl_ccci2_fsd_prop:s0 | |
131 | ctl.muxreport-daemon u:object_r:ctl_muxreport-daemon_prop:s0 | |
132 | ||
133 | ril.active.md u:object_r:ril_active_md_prop:s0 | |
134 | ril.mux.report.case u:object_r:ril_mux_report_case_prop:s0 | |
135 | ||
136 | #=============allow pppd_via============== | |
137 | ctl.pppd_via u:object_r:ctl_pppd_via_prop:s0 | |
138 | ||
139 | #=============allow ppp to set pppoe.ppp0.*======================== | |
140 | pppoe.ppp0. u:object_r:pppoe_ppp0_prop:s0 | |
141 | ||
142 | #=============allow mediatek_prop ============== | |
143 | mediatek. u:object_r:mediatek_prop:s0 | |
144 | ||
145 | #=============allow bootanim============== | |
146 | persist.bootanim. u:object_r:bootani_prop:s0 | |
147 | ||
148 | #=============allow mnld_prop ============== | |
149 | gps.clock.type u:object_r:mnld_prop:s0 | |
150 | gps.gps.version u:object_r:mnld_prop:s0 | |
151 | ||
152 | #=============allow audiohal============== | |
153 | streamout. u:object_r:audiohal_prop:s0 | |
154 | af. u:object_r:audiohal_prop:s0 | |
155 | streamin. u:object_r:audiohal_prop:s0 | |
156 | a2dp. u:object_r:audiohal_prop:s0 | |
157 | persist.af. u:object_r:audiohal_prop:s0 | |
158 | ||
159 | #=============allow tedongle to set tedongle.*============= | |
160 | tedongle. u:object_r:radio_prop:s0 | |
161 | ctl.ril-3gddaemon u:object_r:ctl_ril3gd_prop:s0 | |
162 | ctl.zpppd_gprs u:object_r:ctl_zpppdgprs_prop:s0 | |
163 | ||
164 | #=============allow DM============== | |
165 | # persist.dm.lock | |
166 | persist.dm. u:object_r:persist_dm_prop:s0 | |
167 | # dm fota | |
168 | ctl.rbfota u:object_r:ctl_rbfota_prop:s0 | |
169 | ||
170 | #=============allow atcid============== | |
171 | ctl.atcid-daemon-u u:object_r:ctl_atcid-daemon-u_prop:s0 | |
172 | persist.service.atci. u:object_r:persist_service_atci_prop:s0 | |
173 | ||
174 | #=============allow ipod============== | |
175 | ctl.ipod u:object_r:ctl_ipod_prop:s0 | |
176 | ipo.ipoh. u:object_r:ipod_prop:s0 | |
177 | persist.ipoh. u:object_r:ipod_prop:s0 | |
178 | ||
179 | #=============allow wmt ============== | |
180 | persist.mtk.wcn u:object_r:wmt_prop:s0 | |
181 | ||
182 | #============= permission_check ============== | |
183 | #persist.md.perm.checked | |
184 | persist.md u:object_r:persist_md_prop:s0 | |
185 | ||
186 | #=============allow sensor daemon============== | |
187 | ctl.msensord u:object_r:ctl_msensord_prop:s0 | |
188 | ctl.bmm050d u:object_r:ctl_bmm050d_prop:s0 | |
189 | ctl.bmm056d u:object_r:ctl_bmm056d_prop:s0 | |
190 | ctl.akmd8963 u:object_r:ctl_akmd8963_prop:s0 | |
191 | ctl.akmd09911 u:object_r:ctl_akmd09911_prop:s0 | |
192 | ctl.geomagneticd u:object_r:ctl_geomagneticd_prop:s0 | |
193 | ctl.orientationd u:object_r:ctl_orientationd_prop:s0 | |
194 | ctl.emdlogger5 u:object_r:ctl_emcsmdlogger_prop:s0 | |
195 | ctl.eemcs_fsd u:object_r:ctl_eemcs_fsd_prop:s0 | |
9ff65a5e | 196 | ctl.gmadfs u:object_r:ctl_gmadfs_prop:s0 |
d05bb22f S |
197 | |
198 | #=============allow statusd============== | |
199 | net.cdma.mdmstat u:object_r:net_cdma_mdmstat:s0 | |
200 | ||
201 | #=============allow c2k_prop ============== | |
202 | cdma. u:object_r:cdma_prop:s0 | |
203 | ||
204 | #=============allow saveLocale============== | |
205 | user.language u:object_r:save_locale_prop:s0 | |
206 | user.region u:object_r:save_locale_prop:s0 | |
207 | ||
208 | #=============allow bt prop============== | |
209 | bt. u:object_r:bt_prop:s0 | |
210 | persist.bt. u:object_r:persist_bt_prop:s0 | |
211 | #=============allow ccci_mdinit EVDO ============== | |
212 | mtk_telephony u:object_r:mtk_tele_prop:s0 | |
213 | #line 1 "device/mediatek/mt8127/sepolicy/property_contexts" | |
214 | ||
215 | bwc.mm._Profile u:object_r:bwc_prop:s0 | |
216 | bwc.mm.VideoRecordSize u:object_r:bwc_prop:s0 |