summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko2011-03-01 17:21:07 +0100
committerDenys Vlasenko2011-03-01 17:21:07 +0100
commit5e29e263888284b2451debd9e5cb138b48fd293a (patch)
tree9971260e354b6385f53bfe57408bf4bff184a78f /include
parent7d65abea092e917bc2320cbf1d5a2dccb2a8288f (diff)
downloadbusybox-5e29e263888284b2451debd9e5cb138b48fd293a.zip
busybox-5e29e263888284b2451debd9e5cb138b48fd293a.tar.gz
tar: on extract, everything up to and including last ".." is stripped
function old new delta get_header_tar 1493 1545 +52 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/archive.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/archive.h b/include/archive.h
index 49c4787..9fc77e5 100644
--- a/include/archive.h
+++ b/include/archive.h
@@ -118,6 +118,8 @@ typedef struct archive_handle_t {
#define ARCHIVE_DONT_RESTORE_PERM (1 << 6)
#define ARCHIVE_NUMERIC_OWNER (1 << 7)
#define ARCHIVE_O_TRUNC (1 << 8)
+/* Archiver specific. */
+#define ARCHIVE_TAR__TRUNC_WARNED (1 << 9)
/* POSIX tar Header Block, from POSIX 1003.1-1990 */