Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

device-generic-goldfish: Commit

device/generic/goldfish


Commit MetaInfo

Revisione87326d436005cfcff7b597ecf5cda21f8cd7b0e (tree)
Time2017-03-18 01:30:27
Authorbohu <bohu@goog...>
Commiterandroid-build-merger

Log Message

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

Change-Id: I295dbb08f6595a1c4a255c5e20106c449e00b773

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