History log of /system/extras/ext4_utils/ext4_crypt_init_extensions.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2fa9e939581d944f0204291c53356d6b8c3a938f 12-Jun-2015 Paul Lawrence <paullawrence@google.com> Retry polling to prevent failures

Change-Id: I182ee7f70c5a96bbcdb0fc9e35df67c45a937757
/system/extras/ext4_utils/ext4_crypt_init_extensions.cpp
b411bcc138293db5e09c1f5af638115b3c7c18f8 03-Jun-2015 Paul Lawrence <paullawrence@google.com> Move crypt commands to a different listener in vold

In order to prevent this bug from happening, we must allow vold cryptfs
commands to complete while a long running mount is underway.

While waiting for vold to be changed to a binder interface, we will simply
create two listeners, one for cryptfs and one for everything else.

Bug: 19197175
Change-Id: Id87764ed68c169fc6b94ea4f4f7a51a7ec9c7564
/system/extras/ext4_utils/ext4_crypt_init_extensions.cpp
af02e8aa9164f723a0c2a421a97c227c5adff4c2 01-May-2015 Paul Lawrence <paullawrence@google.com> DO NOT MERGE New faster file open kernel

(chery-picked from commit b01dc1c52ec0a4ec5e07a18ffb5b105a997cc329)

Bug: 18151196

Change-Id: Icdb3d9afa1db125102d01cd06f45dbc99ca78021
/system/extras/ext4_utils/ext4_crypt_init_extensions.cpp
a47a1331f75433fe25e3f57ffdecea92f7e48425 05-May-2015 Paul Lawrence <paullawrence@google.com> DO NOT MERGE Use default key permissions for ext4enc

(cherry-picked from commit 478a01d6f2081f7807b99774d005fee373847f23)

As per discussion default permissions are the correct ones.
Note that since we use logon keys, they cannot be read outside
the kernel.

Note also that we limit who can read/write keys in selinux policy.

Bug: 18151196
Change-Id: I15dc0de92643ae1472b0cde79c464fb3e1a1d453
/system/extras/ext4_utils/ext4_crypt_init_extensions.cpp
db1d49c70eec489cf3d60a4ec70a8e7c0f3f2b76 10-Apr-2015 Paul Lawrence <paullawrence@google.com> DO NOT MERGE New ext4enc kernel switching from xattrs to ioctl

(cherry-picked from commit 9f53fb4abca1ee3af7b537c95445161db4b81f86)

This is one of three changes to enable this functionality:
https://android-review.googlesource.com/#/c/146259/
https://android-review.googlesource.com/#/c/146264/
https://android-review.googlesource.com/#/c/146265/

Bug: 18151196

Change-Id: I05b96f49b8848e82484a500e4536bdb4d2cdd635
/system/extras/ext4_utils/ext4_crypt_init_extensions.cpp
bc2eb8c3fd621605ff1ccaed04a71e6685acc974 29-Apr-2015 Paul Lawrence <paullawrence@google.com> DO NOT MERGE Securely encrypt the master key

(cherry-picked from commit 377cd1957172c19ee21baa3d6bda0840f1ce020d)

Move all key management into vold
Reuse vold's existing key management through the crypto footer
to manage the device wide keys.

Use ro.crypto.type flag to determine crypto type, which prevents
any issues when running in block encrypted mode, as well as speeding
up boot in block or no encryption.

This is one of four changes to enable this functionality:
https://android-review.googlesource.com/#/c/148586/
https://android-review.googlesource.com/#/c/148604/
https://android-review.googlesource.com/#/c/148606/
https://android-review.googlesource.com/#/c/148607/

Bug: 18151196

Change-Id: I7a4ef3f3a937c45ff18f17c9ad1398293a8630f3
/system/extras/ext4_utils/ext4_crypt_init_extensions.cpp
36d056c52e78565747786e9870c3c0a9fbf80612 09-Apr-2015 Paul Crowley <paulcrowley@google.com> select(2) is bad, always use poll(2). Also remove unnecessary loop.

Change-Id: I18cb8d75945413e35dc904bc95362d9b579cb336
/system/extras/ext4_utils/ext4_crypt_init_extensions.cpp
d059fdd4ef24d9e23d21a218c098c0376c880a5e 04-Apr-2015 Elliott Hughes <enh@google.com> Fix missing '\n's in kernel logging.

Change-Id: I3a127b2d50012fec2f91fd302bbc611e47e04aff
/system/extras/ext4_utils/ext4_crypt_init_extensions.cpp
61980269c14ae78a9ca893a56df67cf475cdfafd 16-Mar-2015 Paul Lawrence <paullawrence@google.com> ext4_utils: Abstracting ext4 encryption property system

Change-Id: Iddca42328e9249eb09eb68e6d5339a02cfebecd0
/system/extras/ext4_utils/ext4_crypt_init_extensions.cpp
f9768752cbf6ebac97214a021dc288c7b6592f1e 30-Mar-2015 Paul Lawrence <paullawrence@google.com> Clean up includes

Remove two system files
Remove a circular include dependency by using a callback function

Change-Id: I159357b3a0ad06d0a7ebf45feb82989bcc1b303a
/system/extras/ext4_utils/ext4_crypt_init_extensions.cpp
ee29686943f6c40489b7e3009cc8c87cdde79abf 28-Mar-2015 Elliott Hughes <enh@google.com> Don't #include "../".

If you have to use a relative path (especially one out of the current
git project), you probably shouldn't be using those headers...

(cherrypick of 0c58a04b5567b84a13269835d9365a045d85b95e.)

Change-Id: Ifef6945cf1e884a4aa7f8f5532f1de660a22dafc
/system/extras/ext4_utils/ext4_crypt_init_extensions.cpp
92da49db65ffbe0bff1771ecef87ad49e94a0626 26-Feb-2015 Paul Lawrence <paullawrence@google.com> [HACK] Adding e4crypt support

This is a dirty hack requiring a lot of clean up.
Needed to allow other parts to make progress.

Add e4crypt functions to libext4_utils
Add e4crypt command line tool

Change-Id: Iac5ae75e7f39cccc87701faf1f590e44f5209c0e
/system/extras/ext4_utils/ext4_crypt_init_extensions.cpp