summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Vakulenko2017-05-01 19:54:24 -0500
committerAlex Vakulenko2017-05-10 10:59:01 -0500
commit4a7762afb4fa8495e711fcc2da322fc388e700bc (patch)
tree3c96a98be5d7f8a511aa9a291b2d611caf8913df /services
parent5aab4176932de5e899c03876f64cb6f09a999337 (diff)
downloadframeworks-native-4a7762afb4fa8495e711fcc2da322fc388e700bc.tar.gz
frameworks-native-4a7762afb4fa8495e711fcc2da322fc388e700bc.tar.xz
frameworks-native-4a7762afb4fa8495e711fcc2da322fc388e700bc.zip
Apply correct SELinux labels to PDX endpoint and channel sockets.
Bug: 37646189 Test: Compiled for sailfish-eng Device booted, normal 2D UI works as before Was able to run Daydream app and CubeSea (before O1 VR rendering path was disabled by recent change in HW composer). Change-Id: I1f7040324992d3c784f072ea6b64a65fa7ed0589
Diffstat (limited to 'services')
-rw-r--r--services/surfaceflinger/surfaceflinger.rc6
-rw-r--r--services/vr/bufferhubd/bufferhubd.rc2
-rw-r--r--services/vr/performanced/performanced.rc2
3 files changed, 5 insertions, 5 deletions
diff --git a/services/surfaceflinger/surfaceflinger.rc b/services/surfaceflinger/surfaceflinger.rc
index ff6be81e4..aea602bba 100644
--- a/services/surfaceflinger/surfaceflinger.rc
+++ b/services/surfaceflinger/surfaceflinger.rc
@@ -4,6 +4,6 @@ service surfaceflinger /system/bin/surfaceflinger
4 group graphics drmrpc readproc 4 group graphics drmrpc readproc
5 onrestart restart zygote 5 onrestart restart zygote
6 writepid /dev/stune/foreground/tasks 6 writepid /dev/stune/foreground/tasks
7 socket pdx/system/vr/display/client stream 0666 system graphics 7 socket pdx/system/vr/display/client stream 0666 system graphics u:object_r:pdx_display_client_endpoint_socket:s0
8 socket pdx/system/vr/display/manager stream 0666 system graphics 8 socket pdx/system/vr/display/manager stream 0666 system graphics u:object_r:pdx_display_manager_endpoint_socket:s0
9 socket pdx/system/vr/display/vsync stream 0666 system graphics 9 socket pdx/system/vr/display/vsync stream 0666 system graphics u:object_r:pdx_display_vsync_endpoint_socket:s0
diff --git a/services/vr/bufferhubd/bufferhubd.rc b/services/vr/bufferhubd/bufferhubd.rc
index 8d5772399..46fe5f95c 100644
--- a/services/vr/bufferhubd/bufferhubd.rc
+++ b/services/vr/bufferhubd/bufferhubd.rc
@@ -3,4 +3,4 @@ service bufferhubd /system/bin/bufferhubd
3 user system 3 user system
4 group system 4 group system
5 writepid /dev/cpuset/tasks 5 writepid /dev/cpuset/tasks
6 socket pdx/system/buffer_hub/client stream 0660 system system 6 socket pdx/system/buffer_hub/client stream 0660 system system u:object_r:pdx_bufferhub_client_endpoint_socket:s0
diff --git a/services/vr/performanced/performanced.rc b/services/vr/performanced/performanced.rc
index 6283f3717..2605a4758 100644
--- a/services/vr/performanced/performanced.rc
+++ b/services/vr/performanced/performanced.rc
@@ -3,4 +3,4 @@ service performanced /system/bin/performanced
3 user root 3 user root
4 group system readproc 4 group system readproc
5 writepid /dev/cpuset/tasks 5 writepid /dev/cpuset/tasks
6 socket pdx/system/performance/client stream 0666 system system 6 socket pdx/system/performance/client stream 0666 system system u:object_r:pdx_performance_client_endpoint_socket:s0