summaryrefslogtreecommitdiff
path: root/libfscrypt/include/fscrypt/fscrypt.h
diff options
context:
space:
mode:
Diffstat (limited to 'libfscrypt/include/fscrypt/fscrypt.h')
-rw-r--r--libfscrypt/include/fscrypt/fscrypt.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libfscrypt/include/fscrypt/fscrypt.h b/libfscrypt/include/fscrypt/fscrypt.h
index 78b12560..b1ba1dfe 100644
--- a/libfscrypt/include/fscrypt/fscrypt.h
+++ b/libfscrypt/include/fscrypt/fscrypt.h
@@ -19,6 +19,12 @@
#include <string>
+#ifndef FSCRYPT_POLICY_FLAG_IV_INO_LBLK_32
+// When FSCRYPT_POLICY_FLAG_IV_INO_LBLK_32 is added to Bionic's linux/fscrypt.h
+// then this whole stanza should be removed.
+#define FSCRYPT_POLICY_FLAG_IV_INO_LBLK_32 0x10
+#endif
+
bool fscrypt_is_native();
static const char* fscrypt_unencrypted_folder = "/unencrypted";