diff options
author | Raghavendra Prasad Nagaraj <prasr@codeaurora.org> | 2015-08-14 17:47:05 +0530 |
---|---|---|
committer | Raghavendra Prasad Nagaraj <prasr@codeaurora.org> | 2015-08-14 17:47:05 +0530 |
commit | 2ed63806ab782a70416ab141598a730aae09922f (patch) | |
tree | c719628923b4f2ade32ced1642eeb212499dc3f8 /common/surfaceflinger.te | |
parent | 8407f5b0e79e792670ad95f32eefff766e8bc8ee (diff) | |
download | android_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.te | 2 |
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; |