summaryrefslogtreecommitdiffstats
path: root/cryptfs.h
diff options
context:
space:
mode:
authorKen Sumrall <ksumrall@android.com>2011-01-14 15:20:02 -0800
committerKen Sumrall <ksumrall@android.com>2011-01-14 15:20:02 -0800
commit6864b7ec94a57b73c300457955d86dc604aeddf5 (patch)
treed880913083f0bf9e4fc41ccb06b9460e1f2043c8 /cryptfs.h
parent2eaf7138528d30c331d83ab8346a97e66b5499e2 (diff)
downloadandroid_system_vold-6864b7ec94a57b73c300457955d86dc604aeddf5.tar.gz
android_system_vold-6864b7ec94a57b73c300457955d86dc604aeddf5.tar.bz2
android_system_vold-6864b7ec94a57b73c300457955d86dc604aeddf5.zip
Change the cryptfs command to separate out checking the password and restarting
In order to make the animations and the UI look right, we need to change the cryptfs checkpw command to return a status if the password was correct or not, and not have it automatically restart if it's correct. There is a new command restart that will restart the framework with the encrypted filesystem. Change-Id: Ia8ae00d7ed8667699aa58d05ad8ba953cca9316e
Diffstat (limited to 'cryptfs.h')
-rw-r--r--cryptfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cryptfs.h b/cryptfs.h
index 32f1724..10b3b7d 100644
--- a/cryptfs.h
+++ b/cryptfs.h
@@ -53,6 +53,7 @@ struct crypt_mnt_ftr {
extern "C" {
#endif
int cryptfs_check_passwd(char *pw);
+ int cryptfs_restart(void);
int cryptfs_enable(char *flag, char *passwd);
#ifdef __cplusplus
}