Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e42e6832 authored by Alex Vakulenko's avatar Alex Vakulenko
Browse files

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
parent e937eb86
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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