History log of /system/extras/ext4_utils/key_control.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
512904129a074a056150e707dec638ca8e47f4e2 04-Apr-2017 Eric Biggers <ebiggers@google.com> ext4_utils: define keyctl_unlink()

This will allow vold to unlink keys rather than revoking them.

This also removes the keyctl_revoke() definition for now, to discourage
any further (mis)use in the context of ext4 encryption.

Bug: 35988361
Change-Id: Ic94329040f77ffbe2415287fe1202fa61e8a006b
(cherry picked from commit 3f062383deb3e5ba7b16d4728f5dbc44f40bc178)
/system/extras/ext4_utils/key_control.cpp
06ca811e9297e28f43d65f30493df88862ff09c1 05-Oct-2016 Tao Bao <tbao@google.com> ext4_utils: Export headers for libext4_utils* libs.

So we can do "#include <ext4_utils/make_ext4fs.h>" without adding
"LOCAL_C_INCLUDES += system/extras/ext4_utils".

Also clean up the #include lines in system/extras/ext4_utils/.

Test: `m checkbuild` works.

Change-Id: I3c8b07c9b6f5996160e0cb6d9d069579b1609f60
(cherry picked from commit 018ef1be61e749d0fbe0f05179a4f0f9b858ae57)
/system/extras/ext4_utils/key_control.cpp
7d7a26d9fad78eb2c9f9b36b43e53a1a59a57b47 19-Jan-2016 Nick Kralevich <nnk@google.com> key_control.cpp: Use linux/keyctl.h

Use linux/keyctl.h instead of copying the header definitions.

Change-Id: Ic3804d49671e4951d1d8869411f665e9f5eef674
/system/extras/ext4_utils/key_control.cpp
31654044064d5bac0dd57c495ad43afb7573c393 06-Jul-2015 Paul Crowley <paulcrowley@google.com> Add keyctl_revoke

Change-Id: If63f439d831aa384acd45fde98312923f9c2e561
/system/extras/ext4_utils/key_control.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/key_control.cpp