summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbohu <bohu@google.com>2017-03-17 16:30:27 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-03-17 16:30:27 +0000
commite87326d436005cfcff7b597ecf5cda21f8cd7b0e (patch)
tree6292dd45f0c64d3b1da7c24101fef710f579a5e7
parent1f0a0dfaedbcb6559c7387288ef19d3e950af74e (diff)
parent6fc52b4ef95de6a223b43124b8d65f9eb845c6b4 (diff)
downloaddevice_generic_goldfish-e87326d436005cfcff7b597ecf5cda21f8cd7b0e.tar.gz
device_generic_goldfish-e87326d436005cfcff7b597ecf5cda21f8cd7b0e.tar.bz2
device_generic_goldfish-e87326d436005cfcff7b597ecf5cda21f8cd7b0e.zip
am: 6fc52b4ef9 Change-Id: I295dbb08f6595a1c4a255c5e20106c449e00b773
-rw-r--r--init.goldfish.rc5
-rw-r--r--init.ranchu.rc5
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