commit | 2b1f88b6ac78e330ff006da6fecf8bc9d976ec67 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Wed Oct 07 16:38:42 2015 -0700 |
committer | Nick Kralevich <nnk@google.com> | Wed Oct 07 16:54:06 2015 -0700 |
tree | 4a054d5adcb39007ee6bb9f30b700e86ede94026 | |
parent | caf1bb7f2bcfc9183208a360e51f9d54268265b0 [diff] |
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 Change-Id: I81d06196a29489feaefb2fea0cf5c4ff1e273d2f