OSDN Git Service
(root)
/
android-x86
/
frameworks-native.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfd43ef
)
Run SurfaceFlinger with root privilege
author
Chih-Wei Huang
<cwhuang@linux.org.tw>
Wed, 3 Aug 2016 17:38:50 +0000
(
01:38
+0800)
committer
Chih-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
patch
|
blob
|
history
diff --git
a/services/surfaceflinger/surfaceflinger.rc
b/services/surfaceflinger/surfaceflinger.rc
index
aea602b
..
c7f854d
100644
(file)
--- a/
services/surfaceflinger/surfaceflinger.rc
+++ b/
services/surfaceflinger/surfaceflinger.rc
@@
-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