summaryrefslogtreecommitdiffstats
path: root/common/surfaceflinger.te
diff options
context:
space:
mode:
authorRaghavendra Prasad Nagaraj <prasr@codeaurora.org>2015-08-14 17:47:05 +0530
committerRaghavendra Prasad Nagaraj <prasr@codeaurora.org>2015-08-14 17:47:05 +0530
commit2ed63806ab782a70416ab141598a730aae09922f (patch)
treec719628923b4f2ade32ced1642eeb212499dc3f8 /common/surfaceflinger.te
parent8407f5b0e79e792670ad95f32eefff766e8bc8ee (diff)
downloadandroid_device_qcom_sepolicy-2ed63806ab782a70416ab141598a730aae09922f.tar.gz
android_device_qcom_sepolicy-2ed63806ab782a70416ab141598a730aae09922f.tar.bz2
android_device_qcom_sepolicy-2ed63806ab782a70416ab141598a730aae09922f.zip
sepolicy: perf related policy changes
Update policy to - start mpdecision automatically - set the perf property - allow mpdecision to be used by other services Change-Id: I0e1ec7b9bea90b8d0a83bc6021836ef5e9f10a6f
Diffstat (limited to 'common/surfaceflinger.te')
-rw-r--r--common/surfaceflinger.te2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/surfaceflinger.te b/common/surfaceflinger.te
index c14fa6e9..bbbbef0f 100644
--- a/common/surfaceflinger.te
+++ b/common/surfaceflinger.te
@@ -20,6 +20,8 @@ binder_call(surfaceflinger, tee)
allow surfaceflinger mpctl_socket:dir r_dir_perms;
unix_socket_send(surfaceflinger, mpctl, perfd)
unix_socket_connect(surfaceflinger, mpctl, perfd)
+unix_socket_send(surfaceflinger, mpctl, mpdecision)
+unix_socket_connect(surfaceflinger, mpctl, mpdecision)
# access to /data/misc/display for dumping input frames
allow surfaceflinger display_misc_file:dir create_dir_perms;