OSDN Git Service

Run SurfaceFlinger with root privilege
authorChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 3 Aug 2016 17:38:50 +0000 (01:38 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Sun, 10 Dec 2017 15:21:51 +0000 (23:21 +0800)
To control virtual consoles, SurfaceFlinger needs the root privilege.

services/surfaceflinger/surfaceflinger.rc

index aea602b..c7f854d 100644 (file)
@@ -1,6 +1,6 @@
 service surfaceflinger /system/bin/surfaceflinger
     class core animation
-    user system
+#   user system
     group graphics drmrpc readproc
     onrestart restart zygote
     writepid /dev/stune/foreground/tasks