diff options
author | J. Tang | 2010-03-19 14:48:51 +0100 |
---|---|---|
committer | Denys Vlasenko | 2010-03-19 14:48:51 +0100 |
commit | 77a2c51e79eb54c8f5cc8903465223cbac6e8d50 (patch) | |
tree | 932aff055f4e16da85fe2dbb0c02404407077799 /include/unarchive.h | |
parent | bcda0042e2313d65a835b874c78bf215d743a844 (diff) | |
download | busybox-77a2c51e79eb54c8f5cc8903465223cbac6e8d50.zip busybox-77a2c51e79eb54c8f5cc8903465223cbac6e8d50.tar.gz |
tar: optional support for restoring selinux context
function old new delta
get_header_tar 1690 1976 +286
data_extract_all 821 881 +60
.rodata 151446 151503 +57
get_header_cpio 1044 1077 +33
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/0 up/down: 436/0) Total: 436 bytes
Signed-off-by: J. Tang <tang@jtang.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/unarchive.h')
-rw-r--r-- | include/unarchive.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/unarchive.h b/include/unarchive.h index 92ebd65..a834816 100644 --- a/include/unarchive.h +++ b/include/unarchive.h @@ -59,6 +59,10 @@ typedef struct archive_handle_t { char* tar__longname; char* tar__linkname; # endif +# if ENABLE_FEATURE_TAR_SELINUX + char* tar__global_sctx; + char* tar__next_file_sctx; +# endif #endif #if ENABLE_CPIO || ENABLE_RPM2CPIO || ENABLE_RPM uoff_t cpio__blocks; |