From bed1321ddcf66ccd8b9d4065ad9aeea38b04436a Mon Sep 17 00:00:00 2001 From: Yongqin Liu Date: Tue, 21 Apr 2020 17:57:54 +0800 Subject: fstab.common: adding options for userdata partition to enable FBE according to the document here: https://source.android.com/security/encryption/file-based Test: boot up db845c with android-5.4 and android-mainline kernels, and tested with vts-kernel -m VtsKernelEncryptionTest Signed-off-by: Yongqin Liu Change-Id: I6ad25b5fef31bef77893f6d5e267568489116fae --- fstab.common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fstab.common') diff --git a/fstab.common b/fstab.common index ad29337..b23e7f8 100644 --- a/fstab.common +++ b/fstab.common @@ -2,5 +2,5 @@ # # The filesystem that contains the filesystem checker binary (typically /system) cannot # specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK -/dev/block/platform/soc@0/1d84000.ufshc/by-name/userdata /data ext4 discard,noauto_da_alloc,data=ordered,user_xattr,barrier=1 wait,formattable +/dev/block/platform/soc@0/1d84000.ufshc/by-name/userdata /data ext4 discard,noatime,noauto_da_alloc,data=ordered,user_xattr,barrier=1,inlinecrypt wait,formattable,fileencryption=aes-256-xts:aes-256-cts:v2+inlinecrypt_optimized /dev/block/by-name/metadata /metadata ext4 noatime,nosuid,nodev,discard wait,formattable -- cgit v1.2.3