diff options
author | bohu <bohu@google.com> | 2017-03-07 14:10:50 -0800 |
---|---|---|
committer | bohu <bohu@google.com> | 2017-03-15 17:18:32 -0700 |
commit | 7197f73277a7d349dddba4e4e36957fa8c4611bb (patch) | |
tree | fb6d4e1e9bcaa25176bb8cac7520c43d6586f10c | |
parent | 2ab37f8a729d64a0e7fe6571bd9fead2a663cdb3 (diff) | |
download | device_generic_goldfish-7197f73277a7d349dddba4e4e36957fa8c4611bb.tar.gz device_generic_goldfish-7197f73277a7d349dddba4e4e36957fa8c4611bb.tar.bz2 device_generic_goldfish-7197f73277a7d349dddba4e4e36957fa8c4611bb.zip |
Emulator: start logcat -Q as logd user instead of root
Change-Id: Ibe205141facf0240052aeba82e9b4761ebf5e848
-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 |