summaryrefslogtreecommitdiffstats
path: root/common/wcnss_service.te
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2016-10-17 22:43:14 -0700
committerSteve Kondik <steve@cyngn.com>2016-10-17 22:43:14 -0700
commit22ea8db34e2107d636871605b3ee7be03b5d277f (patch)
treeb650bf5ee63edf2f24d73e186cda8ce9dfab21c7 /common/wcnss_service.te
parentf7a12e8484b3b0e2ff6f897129fd8334b92faea2 (diff)
parent33634b612a6bede11b0d7d0d0f81328e3352e5d6 (diff)
downloadandroid_device_qcom_sepolicy-22ea8db34e2107d636871605b3ee7be03b5d277f.tar.gz
android_device_qcom_sepolicy-22ea8db34e2107d636871605b3ee7be03b5d277f.tar.bz2
android_device_qcom_sepolicy-22ea8db34e2107d636871605b3ee7be03b5d277f.zip
Merge tag 'LA.UM.5.5.r1-00900-8x96.0' of git://codeaurora.org/device/qcom/sepolicy into cm-14.0
"LA.UM.5.5.r1-00900-8x96.0" Change-Id: I1a53f98a3bfb51c0b087be8ce85d420419fa5aa1
Diffstat (limited to 'common/wcnss_service.te')
-rw-r--r--common/wcnss_service.te7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/wcnss_service.te b/common/wcnss_service.te
index 724ee0d5..9f18d044 100644
--- a/common/wcnss_service.te
+++ b/common/wcnss_service.te
@@ -33,6 +33,9 @@ allow wcnss_service firmware_file:file r_file_perms;
allow wcnss_service sysfs:file w_file_perms;
allow wcnss_service storage_file:dir search;
+# allow access to netd
+unix_socket_connect(wcnss_service, netd, netd)
+
userdebug_or_eng(`
allow wcnss_service fuse:dir create_dir_perms;
allow wcnss_service fuse:file create_file_perms;
@@ -45,4 +48,8 @@ allow wcnss_service dynamic_nv_data_file:dir r_dir_perms;
# This is needed for ptt_socket app to write logs file collected to sdcard
r_dir_file(wcnss_service, storage_file)
r_dir_file(wcnss_service, mnt_user_file)
+diag_use(wcnss_service)
')
+
+binder_use(wcnss_service)
+use_per_mgr(wcnss_service)