Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

device-generic-goldfish: Commit

device/generic/goldfish


Commit MetaInfo

Revision31d12dba09441096e43c9355be5d3f5c2ca85fc3 (tree)
Time2017-03-18 01:38:26
Authorbohu <bohu@goog...>
Commiterandroid-build-merger

Log Message

Merge "Emulator: start logcat -Q as logd user instead of root" am: 6fc52b4ef9 am: e87326d436
am: c09187b8b6

Change-Id: I96b5060b2d3c99891fd57e9256402140df289e50

Change Summary

Incremental Difference

--- a/init.goldfish.rc
+++ b/init.goldfish.rc
@@ -94,8 +94,11 @@ service qemud /system/bin/qemud
9494 # if it does, it redirects its output to the device
9595 # named by the androidboot.console kernel option
9696 # if not, is simply exits immediately
97-
97+# logd user added to prevent logcat from logging content.
98+# log group added to support access to read logs socket.
9899 service goldfish-logcat /system/bin/logcat -Q
100+ user logd
101+ group log
99102 oneshot
100103
101104 service fingerprintd /system/bin/fingerprintd
--- a/init.ranchu.rc
+++ b/init.ranchu.rc
@@ -73,8 +73,11 @@ service qemu-props /system/bin/qemu-props
7373 # if it does, it redirects its output to the device
7474 # named by the androidboot.console kernel option
7575 # if not, is simply exits immediately
76-
76+# logd user added to prevent logcat from logging content.
77+# log group added to support access to read logs socket.
7778 service goldfish-logcat /system/bin/logcat -Q
79+ user logd
80+ group log
7881 oneshot
7982
8083 service fingerprintd /system/bin/fingerprintd
Show on old repository browser