summaryrefslogtreecommitdiffstats
path: root/twrpTar.cpp
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2017-01-13 20:30:10 +0100
committerDees Troy <dees_troy@teamw.in>2017-01-18 17:11:33 +0100
commit7118774ec94bb1a2e8ef7a5f8cbcb6b781ccfdd8 (patch)
treec04d4c315064be2dd94f58717ea4d2773f03fb87 /twrpTar.cpp
parentADBbackups: Fix wrong owner on binary backups. (diff)
downloadandroid_bootable_recovery-7118774ec94bb1a2e8ef7a5f8cbcb6b781ccfdd8.tar
android_bootable_recovery-7118774ec94bb1a2e8ef7a5f8cbcb6b781ccfdd8.tar.gz
android_bootable_recovery-7118774ec94bb1a2e8ef7a5f8cbcb6b781ccfdd8.tar.bz2
android_bootable_recovery-7118774ec94bb1a2e8ef7a5f8cbcb6b781ccfdd8.tar.lz
android_bootable_recovery-7118774ec94bb1a2e8ef7a5f8cbcb6b781ccfdd8.tar.xz
android_bootable_recovery-7118774ec94bb1a2e8ef7a5f8cbcb6b781ccfdd8.tar.zst
android_bootable_recovery-7118774ec94bb1a2e8ef7a5f8cbcb6b781ccfdd8.zip
Diffstat (limited to 'twrpTar.cpp')
-rw-r--r--twrpTar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/twrpTar.cpp b/twrpTar.cpp
index 4f9b63303..27c7c7b1b 100644
--- a/twrpTar.cpp
+++ b/twrpTar.cpp
@@ -55,9 +55,9 @@ extern "C" {
#ifdef TW_INCLUDE_FBE
#include "crypto/ext4crypt/ext4crypt_tar.h"
-#define TWTAR_FLAGS TAR_GNU | TAR_STORE_SELINUX | TAR_STORE_EXT4_POL
+#define TWTAR_FLAGS TAR_GNU | TAR_STORE_SELINUX | TAR_STORE_POSIX_CAP |TAR_STORE_EXT4_POL
#else
-#define TWTAR_FLAGS TAR_GNU | TAR_STORE_SELINUX
+#define TWTAR_FLAGS TAR_GNU | TAR_STORE_SELINUX | TAR_STORE_POSIX_CAP
#endif
using namespace std;