Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

device-generic-goldfish: Commit

device/generic/goldfish


Commit MetaInfo

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

Log Message

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

Change-Id: I743c562257294814604807ad46839882bd48712e

Change Summary

Incremental Difference

--- a/init.goldfish.rc
+++ b/init.goldfish.rc
@@ -89,8 +89,11 @@ service qemu-props /system/bin/qemu-props
8989 # if it does, it redirects its output to the device
9090 # named by the androidboot.console kernel option
9191 # if not, is simply exits immediately
92-
92+# logd user added to prevent logcat from logging content.
93+# log group added to support access to read logs socket.
9394 service goldfish-logcat /system/bin/logcat -Q
95+ user logd
96+ group log
9497 oneshot
9598
9699 service fingerprintd /system/bin/fingerprintd
--- a/init.ranchu.rc
+++ b/init.ranchu.rc
@@ -74,8 +74,11 @@ service qemu-props /system/bin/qemu-props
7474 # if it does, it redirects its output to the device
7575 # named by the androidboot.console kernel option
7676 # if not, is simply exits immediately
77-
77+# logd user added to prevent logcat from logging content.
78+# log group added to support access to read logs socket.
7879 service goldfish-logcat /system/bin/logcat -Q
80+ user logd
81+ group log
7982 oneshot
8083
8184 service fingerprintd /system/bin/fingerprintd
Show on old repository browser