diff options
author | Shinru Han <shinruhan@google.com> | 2019-12-27 16:35:42 +0800 |
---|---|---|
committer | Shinru Han <shinruhan@google.com> | 2019-12-27 16:35:42 +0800 |
commit | 96c34f1076478b6e201c0fb47696c0f5574e6aed (patch) | |
tree | 0afce7d6fb71dd345707add2f14e2c882edb9298 /vendor/qcom/common/location.te | |
parent | 643714e1972c957309c8a9a40ead2d5eba14b75f (diff) | |
download | sunfish-sepolicy-96c34f1076478b6e201c0fb47696c0f5574e6aed.tar.gz |
gps: Add rules for location
avc: denied { call } for scontext=u:r:location:s0 tcontext=u:r:hwservicemanager:s0 tclass=binder permissive=0
avc: denied { find } for interface=vendor.qti.hardware.cacert::IService sid=u:r:location:s0 pid=1046 scontext=u:r:location:s0 tcontext=u:object_r:hal_cacert_hwservice:s0 tclass=hwservice_manager permissive=0
Test: XTRA download success
Bug: 146842395
Change-Id: I1eea75d0a5c6d566375556e18d516e510535ad44
Diffstat (limited to 'vendor/qcom/common/location.te')
-rw-r--r-- | vendor/qcom/common/location.te | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/qcom/common/location.te b/vendor/qcom/common/location.te index a27b850..d59b55d 100644 --- a/vendor/qcom/common/location.te +++ b/vendor/qcom/common/location.te @@ -41,6 +41,8 @@ allow location location_socket:dir w_dir_perms; allow location hal_gnss_qti:unix_dgram_socket sendto; get_prop(location, hwservicemanager_prop) +allow location hwservicemanager:binder call; +allow location hal_cacert_hwservice:hwservice_manager find; userdebug_or_eng(` allow location diag_device:chr_file rw_file_perms; |