summaryrefslogtreecommitdiffstats
path: root/common/cnd.te
diff options
context:
space:
mode:
authorBoxiang Pan <bopan@codeaurora.org>2014-12-23 12:05:45 -0800
committerDeepak Kundra <deepakkundra@gmail.com>2015-07-02 16:20:05 -0700
commit324ba9fa070805a615670f730df5ba7cd54b1f43 (patch)
tree80fff942e7bb6d82a450688b6ded22e25953bc40 /common/cnd.te
parent6a2a0b75d28f612401f0defd9ed5927916382e71 (diff)
downloadandroid_device_qcom_sepolicy-324ba9fa070805a615670f730df5ba7cd54b1f43.tar.gz
android_device_qcom_sepolicy-324ba9fa070805a615670f730df5ba7cd54b1f43.tar.bz2
android_device_qcom_sepolicy-324ba9fa070805a615670f730df5ba7cd54b1f43.zip
Sepolicy: add rule to support ATP feature
adding policy to support CNE ATP feature Change-Id: I4005b3ab8e2af53cda9bf9a1c070f7225b5d5ce2
Diffstat (limited to 'common/cnd.te')
-rw-r--r--common/cnd.te3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/cnd.te b/common/cnd.te
index 0d8f11bb..0728bdb0 100644
--- a/common/cnd.te
+++ b/common/cnd.te
@@ -66,5 +66,8 @@ allow cnd mediaserver:fd use;
allow cnd mediaserver:tcp_socket { read write bind getattr shutdown getopt };
allow cnd mediaserver:file { open read };
+# allow cnd to perform socket operation on itself
+allow cnd self:socket create_socket_perms;
+
# allow cnd to access ipa_dev
allow cnd ipa_dev:chr_file r_file_perms;