Ju-Yi Cheng 80531326ac [ALPS03869840] P migration: Remove label aosp prop
[Detail] Vendor partition shouldnt access aosp defined property
which is not in whitlist. So remove the related changes of labeled
aosp property.
  This reverts commit 9d534a80d67e7457a1411b8b36249898ed4c6986.
  This reverts commit 901fb42d2e3856a139b90420922f558d7231ea7d.
  This reverts commit 41dc8fb567b409e149e59f4f514268ca5883c7ab.

[Solution] Remove label of ro.sf.lcd_density.

MTK-Commit-Id: 02cf063b8407a9d9242f064c86767200e9c0ac0a

Change-Id: I02dcc2fa3fda95c498f0ef70d9aa6bd9224d3b02
CR-Id: ALPS03869840
Feature: [Module]SurfaceFlinger/HWComposer
2020-01-18 09:37:01 +08:00

182 lines
7.1 KiB
Plaintext

# ==============================================
# 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
#=============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.emdlogger3 u:object_r:ctl_emdlogger3_prop:s0
ctl.dualmdlogger u:object_r:ctl_dualmdlogger_prop:s0
#=============allow mtkrild to set persist.ril property==============
persist.ril u:object_r:persist_ril_prop:s0
vendor.ril.ipo u:object_r:vendor_ril_ipo_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 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 mux==============
vendor.ril.mux. u:object_r:gsm0710muxd_prop:s0
#=============allow mdinit==============
ctl.ril-daemon-mtk u:object_r:ctl_ril-daemon-mtk_prop:s0
ctl.fusion_ril_mtk u:object_r:ctl_fusion_ril_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.viarild u:object_r:ctl_viarild_prop:s0
ctl.ril-proxy u:object_r:ctl_ril-proxy_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.ccci3_fsd u:object_r:ctl_ccci3_fsd_prop:s0
ctl.muxreport-daemon u:object_r:ctl_muxreport-daemon_prop:s0
vendor.ril.active.md u:object_r:ril_active_md_prop:s0
vendor.ril.mux.report.case u:object_r:ril_mux_report_case_prop:s0
ril.cdma.report u:object_r:ril_cdma_report_prop:s0
#=============allow dynamic telephony switch==============
ro.boot.opt_c2k_lte_mode u:object_r:tel_switch_prop:s0
ro.boot.opt_c2k_support u:object_r:tel_switch_prop:s0
ro.boot.opt_eccci_c2k u:object_r:tel_switch_prop:s0
ro.boot.opt_lte_support u:object_r:tel_switch_prop:s0
ro.boot.opt_md1_support u:object_r:tel_switch_prop:s0
ro.boot.opt_md2_support u:object_r:tel_switch_prop:s0
ro.boot.opt_md3_support u:object_r:tel_switch_prop:s0
ro.boot.opt_md5_support u:object_r:tel_switch_prop:s0
ro.boot.opt_ps1_rat u:object_r:tel_switch_prop:s0
ro.boot.opt_sim_count u:object_r:tel_switch_prop:s0
ro.boot.opt_using_default u:object_r:tel_switch_prop:s0
#=============allow bootanim==============
persist.bootanim. u:object_r:bootani_prop:s0
#=============allow mnld_prop ==============
vendor.gps.clock.type u:object_r:mnld_prop:s0
vendor.gps.gps.version u:object_r:mnld_prop:s0
vendor.debug.gpsdbglog.enable u:object_r:mnld_prop:s0
vendor.debug.gpsdbglog. u:object_r:mnld_prop:s0
vendor.debug.gps. 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 wmt ==============
persist.mtk.wcn u:object_r:wmt_prop:s0
service.wcn u:object_r:wmt_prop:s0
#=============allow sensor daemon==============
ctl.emdlogger5 u:object_r:ctl_emcsmdlogger_prop:s0
ctl.eemcs_fsd u:object_r:ctl_eemcs_fsd_prop:s0
#=============allow c2k_prop ==============
net.cdma.mdmstat u:object_r:net_cdma_mdmstat:s0
#=============allow bt prop==============
bt. u:object_r:bt_prop:s0
persist.bt. u:object_r:persist_bt_prop:s0
#=============allow ccci_mdinit md status ==============
mtk.md u:object_r:mtk_md_prop:s0
#============= allow factory idle current prop ==============
vendor.debug.factory.idle_state u:object_r:vendor_factory_idle_state_prop:s0
#=============allow ftrace log property================
ftrace.buffer.log u:object_r:ftrace_log_prop:s0
#=============allow service.nvram_init property================
service.nvram_init u:object_r:service_nvram_init_prop:s0
#=============allow ro.wlan.mtk.wifi.5g property================
ro.wlan.mtk.wifi.5g u:object_r:wifi_5g_prop:s0
#=============Allow EM To Set Camera APP Mode ==============
mtk.client. u:object_r:mtk_em_prop:s0
#=============allow mediatek_prop ==============
mediatek. u:object_r:mediatek_prop:s0
debug.camera.p2plug.log u:object_r:mediatek_prop:s0
#=============allow em set protocol================
volte.emergency.pdn.protocol u:object_r:mtk_em_pdn_prop:s0
#=============allow em set protocol================
persist.ims.simulate u:object_r:mtk_em_ims_simulate_prop:s0
#=============allow em set protocol================
persist.auto_answer u:object_r:mtk_em_auto_answer_prop:s0
#=============allow em set protocol================
persist.bt.sspdebug.enable u:object_r:mtk_em_bt_sspdebug_prop:s0
#=============allow em set ril.force_apn_change property================
ril.force_apn_change u:object_r:mtk_em_ril_apnchange_prop:s0
#=============allow em set protocol================
persist.vendor.net.auto.tethering u:object_r:mtk_em_net_auto_tethering_prop:s0
#=============allow system server to set meta_connecttype property ==============
persist.meta.connecttype u:object_r:meta_connecttype_prop:s0
#=============Telephony Sensitive property==============
ril.iccid.sim u:object_r:mtk_telephony_sensitive_prop:s0
persist.radio.last_iccid_sim u:object_r:mtk_telephony_sensitive_prop:s0
ro.mtk_md_mims_support u:object_r:mtk_telephony_sensitive_prop:s0
#=============allow processes to change thermal config================
thermal.manager.data u:object_r:mtk_thermal_config_prop:s0
#=============allow composer set property ============================
debug.sf.hwc_pid u:object_r:graphics_hwc_pid_prop:s0
#============= mtkcam property ============================
persist.mtkcam. u:object_r:mtkcam_prop:s0
mtkcam. u:object_r:mtkcam_prop:s0
#=============allow radio to set xcap config================
persist.ss. u:object_r:mtk_em_ril_xcapset_prop:s0
persist.gba. u:object_r:mtk_em_ril_xcapset_prop:s0
#=============allow radio to set presence config================
persist.vendor.mtk_uce_ua_support u:object_r:persist_uce_prop:s0
#============= atm modem mode property(ATM) ==============
persist.atm.mdmode u:object_r:atm_mdmode_prop:s0
#============= atm ip address property(ATM) ==============
persist.atm.ipaddress u:object_r:atm_ipaddr_prop:s0