summaryrefslogtreecommitdiffstats
path: root/libtar/libtar.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-11-28FBE for Pixel 2Ethan Yonker1-3/+2
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
2017-02-17libtar: support backing up and restoring new Android user.* xattrEthan Yonker1-0/+4
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
2017-01-18SELinux can be assumed for Android 4.4+Matt Mower1-2/+0
Change-Id: I7410a0c8e439eec90a955ee9201efd9a92bb9635
2017-01-18libtar: backup and restore posix capabilitiesEthan Yonker1-2/+9
This patch also allows libtar to combine data from multiple extended tar headers into a single header. Change-Id: I82d13e89a3622ea665b60062b1904ddbedfa41b3
2016-12-13Support backup/restore of FBE policiesEthan Yonker1-0/+11
Change-Id: Iba8ef20f57b0fb57bb9406c53148a806441d0b59
2016-03-02Merge code from upstream libtar + bug fixesJames Christopher Adduono1-36/+58
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
2015-03-20libtar: fix handling of files bigger than 2 GiBVojtech Bocek1-0/+1
Change-Id: I96dc1b52b2e4edf366e70a927b263a9aab3e85b7 Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
2014-07-09Track backup and restore progressEthan Yonker1-3/+3
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
2013-09-05libtar: store SELinux file context in tar archivesVojtech Bocek1-0/+8
* Using RedHat's "RHT.security.selinux=" tag in extended tar header (type 'x') Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: I102e492e4fa5b8a08fae4d34eb36386862509b4d
2013-06-22Support encrypted backup filesDees_Troy1-1/+1
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
2013-03-18Add search function to libtarn0d31-0/+2
Function entryExists() can be called in order to check if an entry exists inside an archive. Change-Id: Id3d13d20dfb74a1779dbd8ba6f0ab08c3ca46319
2013-02-27libtar - Fix extraction of hardlinks to use the prefixDees_Troy1-2/+2
Change-Id: I116982ceed722364406b99fb08bc6943afa0390a
2013-01-09Add libtar to TWRP instead of using busybox tarbigbiff bigbiff1-0/+300
Add proper mkdosfs tool Add fuse to TWRP Add experimental exfat-fuse to TWRP Convert all system() functions to use new Exec_Cmd function