commit | 679f34fb3d4b5a69f74b6c97b1007cba8f001a3b | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Wed Oct 07 16:38:42 2015 -0700 |
committer | Nick Kralevich <nnk@google.com> | Tue Dec 01 13:50:26 2015 -0800 |
tree | ef7f63f0a40433b3828fc5b8ad52eaa52936ed55 | |
parent | 0fa1c5eaa65c5390c7f104fd126feb8df4247777 [diff] |
DO NOT MERGE: dumpstate: execute procrank using su procrank is a setuid binary which only exists on userdebug/eng builds. Instead of executing the setuid binary, run the binary using the su command. This eliminates one more setuid binary, and allows the tightening of the SELinux policy. Bug: 18342188 (cherry picked from commit 2b1f88b6ac78e330ff006da6fecf8bc9d976ec67) Bug: 25951005 Change-Id: I90c86f89974b3878273a29277b2a5d5d7c4b81c7