summaryrefslogtreecommitdiffstats
path: root/libtar (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge up to AOSP marshmallow-releaseEthan Yonker2015-10-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to maintain compatibility with older trees, we now have minadbd.old and minui.old. I had to use a TARGET_GLOBAL_CFLAG to handle ifdef issues in minui/minui.d because healthd includes minui/minui.h and there was no other alternative to make minui.h compatible with older trees without having to modify healthd rules which is outside of TWRP. Note that the new minui does not currently have support for qcom overlay graphics. Support for this graphics mode will likely be added in a later patch set. If you are building in a 6.0 tree and have a device that needs qcom overlay graphics, be warned, as off mode charging may not work properly. A dead battery in this case could potentially brick your device if it is unable to charge as healthd handles charging duties. Update rules for building toolbox and add rules for making toybox Use permissive.sh in init.rc which will follow symlinks so we do not have to worry about what binary is supplying the setenforce functionality (toolbox, toybox, or busybox). Fix a few warnings in the main recovery binary source code. Fix a few includes that were missing that prevented compiling in 6.0 Change-Id: Ia67aa2107d260883da5e365475a19bea538e8b97
* libtar: fix handling of files bigger than 2 GiBVojtech Bocek2015-03-203-8/+9
| | | | | Change-Id: I96dc1b52b2e4edf366e70a927b263a9aab3e85b7 Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
* Address a few compiler warningsMatt Mower2015-03-051-1/+1
| | | | Change-Id: I6e063fba8d58c8c53da6bca6292c84e3392aee50
* Fix some module tagsMatt Mower2014-11-041-5/+3
| | | | | | There is no LOCAL_MODULES_TAGS. Fix by combining with LOCAL_MODULE_TAGS. Change-Id: I1cacef2f8123af3632ff6a52aa62c2f2e15ac37d
* Track backup and restore progressEthan Yonker2014-07-093-10/+15
| | | | | | | | Track backup and restore progress based on the sizes of the files as they are being added to the tar backup file. Update the progress bar based on the sizes of the files. Change-Id: Idf649efa1db3e91830b4b2add86203a3f30042ff
* libtar: don't set parent dir's context when extracting a fileVojtech Bocek2014-06-061-3/+0
| | | | | Change-Id: I83e11b0119c47cb691d4e05ac1e5515aeafbdc87 Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
* Add twrpTar binaryEthan Yonker2014-02-121-0/+3
| | | | Change-Id: I9db1aac350cd2ca02cceccc249ebd2f0b3c3c671
* Add rule to make libtar_staticEthan Yonker2014-02-121-0/+20
| | | | Change-Id: I9cddde9961e79c4d4905382858ee330b856d6edf
* Restore contexts when doing mkdierhier in libtarbigbiff bigbiff2014-02-072-7/+4
| | | | | | Do a restore of loaded file contexts to /data/media directory. This will help denials to be prevented when internal storage is wiped. Change-Id: Ie49bbfa48d2f3ee4f08376d9c1877b92c051017c
* fix getting and setting contexts in selinuxbigbiff bigbiff2013-10-172-12/+6
| | | | | | recreate lost+found with selinux contexts Change-Id: I19e8696d47319dfb641520956c8a27c2a796a0c3
* Make SELinux automatic if presentDees Troy2013-09-121-1/+1
|
* Fix libselinx flags in libtarDees_Troy2013-09-061-1/+1
|
* libtar: store SELinux file context in tar archivesVojtech Bocek2013-09-056-0/+168
| | | | | | | | | * Using RedHat's "RHT.security.selinux=" tag in extended tar header (type 'x') Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: I102e492e4fa5b8a08fae4d34eb36386862509b4d
* skip checking size on linksbigbiff bigbiff2013-08-281-5/+7
| | | | | | skip google music cache Change-Id: I75d6fd0e17140d12cb2c6d335e8ff73a6f871aa2
* Support encrypted backup filesDees_Troy2013-06-222-35/+67
| | | | | | | | | | | | | | | Also includes features merged from: Update twrpTar by kokotas Revised function entryExists(). Added function to get archive's uncompressed size. Added option to exclude item(s) from the archive. Revised forks() http://review.teamw.in/#/c/590/ Change-Id: I01fa2c81643161984eff2625247af75990684bd9
* Add search function to libtarn0d32013-03-182-0/+32
| | | | | | | Function entryExists() can be called in order to check if an entry exists inside an archive. Change-Id: Id3d13d20dfb74a1779dbd8ba6f0ab08c3ca46319
* Updates to libtar loggingDees_Troy2013-03-152-23/+21
|
* Another libtar hardlink workaroundDees_Troy2013-03-011-1/+2
|
* libtar - Fix extraction of hardlinks to use the prefixDees_Troy2013-02-273-8/+9
| | | | Change-Id: I116982ceed722364406b99fb08bc6943afa0390a
* fix restore on mknodbigbiff bigbiff2013-02-271-8/+8
| | | | Change-Id: I9fb8b927f81a8cded651e42026beb3d5c252d1e8
* Add libtar to TWRP instead of using busybox tarbigbiff bigbiff2013-01-0939-0/+7154
Add proper mkdosfs tool Add fuse to TWRP Add experimental exfat-fuse to TWRP Convert all system() functions to use new Exec_Cmd function