summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Alex Vakulenko <avakulenko@google.com> 2017-04-20 14:25:01 -0700
committer Alex Vakulenko <avakulenko@google.com> 2017-04-20 14:25:01 -0700
commite42e6832662b44b2e927270e12a2975046b26f3c (patch)
treed4436d5dc2bcc5af2cf5382dc3c01a03c19c3392
parente937eb866d28fc5a51e36726b5b6802b2e201832 (diff)
Enable access to display/manager socket in surfaceflinger
DisplayManager interface is needed by VrCore. Currently the entry point for that service is not accessible outside of `graphics` user group which VrCore is not part of. We need to allow access to that socket (and subsequently use selinux to fine-tune access rights in the future). Bug: 37486608 Test: `lunch sailfish-eng && m -j32` works and device boots Change-Id: I1d1b545ba85aa6700b409fbbdacc330b8302049b
-rw-r--r--services/surfaceflinger/surfaceflinger.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/surfaceflinger.rc b/services/surfaceflinger/surfaceflinger.rc
index 41b6225302..1c0427dbe9 100644
--- a/services/surfaceflinger/surfaceflinger.rc
+++ b/services/surfaceflinger/surfaceflinger.rc
@@ -5,6 +5,6 @@ service surfaceflinger /system/bin/surfaceflinger
onrestart restart zygote
writepid /dev/stune/foreground/tasks
socket pdx/system/vr/display/client stream 0666 system graphics
- socket pdx/system/vr/display/manager stream 0660 system graphics
+ socket pdx/system/vr/display/manager stream 0666 system graphics
socket pdx/system/vr/display/screenshot stream 0660 system graphics
socket pdx/system/vr/display/vsync stream 0666 system graphics