• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/corennnnn


Commit MetaInfo

Revision0b1cd514332297516ca07589fe3711494f149d6c (tree)
Time2015-12-22 12:23:00
AuthorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

init.rc: let some services run as root

The surfaceflinger needs root permission to control vt.

Run the console shell as root to make debugging easier.

Change Summary

Incremental Difference

--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -488,7 +488,7 @@ service console /system/bin/sh
488488 class core
489489 console
490490 disabled
491- user shell
491+# user shell
492492 group shell log
493493 seclabel u:r:shell:s0
494494
@@ -549,7 +549,7 @@ service ril-daemon /system/bin/rild
549549
550550 service surfaceflinger /system/bin/surfaceflinger
551551 class core
552- user system
552+# user system
553553 group graphics drmrpc
554554 onrestart restart zygote
555555