Commits

Show all
Author Commit Message Labels Comments Date
The Android Automerger
merge in jb-mr0-release history after reset to jb-dev
Tags
3 tags
Kenny Root
Only cleanup ASECs in external storage DO NOT MERGE Any ASEC or OBB files were unmounted when USB storage was set to UMS mode. This changes it so only ASEC files on external storage and OBB files mounted from external storage are unmounted. (Cherry-pick of 93ecb38daded7583a4a61f4f22519bb7a8a8c154) Bug: 6948035 Change-Id: Ib60727bd360caa32173797ff5b4e1e21fcf20054
Tags
android-cts-4.1_r2
Ken Sumrall
Unmount all asec apps before encrypting Now that forward locked apps are stored on /data as asec image files that are mounted, they need to be unmounted before /data can be unmounted so it can be encrypted. Change-Id: I7c87deb52aaed21c8ad8ce8aceb7c15c2338620a
Tags
8 tags
Ken Sumrall
Unmount all asec apps before encrypting Now that forward locked apps are stored on /data as asec image files that are mounted, they need to be unmounted before /data can be unmounted so it can be encrypted. Change-Id: I7c87deb52aaed21c8ad8ce8aceb7c15c2338620a
Tags
android-cts-4.1_r1
The Android Automerger
merge in jb-release history after reset to jb-dev
Kenny Root
Merge "Sleep to wait for dm to create node" into jb-dev
Kenny Root
Native library loading needs to read directory When calling System.loadLibrary(), it needs to be able to read the directory to load the file. We could probably fix that, but changing permissions here is faster. Bug: 6478606 Change-Id: I296b0805839da5a19950157f9a16755a4d258ca8
Kenny Root
Only set permissions on dirs or files Traversal would mark directories with the correct permissions, but they're visited again in post-order which is a different fts_info flag. Then it would set that to regular file permissions. Explicitly check to make sure we're looking at a file instead. Bug: 6478606 Change-Id: I13cab3e69f451da6a994fa974d575ef366f82025
Kenny Root
Sleep to wait for dm to create node There appears to be a race condition from when the device mapper is asked to create a device and when it actually appears. When we moved ASECs to use Ext4, mount started winning the race more often. Just insert a sleep-retry loop here to counter-act this race. We should ideally look at the uevent replies, but it takes a bit more effort to separate them out. Change-Id: Ie8a5b36b1c9a26f2320a178d37…
Kenny Root
Native library loading needs to read directory When calling System.loadLibrary(), it needs to be able to read the directory to load the file. We could probably fix that, but changing permissions here is faster. Bug: 6478606 Change-Id: I296b0805839da5a19950157f9a16755a4d258ca8
Kenny Root
Only set permissions on dirs or files Traversal would mark directories with the correct permissions, but they're visited again in post-order which is a different fts_info flag. Then it would set that to regular file permissions. Explicitly check to make sure we're looking at a file instead. Bug: 6478606 Change-Id: I13cab3e69f451da6a994fa974d575ef366f82025
The Android Automerger
merge in jb-release history after reset to jb-dev
Ken Sumrall
Changes to encryption to work with the new filesystem manager The new filesystem manager is in charge of mounting the block devices now, removing much of the knowledge from init.<device>.rc. This also let us clean up some init code dealing with encryption, so this change updates vold to work with that. More cleanup is possible, but the main goal of the filesystem manager was to enable e2fsck, not a full cleanup of encryption. Change-Id: I00ea80a923d14770e…
Kenny Root
Fix truncation of ASEC ids Change-Id: I1e6bfcc6b0a5be47e6fd19922fc81669f61b5dba
Kenny Root
Fix truncation of ASEC ids Change-Id: I1e6bfcc6b0a5be47e6fd19922fc81669f61b5dba
Kenny Root
Add in ext4 support for ASEC containers Now forward locked applications will be in ASEC containers both internal to the system and externally. This change adds support for putting applications in ext4-based ASECs. Change-Id: I8d6765b72dd2606e429c067b47a2dbcaa8bef37d
Mike Lockwood
Merge remote-tracking branch 'goog/ics-aah-exp'
Mike Lockwood
Merge commit '43b80c229bdee7f32654e2ec561078c5c94c8851' empty merge with -s ours Change-Id: I4c7d6fb13e175af819cab784704e08e9189f6739
Ken Sumrall
Merge "Fix vdc to add sequence number for NativeConectorDaemon"
Ken Sumrall
Merge "Fix to not return a bogus decryption error when a device is not encrypted."
Ken Sumrall
Fix vdc to add sequence number for NativeConectorDaemon NativeConnectorDaemon was changed to use an optional sequence number, and most services were changed to require it. Now that vold requires a sequence number, vdc must provide one. Change-Id: Ibdff9878faf19eae25525221c80bcb5e5f87cfea
Glenn Kasten
Merge "Use sched_policy to avoid hard-coded cpuctl path"
Glenn Kasten
Use sched_policy to avoid hard-coded cpuctl path Change-Id: I8f62287d1b60d8eef72d1dfc64be5c3d56e9f498
Robert Greenwalt
Use the new command numbering scheme. Support multiple commands on a single socket via command numbers. NativeDaemonConnector has been changed, so we need to use it here too. bug:5864209 Change-Id: Ie06e966d50057d122a958377731c0385ea367b69
Nick Kralevich
vold: add -Werror=format Stop format string bugs from creeping into root level processes. Change-Id: Ifa19ac0cacba76392040ab16cebe557b5b016706
Mike Lockwood
Add support for wiping data immediately if crypt fails Needed for headless devices that need to recover with no user intervention Bug: 5556856 Change-Id: I0f85591df513a6893324fb057bde114ac1df044b Signed-off-by: Mike Lockwood <lockwood@google.com>
Mike Lockwood
Add support for wiping data immediately if crypt fails Needed for headless devices that need to recover with no user intervention Bug: 5556856 Change-Id: Iabe5d68599259b14626bfcf45e6697d81b866101 Signed-off-by: Mike Lockwood <lockwood@google.com>
Ken Sumrall
Fix to not return a bogus decryption error when a device is not encrypted. If there is filesystem damage on a non-encrypted device, and /data is not mountable, and if the device stores the keys in a file on a different partition (like on Crespo) then, vold would return an error which caused the crypto UI to present an option to the user to wipe the device because it assumed encryption had failed. This fixes it to not do that. Change-Id: Ibff6299787b45768416dbc4052de7db…
Ed Heyl
keep previous history after reset to mr1 plus aah changes (ics-aah-wip)
Ed Heyl
undo reset to ics-mr1 until we have a better method
  1. Prev
  2. Next