summaryrefslogtreecommitdiffstats
path: root/fuse_sideload.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Check all lseek calls succeed.Elliott Hughes2015-04-301-9/+7
| | | | | | | Also add missing TEMP_FAILURE_RETRYs on read, write, and lseek. Bug: http://b/20625546 Change-Id: I03b198e11c1921b35518ee2dd005a7cfcf4fd94b
* Always use strerror to report errno in recovery.Elliott Hughes2015-03-231-3/+3
| | | | Change-Id: I7009959043150fabf5853a43ee2448c7fbea176e
* Use the correct fuse_init_out structure size.Christopher Ferris2014-09-181-2/+28
| | | | | | | | | | | | | Kernel 2.6.16 is the first stable kernel with struct fuse_init_out defined (fuse version 7.6). The structure is the same from 7.6 through 7.22. Beginning with 7.23, the structure increased in size and added new parameters. If the kernel only works on minor revs older than or equal to 22, then use the older structure size since this code only uses the 7.22 version of the structure. Change-Id: I00d7530e01e6b4718dcd04ad2484959d12ef4a65
* refactor fuse sideloading codeDoug Zongker2014-07-101-0/+503
Split the adb-specific portions (fetching a block from the adb host and closing the connections) out from the rest of the FUSE filesystem code, so that we can reuse the fuse stuff for installing off sdcards as well. Change-Id: I0ba385fd35999c5f5cad27842bc82024a264dd14