commit | b546621cd1cb97aa6f9e490152652e7076e47d3f | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@google.com> | Tue Sep 01 08:40:39 2015 -0700 |
committer | Rom Lemarchand <romlem@google.com> | Mon Nov 16 08:53:04 2015 -0800 |
tree | cb420c0b593433945c27ad4b8811db94e721741d | |
parent | b041ad731db3e511e309da863923207d3aa239e7 [diff] |
logd: clientHasLogCredentials false negatives (cherry pick from commit 86eb38f3caaddbd54c0339e6b2abeab254ae98fb) Vote three times in /proc/pid/status to look for AID_LOG group If not, we may default to the callers UID, and the net result is to perform the task related to that UID. For adb logcat and shell logcat, the UID is AID_SHELL which typically has no logs, leaving no net action taken. Bug: 23711431 Change-Id: I2b5900a2d37173bd995eb308ee9ecafa20602b62