commit | 8b474de4acd97f22dd0f8a63654749c372263b25 | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Thu May 05 11:13:50 2016 -0700 |
committer | Christopher Ferris <cferris@google.com> | Thu May 05 15:47:16 2016 -0700 |
tree | 2c9cd6eae3201d394de36729227f913509047c92 | |
parent | 830561bb2b34ca8c09be4860380e9032202c3112 [diff] |
Set groups before dropping privileges. The code for dumping tombstones tries to read the log data. This was silently failing after the change to drop root privileges. Fix this by explicitly setting the groups allowed before dropping privileges. Bug: 28590884 (cherry picked from commit edc23801091f1a909efe130e0dba8abab3329eb5) Change-Id: I225365edccb11f8752027566fd42f3b10ce10260