commit | 48049dde30bc1170670045517a79c80c81a5a0f0 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Mar 17 21:19:25 2015 -0700 |
committer | Elliott Hughes <enh@google.com> | Tue Mar 17 21:24:18 2015 -0700 |
tree | bfd5347afc72f36e6861c12a2bb9b93ff8333faa | |
parent | f1380e5ba41393dd2fd605692a0cd207782418b6 [diff] |
su should reset PATH, IFS, LOGNAME, and USER. Also add -h and --help while we're here (since all the toybox commands carry their own documentation, and our su isn't much like the real su). Bug: 19647373 Bug: 19564110 Change-Id: If2e6117b6701dcac03b5831f251e60a272bf0d61