summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2014-11-19 18:51:30 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2014-11-19 18:51:30 -0800
commitf20cd6dae3a1fb9bbdbd66e458638f84835b2e53 (patch)
tree5350e7eda5d101fa2cf8a29b143212a444217155
parent0f80b88003e3756fecabd5c84678db6910ed99ee (diff)
parentb59ff09e910a88249ebba8fba6c2054b16642aea (diff)
downloadandroid_device_qcom_sepolicy-f20cd6dae3a1fb9bbdbd66e458638f84835b2e53.tar.gz
android_device_qcom_sepolicy-f20cd6dae3a1fb9bbdbd66e458638f84835b2e53.tar.bz2
android_device_qcom_sepolicy-f20cd6dae3a1fb9bbdbd66e458638f84835b2e53.zip
Merge "sepolicy: Allow clients of netmgrd read access to netmgrd stat file"
-rw-r--r--common/location.te3
-rw-r--r--common/rild.te3
2 files changed, 6 insertions, 0 deletions
diff --git a/common/location.te b/common/location.te
index 7d3a6261..5edf1326 100644
--- a/common/location.te
+++ b/common/location.te
@@ -23,3 +23,6 @@ allow location sensors:unix_stream_socket connectto;
allow location sensors_device:chr_file r_file_perms;
allow location sensors_socket:sock_file w_file_perms;
allow location self:netlink_socket create_socket_perms;
+
+dontaudit location domain:dir r_dir_perms;
+r_dir_file(location, netmgrd)
diff --git a/common/rild.te b/common/rild.te
index 73631c0d..54f2dd98 100644
--- a/common/rild.te
+++ b/common/rild.te
@@ -21,3 +21,6 @@ allow rild sysfs_ssr:lnk_file read;
allow rild system_data_file:dir w_dir_perms;
allow rild system_data_file:file create_file_perms;
allow rild time_daemon:unix_stream_socket connectto;
+
+dontaudit rild domain:dir r_dir_perms;
+r_dir_file(rild, netmgrd)