summaryrefslogtreecommitdiffstats
path: root/libtar/libtar.h
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2017-02-03 21:26:15 +0100
committerEthan Yonker <dees_troy@teamw.in>2017-02-17 04:50:05 +0100
commit8d039f7bd84ce8cbbbe9ba5677f5a353d6224b66 (patch)
tree9cc3826e4e5e84f5ed7046eb7f804221bf0ab6f2 /libtar/libtar.h
parentPartition: Remove unused has_data_media variable (diff)
downloadandroid_bootable_recovery-8d039f7bd84ce8cbbbe9ba5677f5a353d6224b66.tar
android_bootable_recovery-8d039f7bd84ce8cbbbe9ba5677f5a353d6224b66.tar.gz
android_bootable_recovery-8d039f7bd84ce8cbbbe9ba5677f5a353d6224b66.tar.bz2
android_bootable_recovery-8d039f7bd84ce8cbbbe9ba5677f5a353d6224b66.tar.lz
android_bootable_recovery-8d039f7bd84ce8cbbbe9ba5677f5a353d6224b66.tar.xz
android_bootable_recovery-8d039f7bd84ce8cbbbe9ba5677f5a353d6224b66.tar.zst
android_bootable_recovery-8d039f7bd84ce8cbbbe9ba5677f5a353d6224b66.zip
Diffstat (limited to 'libtar/libtar.h')
-rw-r--r--libtar/libtar.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libtar/libtar.h b/libtar/libtar.h
index 4d921247b..2d0a3d3fc 100644
--- a/libtar/libtar.h
+++ b/libtar/libtar.h
@@ -74,6 +74,9 @@ struct tar_header
#endif
int has_cap_data;
struct vfs_cap_data cap_data;
+ int has_user_default;
+ int has_user_cache;
+ int has_user_code_cache;
};
@@ -120,6 +123,7 @@ TAR;
#define TAR_USE_NUMERIC_ID 256 /* favor numeric owner over names */
#define TAR_STORE_EXT4_POL 512 /* store ext4 crypto policy */
#define TAR_STORE_POSIX_CAP 1024 /* store posix file capabilities */
+#define TAR_STORE_ANDROID_USER_XATTR 2048 /* store android user.* xattr */
/* this is obsolete - it's here for backwards-compatibility only */
#define TAR_IGNORE_MAGIC 0