diff options
author | Ken Sumrall <ksumrall@android.com> | 2011-01-28 23:31:16 -0800 |
---|---|---|
committer | Ken Sumrall <ksumrall@android.com> | 2011-01-29 00:48:30 -0800 |
commit | 3ed8236de11a1be8b45d4c37b2208682f5e97c72 (patch) | |
tree | 271a5a900af120f1a1013a7df02b4b225dd8dfc3 /Android.mk | |
parent | 0167cb15935592deea9abbd6a8bbe904e27bd101 (diff) | |
download | system_vold-3ed8236de11a1be8b45d4c37b2208682f5e97c72.tar.gz system_vold-3ed8236de11a1be8b45d4c37b2208682f5e97c72.tar.bz2 system_vold-3ed8236de11a1be8b45d4c37b2208682f5e97c72.zip |
Don't try to encrypt in place a filesystem that is too large and return proper errors
If the already existing filesystem encompasses the entire /data partition
and does not leave the last 16 Kbytes for the crypto footer, refuse to
do encrypt in place and return an error. This is only an issue for folks
with early development systems trying to encrypt an old /data. This should
not be seen in released devices.
Also, if there is an error, try to report back to the UI what the error was
so it can deal with it.
Change-Id: If66781a4fe03034c96c3dd12075240deb8663db0
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -26,6 +26,7 @@ common_src_files := \ common_c_includes := \ $(KERNEL_HEADERS) \ + system/extras/ext4_utils \ external/openssl/include common_shared_libraries := \ |