Jason Su b2d6377d9c [ALPS03950289] Add permission to access GPS properties
[Detail]
Add selinux permissions to access GPS vendor system peroperties.

MTK-Commit-Id: aa97b76d646e13029488cae3aa0feb73a389675c

Change-Id: Icd41d074b1b620f70e5a68c3c02719f773cf2b2f
CR-Id: ALPS03950289
Feature: Location AOSP
2020-01-18 09:58:10 +08:00

28 lines
1.2 KiB
Plaintext

allow vendor_init exported3_system_prop:property_service set;
allow vendor_init bt_prop:property_service set;
allow vendor_init dalvik_prop:property_service set;
allow vendor_init ffs_prop:property_service set;
allow vendor_init mediatek_prop:property_service set;
allow vendor_init mtk_md_version_prop:property_service set;
allow vendor_init mtk_volte_prop:property_service set;
allow vendor_init usp_prop:property_service set;
allow vendor_init vendor_radio_prop:property_service set;
allow vendor_init mtk_ril_mode_prop:property_service set;
allow vendor_init wmt_prop:property_service set;
allow vendor_init proc:file write;
allow vendor_init proc_bootprof:file write;
allow vendor_init rootfs:dir { write add_name setattr };
allow vendor_init self:capability sys_module;
allow vendor_init tmpfs:dir { write create add_name };
allow vendor_init unlabeled:dir { relabelfrom getattr setattr search };
allow vendor_init vendor_file:system module_load;
allow vendor_init kmsg_device:chr_file unlink;
set_prop(vendor_init, persist_mtk_aee_prop)
set_prop(vendor_init, ro_mtk_aee_prop)
set_prop(vendor_init, vendor_usb_prop)
set_prop(vendor_init, mtk_ct_volte_prop)
set_prop(vendor_init, mtk_gps_support_prop)