commit | 23e68780be581a1bb05110f16ad56d1da2bed1e9 | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Fri Jan 16 17:22:41 2015 +0000 |
committer | Narayan Kamath <narayan@google.com> | Fri Jan 16 17:40:35 2015 +0000 |
tree | a803c10ddeebdf3fdb4679811e83310ab9f6be67 | |
parent | 706f6cf3839cc3e268e108a8e2e1ac0b2a2287a2 [diff] |
Fix handling of wrapped processes [part 2] Drop privileges only if we're root. Zygote.preloadClasses can be called from a non-root uid / gid in the case of wrapped classes, so we shouldn't die from the resulting EPERM. Change-Id: Ie3fbe50a17ec49bcbcb875c3a2ee1e1a3a62e88d