From ece869a959c0f859c918a9dfcc21106ca22fcfb3 Mon Sep 17 00:00:00 2001 From: "LongPing.WEI" Date: Thu, 20 Dec 2018 17:56:21 +0800 Subject: [PATCH] Add /data/preloads to directories that don't need to be encrypted. There is no user data here, just preload data. Test: make Change-Id: I2bd65a15ace50c4d1dc4bc4c3f3d4294f77d2c18 --- libfscrypt/fscrypt_init_extensions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfscrypt/fscrypt_init_extensions.cpp b/libfscrypt/fscrypt_init_extensions.cpp index fe152104..d1f8c1b2 100644 --- a/libfscrypt/fscrypt_init_extensions.cpp +++ b/libfscrypt/fscrypt_init_extensions.cpp @@ -87,7 +87,7 @@ int fscrypt_set_directory_policy(const char* dir) "vendor_ce", "vendor_de", "media", "data", "user", "user_de", - "apex", + "apex", "preloads", }; std::string prefix = "/data/"; for (const auto& d: directories_to_exclude) { -- 2.11.0