Commits

Show all
Author Commit Message Labels Comments Date
Ken Sumrall
Add the new verifypw command to vold/cryptfs This vold command returns 0 if the given password matches the password used to decrypt the device on boot. It returns 1 if they don't match, and it returns -1 on an internal error, and -2 if the device is not encrypted. Also check the uid of the sender of the command and only allow the root and system users to issue cryptfs commands. Change-Id: I5e5ae3b72a2d7814ae68c2d49aa9deb90fb1dac5
Tags
19 tags
Ken Sumrall
Fix cryptfs to work with a raw block device for key storage If a raw block is specified for key storage, do not try to force the size of the file to 16 Kbytes when writing the keys, and do not complain if the size is not 16 Kbytes when reading the keys. Only do them if the keyfile is a regular file. Change-Id: I4de1cb7c3614479d93289d4f2767ca6ce1bbbc73
Ken Sumrall
Add the ability to revert a crypto mapping when unmounting a volume Add the force_and_revert option to the unmount command which will force the unmount, and revert a crypto mapping. This is used during factory reset so that when the internal sdcard volume is formatted, it formats the raw device, not the encrypted mapping. Change-Id: I36b6ff9bb54863b121de635472a303bf4a2334a9
The Android Open Source Project
Reconcile with gingerbread-release Change-Id: Ia9383258bc25f7a82628a1c7238140b810e2f3d3
David 'Digit' Turner
am 6c190fd3: am 137858b4: resolved conflicts for merge of 5284bcff to gingerbread-plus-aosp * commit '6c190fd326099d8315e194b0ad0a173e21146e14': Avoid array overrun. We can now mount the /sdcard partition on our boot sdcards
David 'Digit' Turner
am 137858b4: resolved conflicts for merge of 5284bcff to gingerbread-plus-aosp * commit '137858b43b7e0ed46fb8ebce9230eb40f0a62432': Avoid array overrun. We can now mount the /sdcard partition on our boot sdcards
David 'Digit' Turner
resolved conflicts for merge of 5284bcff to gingerbread-plus-aosp Change-Id: I108a0c32efb5add1fec41bfe76f041971801d48d
Jeff Brown
Merge "Remove the simulator target from all makefiles. Bug: 5010576"
Jeff Brown
Remove the simulator target from all makefiles. Bug: 5010576 Change-Id: I7e531101ae057fb059d7d56c99433c4d66e866dc
Ken Sumrall
Merge "Prevent sharing or formatting of a vold managed volumes during encryption."
Ken Sumrall
Prevent sharing or formatting of a vold managed volumes during encryption. Mounting was already not allowed, but also unshare before starting encryption, and don't allow sharing or formatting to be initiated during encrytion. Change-Id: Ida188d81f025739ba4dd90492b3e66088735991e
Ken Sumrall
Merge "Fix to display the proper percentage complete during encryption."
Ken Sumrall
Fix to display the proper percentage complete during encryption. Forgot to include the size of the userdata partition when computing the total size of vold managed volumes to encrypt. Change-Id: I237548439d4380b4225ffbc603fa972c3b1c5bae
android-merger
reset, and keep history
David 'Digit' Turner
merge intel x86 patches into gingerbread branch
Tags
3 tags
The Android Open Source Project
Reconcile with gingerbread-release Change-Id: I3cb3d915837ebe59c2d7007d71ef3a1f334e9b8b
android-merger
Revert "add bounds checking for mPartMinors[]" This reverts commit f3d3ce5e53ab7928f4c292c183c417a1bd051151.
android-merger
Revert "vold: Enable the SO_PASSCRED socket option" This reverts commit c51920c82463b240e2be0430849837d6fdc5352e.
Joseph Lehrer
vold: retry mounting partition Works around a race condition between the vold and MountService uevent handlers Change-Id: I71c92f2e9b92e1fefc192da166a91d81bc60e242 Signed-off-by: Mike Lockwood <lockwood@android.com>
Mike Lockwood
am 273d3549: am 2c9d8de7: Merge "Prevent buffer overflows." * commit '273d3549198d144331f3e502eeb1215417d72b16': Prevent buffer overflows.
Mike Lockwood
am 2c9d8de7: Merge "Prevent buffer overflows." * commit '2c9d8de79a0dd7f894c65777a197c86486aff96c': Prevent buffer overflows.
Mike Lockwood
Merge "Prevent buffer overflows."
Dianne Hackborn
Add new vold call to get the path to an asec fs. Change-Id: Ife15628ed6e2493c9e85a2ade6d59a194fdddde5
Peter Bohm
Prevent buffer overflows. To eliminate possible buffer overflows some strcpy, sprintf and strcat have been changed to strlcpy, snprintf and strlcat. Change-Id: Ieb9d4b600c894946a6492f8629ff39f2fcc106d3 Signed-off-by: Oskar Andero <oskar.andero@sonyericsson.com>
Mike Lockwood
Update path for seting USB mass storage backing store Change-Id: I0e5fab1624e5ef5d2f55e2584d8adc1b6bab91b0 Signed-off-by: Mike Lockwood <lockwood@android.com>
Mike Lockwood
Merge "Remove obsolete code for monitoring USB status"
Ken Sumrall
Merge "Don't abort the encryption process if an internal volume is present but unmounted."
Ken Sumrall
Don't abort the encryption process if an internal volume is present but unmounted. It is not a failure if the SD card is not mounted. Change-Id: If954f77c55ac124b9b7b39c89ffbafb4e5ea9e98
Nick Kralevich
am 598e833d: am b20d54b2: Merge "fix double closing file descriptors" * commit '598e833d42a687259bc3c9a5a39ad9ba8b105cbb': fix double closing file descriptors
Bruce Beare
Avoid array overrun. We can now mount the /sdcard partition on our boot sdcards Orig-Change-Id: I6e9db8c55db49b4aa61dd40cd59495f55e5b3368 Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
  1. Prev
  2. Next