tag | 5ae5eccb5f46d90bfd64cc4b692497c522f03d8c | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Tue Dec 20 13:33:14 2011 -0800 |
object | 3ad9072a5d6f6bda32123b367545649364e3c11d |
Android 4.0.3 SDK tools release 1
commit | 3ad9072a5d6f6bda32123b367545649364e3c11d | [log] [tgz] |
---|---|---|
author | Ken Sumrall <ksumrall@android.com> | Tue Oct 04 20:38:29 2011 -0700 |
committer | Ken Sumrall <ksumrall@android.com> | Wed Oct 12 19:10:38 2011 -0700 |
tree | aca223fe5d71e2a0f62c7a1d644571532fe3e0e8 | |
parent | 3be890f59c04f94537f2f66f1d2841ed591f1a6e [diff] |
Add the new verifypw command to vold/cryptfs This vold command returns 0 if the given password matches the password used to decrypt the device on boot. It returns 1 if they don't match, and it returns -1 on an internal error, and -2 if the device is not encrypted. Also check the uid of the sender of the command and only allow the root and system users to issue cryptfs commands. Change-Id: I5e5ae3b72a2d7814ae68c2d49aa9deb90fb1dac5