summaryrefslogtreecommitdiffstats
path: root/libtar/extract.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge AOSP android-9.0.0_r3Ethan Yonker2018-08-241-1/+2
| | | | | | Fix conflicts and make it build in 5.1, 6.0, 7.1, 8.1, and 9.0 Change-Id: Ida0a64c29ff27d339b7f42a18d820930964ac6e4
* FBE for Pixel 2Ethan Yonker2017-11-281-8/+9
| | | | | | | | | | | | Includes various minor fixes for building in Android 8 trees with r23+ tag Update FBE extended header in libtar to version 2 and include the entire ext4_encryption_policy structure now after translating the policy. See this post for more details: https://plus.google.com/u/1/+DeesTroy/posts/i33ygUi7tiu Change-Id: I2af981e51f459b17fcd895fb8c2d3f6c8200e24b
* libtar: support backing up and restoring new Android user.* xattrEthan Yonker2017-02-171-1/+28
| | | | | | | Support for backing up and restoring user.default, user.inode_cache, and user.inode_code_cache xattrs introduced in Android 7.x Change-Id: I6e0aa7fc9cd30ed004ef28ebb58d60a82e518123
* SELinux can be assumed for Android 4.4+Matt Mower2017-01-181-5/+1
| | | | Change-Id: I7410a0c8e439eec90a955ee9201efd9a92bb9635
* libtar: backup and restore posix capabilitiesEthan Yonker2017-01-181-0/+14
| | | | | | | This patch also allows libtar to combine data from multiple extended tar headers into a single header. Change-Id: I82d13e89a3622ea665b60062b1904ddbedfa41b3
* Support backup/restore of FBE policiesEthan Yonker2016-12-131-1/+27
| | | | Change-Id: Iba8ef20f57b0fb57bb9406c53148a806441d0b59
* Improve progress bar handling for backup / restore / image flashEthan Yonker2016-03-311-6/+7
| | | | | | | | | | | | | | | | | The progress bar will now be updated during image backups, restores and during image flashing (except for sparse images which will require significant changes to libsparse, and except for mtd nand using flash_utils). The progress bar will now be updated mid-file for file systems (tar) so the user will see changes even during large file backup / restore. Add a new progress tracking class to simplify handling of progress bar updates. The class will only update the progress bar 5 times a second to reduce the CPU load from updating the GUI frequently which does affect backup times. Change-Id: Iff382faef3df1f86604af336c1a8ce8993cd12c5
* Merge code from upstream libtar + bug fixesJames Christopher Adduono2016-03-021-140/+171
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All updates and fixes applied from upstream libtar as of March 1, 2016. Debug flag is disabled, however non-debug output now provides 1 line of useful output per object extracted. I've also merged some fixes from CyanogenMod's fork of libtar: From: Tom Marshall <tdm@cyngn.com> Date: Thu, 11 Feb 2016 16:24:40 -0800 Subject: libtar: Cleanup, secure, and extend numeric fields Commit: e18b457ea1cbf6be1adc3b75450ed1c737cd82ea From: Tom Marshall <tdm@cyngn.com> Date: Thu, 11 Feb 2016 12:49:30 -0800 Subject: libtar: Make file sizes 64-bit clean Commit: e628c2025549a24018bc568351465130a05daafb From: Tom Marshall <tdm@cyngn.com> Date: Thu, 17 Apr 2014 09:39:25 -0700 Subject: libtar: Add methods for in-memory files Commit: 8ec5627a8ff0a91724c6d5b344f0e887da922527 From: Tom Marshall <tdm@cyngn.com> Date: Wed, 2 Jul 2014 09:34:40 -0700 Subject: libtar: Fix hardlink extract Commit: 166d83a51e0c51abcea37694dbd7df92d03c1f56 From: philz-cwm6 <phytowardt@gmail.com> Date: Sat, 26 Apr 2014 01:11:35 +0200 Subject: libtar: Various bug fixes and enhancements Commit: a271d763e94235ccee9ecaabdb52bf4b9b2f8c06 (Some of this was not merged in, as better solutions were available from upstream libtar) From: Tom Marshall <tdm@cyngn.com> Date: Wed, 9 Apr 2014 09:35:54 -0700 Subject: libtar: Add const qualifiers to reduce compile warnings Commit: 0600afa19fe827d06d3fcf24a7aabd52dbf487b4 Change-Id: I6d008cb6fdf950f835bbed63aeb8727cc5c86083
* 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-201-6/+6
| | | | | Change-Id: I96dc1b52b2e4edf366e70a927b263a9aab3e85b7 Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
* Track backup and restore progressEthan Yonker2014-07-091-3/+8
| | | | | | | | 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>
* Restore contexts when doing mkdierhier in libtarbigbiff bigbiff2014-02-071-1/+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-171-1/+2
| | | | | | recreate lost+found with selinux contexts Change-Id: I19e8696d47319dfb641520956c8a27c2a796a0c3
* libtar: store SELinux file context in tar archivesVojtech Bocek2013-09-051-0/+12
| | | | | | | | | * Using RedHat's "RHT.security.selinux=" tag in extended tar header (type 'x') Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: I102e492e4fa5b8a08fae4d34eb36386862509b4d
* Updates to libtar loggingDees_Troy2013-03-151-22/+20
|
* Another libtar hardlink workaroundDees_Troy2013-03-011-1/+2
|
* libtar - Fix extraction of hardlinks to use the prefixDees_Troy2013-02-271-4/+5
| | | | 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-091-0/+551
Add proper mkdosfs tool Add fuse to TWRP Add experimental exfat-fuse to TWRP Convert all system() functions to use new Exec_Cmd function