Merge "[ALPS03885737] Correct agps sepolicy" into alps-trunk-p0.basic

Change-Id: I230be47b417acda0389d0f6bd62c426c8eebe125
MTK-Commit-Id: 7bedf66ca5fe633252754247a93a73d551e6985b
This commit is contained in:
Archilis Wang 2020-01-18 09:38:28 +08:00 committed by Gerrit Code Review
commit 2cd382c5d0
2 changed files with 3 additions and 5 deletions

View File

@ -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

View File

@ -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;