Vojtech Bocek
78ab0c5807
libtar: fix handling of files bigger than 2 GiB
...
Change-Id: I96dc1b52b2e4edf366e70a927b263a9aab3e85b7
Signed-off-by: Vojtech Bocek <vbocek@gmail.com >
2015-03-20 15:34:45 +01:00
Matt Mower
2b18a53dc8
Address a few compiler warnings
...
Change-Id: I6e063fba8d58c8c53da6bca6292c84e3392aee50
2015-03-05 04:11:44 +01:00
Matt Mower
db22044901
Fix some module tags
...
There is no LOCAL_MODULES_TAGS. Fix by combining with LOCAL_MODULE_TAGS.
Change-Id: I1cacef2f8123af3632ff6a52aa62c2f2e15ac37d
2014-11-04 08:49:09 -06:00
Ethan Yonker
1b7a31bd65
Track backup and restore progress
...
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
2014-07-09 08:52:18 -05:00
Vojtech Bocek
0ea3be665a
libtar: don't set parent dir's context when extracting a file
...
Change-Id: I83e11b0119c47cb691d4e05ac1e5515aeafbdc87
Signed-off-by: Vojtech Bocek <vbocek@gmail.com >
2014-06-06 16:16:37 +02:00
Ethan Yonker
50381976ff
Add twrpTar binary
...
Change-Id: I9db1aac350cd2ca02cceccc249ebd2f0b3c3c671
2014-02-12 16:15:11 +01:00
Ethan Yonker
ccb0cf7fa8
Add rule to make libtar_static
...
Change-Id: I9cddde9961e79c4d4905382858ee330b856d6edf
2014-02-12 16:14:24 +01:00
bigbiff bigbiff
6b600f9644
Restore contexts when doing mkdierhier in libtar
...
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
2014-02-06 19:56:25 -05:00
bigbiff bigbiff
c49d706903
fix getting and setting contexts in selinux
...
recreate lost+found with selinux contexts
Change-Id: I19e8696d47319dfb641520956c8a27c2a796a0c3
2013-10-17 16:49:49 +00:00
Dees Troy
4bf3b0d804
Make SELinux automatic if present
2013-09-12 10:38:15 -05:00
Dees_Troy
399f480dc7
Fix libselinx flags in libtar
2013-09-06 15:16:00 +00:00
Vojtech Bocek
25fd68d098
libtar: store SELinux file context in tar archives
...
* 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-09-05 21:43:52 +02:00
bigbiff bigbiff
86e77bcbb2
skip checking size on links
...
skip google music cache
Change-Id: I75d6fd0e17140d12cb2c6d335e8ff73a6f871aa2
2013-08-28 16:10:36 +00:00
Dees_Troy
83bd483f3d
Support encrypted backup files
...
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-06-22 16:16:55 -05:00
n0d3
3b51163329
Add search function to libtar
...
Function entryExists() can be called in order
to check if an entry exists inside an archive.
Change-Id: Id3d13d20dfb74a1779dbd8ba6f0ab08c3ca46319
2013-03-18 17:37:28 +00:00
Dees_Troy
71796590ed
Updates to libtar logging
2013-03-15 10:56:58 -05:00
Dees_Troy
f96fb9794d
Another libtar hardlink workaround
2013-03-01 22:34:25 +00:00
Dees_Troy
ee6632c3e1
libtar - Fix extraction of hardlinks to use the prefix
...
Change-Id: I116982ceed722364406b99fb08bc6943afa0390a
2013-02-27 18:19:18 +00:00
bigbiff bigbiff
71e5aa4eee
fix restore on mknod
...
Change-Id: I9fb8b927f81a8cded651e42026beb3d5c252d1e8
2013-02-27 12:55:40 -05:00
bigbiff bigbiff
9c754053b0
Add libtar to TWRP instead of using busybox tar
...
Add proper mkdosfs tool
Add fuse to TWRP
Add experimental exfat-fuse to TWRP
Convert all system() functions to use new Exec_Cmd function
2013-01-09 09:09:08 -05:00