OSDN Git Service

vold: allow to store key in a file on another partition
authorKen Sumrall <ksumrall@android.com>
Thu, 19 May 2011 00:20:07 +0000 (17:20 -0700)
committerKen Sumrall <ksumrall@android.com>
Thu, 2 Jun 2011 23:30:14 +0000 (16:30 -0700)
commit29d8da8cefa99e436c13295d4c9bad060ca18a6d
tree3608a594ae4a411b8bdfa5238812290090643274
parent10a9e42835e7a241e796fe1b9c159dbfb312a69d
vold: allow to store key in a file on another partition

Add support for keeping the keys in a separate file on another partition,
for devices with no space reserved for a footer after the userdata filesystem.

Add support for encrypting the volumes managed by vold, if they meet certain
criteria, namely being marked as nonremovable and encryptable in vold.fstab.
A bit of trickiness is required to keep vold happy.

Change-Id: Idf0611f74b56c1026c45742ca82e0c26e58828fe
DirectVolume.cpp
DirectVolume.h
Volume.cpp
Volume.h
VolumeManager.cpp
VolumeManager.h
cryptfs.c
cryptfs.h
main.cpp