- 30 Mar, 2015 4 commits
-
-
Elliott Hughes authored
* commit '8a0fde27': Fixed type mismatch for ioctl(BLKGETSIZE)
-
Elliott Hughes authored
* commit 'e9623fed': Fixed type mismatch for ioctl(BLKGETSIZE)
-
Elliott Hughes authored
-
Hiroaki Miyazawa authored
ioctl(BLKGETSIZE) expects unsigned long (8 bytes on 64 bit environment). This is fixing fails in android.os.storage.StorageManagerIntegrationTest (in FrameworkCoreTests). To verify, install FrameworksCoreTests.apk and do: adb shell am instrument -r -w -e class android.os.storage.\ StorageManagerIntegrationTest#testMountSingleEncryptedObb \ com.android.frameworks.coretests/android.test.InstrumentationTestRunner Change-Id: Ib6d5c7490c02521c93f107c35ad0aac49f6a3f1a
-
- 27 Mar, 2015 4 commits
-
-
Paul Lawrence authored
* commit '836e7860': Adding e4crypt support
-
Paul Lawrence authored
* commit '8120c3d1': Adding e4crypt support
-
Paul Lawrence authored
-
Paul Lawrence authored
Redirect all crypto calls to e4crypt equivalents if file level encryption detected. Note this change implements only the ones needed for minimal functionality. Requires matching change: https://googleplex-android-review.git.corp.google.com/#/c/642778/ Change-Id: I622d1a91704de4b3ab655486e6d38cd6718e6016
-
- 19 Mar, 2015 1 commit
-
-
Paul Lawrence authored
Redirect all crypto calls to e4crypt equivalents if file level encryption detected. Note this change implements only the ones needed for minimal functionality. Requires matching change: https://googleplex-android-review.git.corp.google.com/#/c/642778/ Change-Id: I622d1a91704de4b3ab655486e6d38cd6718e6016
-
- 16 Mar, 2015 2 commits
-
-
JP Abgrall authored
Now we skip mountpoints that are repeated. Bug: 19744511 Change-Id: Iff1618274a07180e62a01c3e2479dc1d52baf267 Signed-off-by:
JP Abgrall <jpa@google.com>
-
Dan Albert authored
Change-Id: I23b1281a63031a7481ea7b33c9ddbdbe7d3d6174
-
- 13 Mar, 2015 4 commits
-
-
Jeff Sharkey authored
-
Jeff Sharkey authored
Change-Id: I130b250a663cdfb379def24583523d0287ec31dd
-
Jeff Sharkey authored
-
Jeff Sharkey authored
This is the first in a series of changes that are designed to introduce better support for dynamic block devices. It starts by defining a new Volume object which represents a storage endpoint that knows how to mount, unmount, and format itself. This could be a filesystem directly on a partition, or it could be an emulated FUSE filesystem, an ASEC, or an OBB. These new volumes can be "stacked" so that unmounting a volume will also unmount any volumes stacked above it. Volumes that provide shared storage can also be asked to present themselves (through bind mounts) into user-specific mount areas. This change also adds a Disk class which is created based on block kernel netlink events. Instead of waiting for partition events from the kernel, it uses gptfdisk to read partition details and creates the relevant Volume objects. Change-Id: I0e8bc1f8f9dcb24405f5e795c0658998e22ae2f7
-
- 06 Mar, 2015 1 commit
-
-
JP Abgrall authored
Bug: 19624276 Change-Id: I84eeb029114d6ba2a26a53d4155d123d8acd7502
-
- 05 Mar, 2015 5 commits
-
-
Nick Kralevich authored
* commit '58819cde': fstrim.c: use open(O_DIRECTORY) instead of stat
-
Nick Kralevich authored
* commit 'cdcffc0d': fstrim.c: use open(O_DIRECTORY) instead of stat
-
Nick Kralevich authored
* commit '3393bb65': fstrim.c: use open(O_DIRECTORY) instead of stat
-
Nick Kralevich authored
-
Nick Kralevich authored
open(O_DIRECTORY) returns an error if the open attempt is against anything other than a directory. This basically duplicates the check that the stat() call was trying to do. Eliminate the unnecessary stat() call and use O_DIRECTORY instead. Change-Id: I1821abbed325f29a7214fdc41ed27cd9e26817d0
-
- 26 Feb, 2015 12 commits
-
-
Shawn Willden authored
* commit '42c79333': Rename keymaster_device_t to keymaster0_device_t.
-
Shawn Willden authored
* commit '47bc0ffa': Rename keymaster_device_t to keymaster0_device_t.
-
Shawn Willden authored
* commit '5054f7ee': Rename keymaster_device_t to keymaster0_device_t.
-
Shawn Willden authored
-
JP Abgrall authored
* commit 'af057b52': vold: acquire wakelock on fstrim thread
-
JP Abgrall authored
* commit 'aac44855': vold: acquire wakelock on fstrim thread
-
JP Abgrall authored
* commit 'c19c6738': vold: acquire wakelock on fstrim thread
-
JP Abgrall authored
-
Shawn Willden authored
* commit 'b87264fb': Rename keymaster_device_t to keymaster0_device_t.
-
Young-ho Cha authored
If fstrim thread creation or detachment is failed, wakelock can be leaked. So move wakelock acquire to do_fstrim_filesystems function Change-Id: I4da3164343af83fae3e5b01700f43d1752661276 Signed-off-by:
Young-ho Cha <ganadist@gmail.com>
-
Shawn Willden authored
This is to accomodate the new keymaster1_device_t, which has an entirely different interface. Soon I'll provide a libkeymaster which provides a unified (and nicer) interface for dealing with both v0 and v1 keymaster implementations using a v1 keymaster API. For now this change is just so that vold will build and run. Change-Id: I5c54282c12d1c4b8b22ed4929b6e6c724a94ede4
-
Shawn Willden authored
This is to accomodate the new keymaster1_device_t, which has an entirely different interface. Soon I'll provide a libkeymaster which provides a unified (and nicer) interface for dealing with both v0 and v1 keymaster implementations using a v1 keymaster API. For now this change is just so that vold will build and run. Change-Id: I5c54282c12d1c4b8b22ed4929b6e6c724a94ede4
-
- 24 Feb, 2015 1 commit
-
-
Shawn Willden authored
This is to accomodate the new keymaster1_device_t, which has an entirely different interface. Soon I'll provide a libkeymaster which provides a unified (and nicer) interface for dealing with both v0 and v1 keymaster implementations using a v1 keymaster API. For now this change is just so that vold will build and run. Change-Id: I5c54282c12d1c4b8b22ed4929b6e6c724a94ede4
-
- 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 2 commits
-
-
Elliott Hughes authored
* commit 'd55d8dac': prevent ioctl_init() to write outside buffer
-
Elliott Hughes authored
* commit '8c0a0db1': Change strncpy to strlcpy
-