diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2016-10-03 21:18:34 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-10-03 21:18:34 -0700 |
commit | 65c6fd600c3ef8e660145e3215097a022632554f (patch) | |
tree | 017d8544bdf7cbe011534d9ba5d0dc176da6234c | |
parent | dcde27f184b6d5222794cf6ba51487324464eb67 (diff) | |
parent | 894035f3315543549a1981e60295d6c707e163d7 (diff) | |
download | android_device_qcom_sepolicy-65c6fd600c3ef8e660145e3215097a022632554f.tar.gz android_device_qcom_sepolicy-65c6fd600c3ef8e660145e3215097a022632554f.tar.bz2 android_device_qcom_sepolicy-65c6fd600c3ef8e660145e3215097a022632554f.zip |
Merge "Permissions needed for LOWI"
-rw-r--r-- | common/location.te | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/common/location.te b/common/location.te index 393bae60..a72adc11 100644 --- a/common/location.te +++ b/common/location.te @@ -41,7 +41,11 @@ allow location sensors_persist_file:dir r_dir_perms; allow location sensors_persist_file:file r_file_perms; #wifi -allow location wifi_data_file:dir r_dir_perms; +userdebug_or_eng(` +allow location wifi_data_file:dir create_dir_perms; +allow location wifi_data_file:sock_file create_file_perms; +allow location su:unix_dgram_socket sendto; +') unix_socket_send(wpa, location, location) allow location wpa:unix_dgram_socket sendto; allow location wpa_socket:dir rw_dir_perms; |