summaryrefslogtreecommitdiffstats
path: root/minzip/Zip.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Extend recovery and updater to support setting file security contexts.Stephen Smalley2012-03-301-1/+9
| | | | | | | Extend minzip, recovery, and updater to set the security context on files based on the file_contexts configuration included in the package. Change-Id: Ied379f266a16c64f2b4dca15dc39b98fcce16f29
* add a one-argument version of package_extract_fileDoug Zongker2010-02-011-0/+7
| | | | | | | | | | | Add a version of package_extract_file that returns the file data as its return value (to be consumed by some other edify function that expects to receive a bunch of binary data as an argument). Lets us avoid having two copies of a big file in memory (extracting it into /tmp, which is a ramdisk, and then having something load it into memory) when doing things like radio updates. Change-Id: Ie26ece5fbae457eb0ddcd8a13d74d78a769fbc70
* undo temporary alignment hackDoug Zongker2009-05-081-9/+1
| | | | | | Remove the memory alignment that mysteriously made OTA installs work, in anticipation of a kernel that fixes the actual problem. Handle EINTR properly.
* align data passed to write() on 32k boundariesDoug Zongker2009-05-061-1/+9
| | | | | | | | | | In donut, OTA installation often encounters the write() system call doing short writes -- which is legal but unexpected -- or failing with ENOSPC when plenty of space is available. Passing aligned memory buffers to write() appears to prevent (or at least reduce the frequency) of these problems. b/1833052 has been filed to look at the underlying problem, but this change aligns buffers we use with write() so we can OTA for now (or see if this problem still occurs).
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-041-0/+206
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-041-206/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+206