diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2017-03-17 16:23:53 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-03-17 16:23:53 +0000 |
commit | 6fc52b4ef95de6a223b43124b8d65f9eb845c6b4 (patch) | |
tree | fb6d4e1e9bcaa25176bb8cac7520c43d6586f10c | |
parent | 2ab37f8a729d64a0e7fe6571bd9fead2a663cdb3 (diff) | |
parent | 7197f73277a7d349dddba4e4e36957fa8c4611bb (diff) | |
download | device_generic_goldfish-6fc52b4ef95de6a223b43124b8d65f9eb845c6b4.tar.gz device_generic_goldfish-6fc52b4ef95de6a223b43124b8d65f9eb845c6b4.tar.bz2 device_generic_goldfish-6fc52b4ef95de6a223b43124b8d65f9eb845c6b4.zip |
Merge "Emulator: start logcat -Q as logd user instead of root"
-rw-r--r-- | init.goldfish.rc | 5 | ||||
-rw-r--r-- | init.ranchu.rc | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/init.goldfish.rc b/init.goldfish.rc index 233548d4..ae8aeaf5 100644 --- a/init.goldfish.rc +++ b/init.goldfish.rc @@ -89,8 +89,11 @@ service qemu-props /system/bin/qemu-props # if it does, it redirects its output to the device # named by the androidboot.console kernel option # if not, is simply exits immediately - +# logd user added to prevent logcat from logging content. +# log group added to support access to read logs socket. service goldfish-logcat /system/bin/logcat -Q + user logd + group log oneshot service fingerprintd /system/bin/fingerprintd diff --git a/init.ranchu.rc b/init.ranchu.rc index f1a17617..c4a77fa3 100644 --- a/init.ranchu.rc +++ b/init.ranchu.rc @@ -74,8 +74,11 @@ service qemu-props /system/bin/qemu-props # if it does, it redirects its output to the device # named by the androidboot.console kernel option # if not, is simply exits immediately - +# logd user added to prevent logcat from logging content. +# log group added to support access to read logs socket. service goldfish-logcat /system/bin/logcat -Q + user logd + group log oneshot service fingerprintd /system/bin/fingerprintd |