- 11 Feb, 2015 1 commit
-
-
JP Abgrall authored
Changing the device lock (even from swipe to none) will cause the master key to be re-encrypted. If at that point keymaster fails (e.g. due to an incompatible keymaster update) cryptfs will write back the now-incomplete crypto metadata. Upon next reboot, userdata can't be decrypted. Now we don't bother writing on keymaster failure. Bug: 19301883 Change-Id: I2b9a1278f8b4d333ac8d567e17e2263005e99409
-
- 09 Feb, 2015 3 commits
-
-
Elliott Hughes authored
* commit '33b6de4b': prevent ioctl_init() to write outside buffer
-
Elliott Hughes authored
* commit 'd773fc11': Change strncpy to strlcpy
-
Paul Lawrence authored
* commit '38394c7d': Revert "Make encryption configurable"
-
- 07 Feb, 2015 5 commits
-
-
Elliott Hughes authored
* commit 'd55d8dac': prevent ioctl_init() to write outside buffer
-
Elliott Hughes authored
* commit '8c0a0db1': Change strncpy to strlcpy
-
Elliott Hughes authored
-
Elliott Hughes authored
-
Paul Lawrence authored
* commit '223fd1ca': Revert "Make encryption configurable"
-
- 06 Feb, 2015 7 commits
-
-
Paul Lawrence authored
This reverts commit 6a69cfc4. The original fix seems to have led to boot failures in QA. Rather than risk shipping, revert the change. Bug 18764230 reopened. Requires change https://googleplex-android-review.git.corp.google.com/#/c/629950/ Bug: 19278390 Bug: 19199624 Change-Id: Ia858c4db0abb917f9364ec8048f59ca4fb48e233
-
Nick Kralevich authored
* commit 'cf694550': VolumeManager: don't use faccessat(AT_SYMLINK_NOFOLLOW)
-
Nick Kralevich authored
* commit 'd9f2082f': VolumeManager: don't use faccessat(AT_SYMLINK_NOFOLLOW)
-
Nick Kralevich authored
-
Nick Kralevich authored
Don't use faccessat(AT_SYMLINK_NOFOLLOW). In Android, AT_SYMLINK_NOFOLLOW is ignored. In glibc, it returns counter intuitive results when a symbolic link is encountered, returning true all the time even though an open(O_NOFOLLOW) will eventually fail. Instead, stat the file and check to see if it's a regular file, not a directory or symlink or some other weirdness. In addition, fix a bug where isAsecInDirectory would return true ("-1") if the asec directory didn't exist. It should return false. Bug: 18867827 Change-Id: I33d90e9095fad36ce0f83fde105b70f72e4eaef4
-
Henrik Baard authored
Change all function calls to strncpy to strlcpy. Change-Id: I2bbefb7829d715847c5b26f4b9f0faddbd4c89d0
-
Marek Pola authored
The strncpy operation does not write a 0 termination if the name is larger than the target buffer. Ensure that zero termination is always written using safe strlcpy function. Change-Id: Idb68cdff7cd1a860c1dfac7494fa99f3d382cb91
-
- 05 Feb, 2015 8 commits
-
-
Elliott Hughes authored
* commit '71f8d86f': Change lseek to lseek64
-
Elliott Hughes authored
* commit 'f805a8b3': Change lseek to lseek64
-
Elliott Hughes authored
* commit 'e22b21af': Fix memory leak in upgrade_crypt_ftr
-
Elliott Hughes authored
* commit 'ebc83b3e': Fix memory leak in upgrade_crypt_ftr
-
Elliott Hughes authored
-
Elliott Hughes authored
-
Björn Landström authored
Using lseek on 64-bit offset parameter caused failure to write persistent data in crypto footer. Changed calls to use lseek64 instead. Change-Id: I4e4c397a6d36201b8b08be3017e17c9fac3b34e4
-
Henrik Baard authored
The structure crypt_persist_data was allocated, but never freed. Added free of allocated memory in normal and error case. Change-Id: I9aaa067e6f6501e8ce007f8659004b5dbcf2b246
-
- 03 Feb, 2015 1 commit
-
-
Paul Lawrence authored
Bug: 17439091 Change-Id: I55f92984c8234362597be3976a10626a0ed8763f
-
- 28 Jan, 2015 6 commits
-
-
Paul Lawrence authored
* commit 'fcca3faa': Make encryption configurable
-
Paul Lawrence authored
-
Elliott Hughes authored
* commit '61c19efd': Add missing <string.h> include.
-
Elliott Hughes authored
-
Elliott Hughes authored
Change-Id: I31f5cd6fb4ff55d7cfe213f66955e3dbcbdff101
-
Paul Lawrence authored
Add maybeenabledefaultencryption function, that encrypts based on the encryption flag and appropriate environment variable Bug: 18764230 Change-Id: Id9a1967d09a7ae63a51240c0a5f3c41505af0e9a
-
- 26 Jan, 2015 1 commit
-
-
Paul Lawrence authored
* commit '6a69cfc4': Make encryption configurable
-
- 23 Jan, 2015 3 commits
-
-
Kenny Root authored
* commit '26970299': Remove superfluous OpenSSL include paths.
-
Kenny Root authored
-
Adam Langley authored
The libcrypto and libssl modules (and their respective static and host versions) use LOCAL_EXPORT_C_INCLUDE_DIRS thus just including the module is sufficient. Additionally, cryptfs.h was including an OpenSSL header just to get the length of a SHA-256 hash. Rather than force all users of this header to also depend on libcrypto, it's easier just to define that value in the header file. Change-Id: I3e3e0db906a212e1093944b298e4a8ff2e2fb07d
-
- 21 Jan, 2015 1 commit
-
-
Paul Lawrence authored
Add maybeenabledefaultencryption function, that encrypts based on the encryption flag and appropriate environment variable Bug: 18764230 Change-Id: Id9a1967d09a7ae63a51240c0a5f3c41505af0e9a
-
- 06 Jan, 2015 3 commits
- 30 Dec, 2014 1 commit
-
-
Elliott Hughes authored
* commit 'ac2bbd08': Fix missing #includes in system/vold.
-