commit | 68cf303061959830a3c83a60a31fcd643755c9f8 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Sat Mar 14 10:15:06 2015 -0700 |
committer | Elliott Hughes <enh@google.com> | Sat Mar 14 14:09:33 2015 -0700 |
tree | 7ae5e43b67974e7abcf38120da1a09956b4baa66 | |
parent | 50cf3c84c5bb88b3798a561d742c2e87ef02a8b3 [diff] |
Clean up su. Stop building su as a static executable. We don't rely on the getuid implementation for security, so we have nothing to fear from the dynamic linker. Add some missing error checking and improve error reporting. Remove various special cases that can all be rolled into the general case. Bug: 19647373 Change-Id: I2689b8957a89da1f3be571fcdc966b1084efca9a