[ALPS03885737] Correct agps sepolicy
Adjust the policy for sdcard MTK-Commit-Id: 40655afcc8e97b13642f5164987134d506579680 Change-Id: I338ea9b4b6b452b3e59230e692a7ff1850a63c6d CR-Id: ALPS03885737 Feature: A-GPS
This commit is contained in:
parent
35d89a9938
commit
9afa8ed220
@ -21,7 +21,7 @@
|
|||||||
#/data/misc/mddb(/.*)? u:object_r:mddb_data_file:s0
|
#/data/misc/mddb(/.*)? u:object_r:mddb_data_file:s0
|
||||||
/data/aee_exp(/.*)? u:object_r:aee_exp_data_file:s0
|
/data/aee_exp(/.*)? u:object_r:aee_exp_data_file:s0
|
||||||
/data/vendor/mtklog/aee_exp(/.*)? u:object_r:aee_exp_vendor_file:s0
|
/data/vendor/mtklog/aee_exp(/.*)? u:object_r:aee_exp_vendor_file:s0
|
||||||
#/data/agps_supl(/.*)? u:object_r:agpsd_data_file:s0
|
/data/vendor/agps_supl(/.*)? u:object_r:agpsd_data_file:s0
|
||||||
#/data/mnl_flp(/.*)? u:object_r:mnld_data_file:s0
|
#/data/mnl_flp(/.*)? u:object_r:mnld_data_file:s0
|
||||||
#/data/mnl_gfc(/.*)? u:object_r:mnld_data_file:s0
|
#/data/mnl_gfc(/.*)? u:object_r:mnld_data_file:s0
|
||||||
#/data/misc/gps(/.*)? u:object_r:gps_data_file:s0
|
#/data/misc/gps(/.*)? u:object_r:gps_data_file:s0
|
||||||
|
@ -32,11 +32,9 @@ allow mtk_agpsd mnt_user_file:dir create_dir_perms;
|
|||||||
|
|
||||||
# Access symbolic link files like /etc and /sdcard
|
# Access symbolic link files like /etc and /sdcard
|
||||||
allow mtk_agpsd tmpfs:lnk_file create_file_perms;
|
allow mtk_agpsd tmpfs:lnk_file create_file_perms;
|
||||||
allow mtk_agpsd storage_file:lnk_file create_file_perms;
|
|
||||||
allow mtk_agpsd mnt_user_file:lnk_file create_file_perms;
|
allow mtk_agpsd mnt_user_file:lnk_file create_file_perms;
|
||||||
typeattribute mtk_agpsd data_between_core_and_vendor_violators;
|
allow mtk_agpsd storage_file:dir create_dir_perms;
|
||||||
allow mtk_agpsd media_rw_data_file:dir { search write add_name read open };
|
allow mtk_agpsd storage_file:file create_file_perms;
|
||||||
allow mtk_agpsd media_rw_data_file:file { create open append read getattr };
|
|
||||||
|
|
||||||
# Send supl profile configuration to SLPD (to get SUPL Reference Location for HW Fused Location)
|
# Send supl profile configuration to SLPD (to get SUPL Reference Location for HW Fused Location)
|
||||||
allow mtk_agpsd slpd:unix_dgram_socket sendto;
|
allow mtk_agpsd slpd:unix_dgram_socket sendto;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user