Daniel Rosenberg
268041d71e
ANDROID: ext4: Handle casefolding with encryption
...
This adds support for encryption with casefolding.
Since the name on disk is case preserving, and also encrypted, we can no
longer just recompute the hash on the fly. Additionally, to avoid
leaking extra information from the hash of the unencrypted name, we use
siphash via an fscrypt v2 policy.
The hash is stored at the end of the directory entry for all entries
inside of an encrypted and casefolded directory apart from those that
deal with '.' and '..'. This way, the change is backwards compatible
with existing ext4 filesystems.
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Test: Boots, /data/media is case insensitive
Bug: 138322712
Change-Id: I07354e3129aa07d309fbe36c002fee1af718f348
2020-06-24 22:38:51 +00:00
..
caching
cifs
various cifs/smb3 fixes (including for share deleted cases) and features including improved encrypted read performance, and various debugging improvements
2019-09-19 10:32:16 -07:00
configfs
ext4
ANDROID: ext4: Handle casefolding with encryption
2020-06-24 22:38:51 +00:00
nfs
docs: fs: convert docs without extension to ReST
2019-07-31 13:31:05 -06:00
9p.txt
adfs.txt
affs.txt
afs.txt
api-summary.rst
docs: no structured comments in fs/file_table.c
2019-05-24 15:03:39 -06:00
autofs-mount-control.txt
autofs: update mount control expire desription with AUTOFS_EXP_FORCED
2019-05-14 19:52:50 -07:00
autofs.txt
autofs: add description of ignore pseudo mount option
2019-05-14 19:52:50 -07:00
automount-support.txt
befs.txt
bfs.txt
btrfs.txt
ceph.txt
ceph: auto reconnect after blacklisted
2019-09-16 12:06:24 +02:00
coda.txt
coda: Fix typo in the struct CodaCred documentation
2019-07-30 14:19:41 -06:00
cramfs.txt
dax.txt
Documentation: filesystem: Convert xfs.txt to ReST
2019-07-15 09:15:09 -07:00
debugfs.txt
debugfs: make debugfs_create_u32_array() return void
2019-06-03 16:34:27 +02:00
devpts.txt
directory-locking.rst
docs: fs: convert docs without extension to ReST
2019-07-31 13:31:05 -06:00
dlmfs.txt
dnotify.txt
ecryptfs.txt
efivarfs.txt
erofs.txt
erofs: kill use_vmap module parameter
2019-09-05 20:10:09 +02:00
ext2.txt
doc: ext2: update description of quota options for ext2
2019-05-20 10:50:48 +02:00
ext3.txt
f2fs.txt
fscrypt: support test_dummy_encryption=v2
2020-06-16 14:06:41 -07:00
fiemap.txt
files.txt
fscrypt.rst
fscrypt: add support for IV_INO_LBLK_32 policies
2020-06-16 14:06:45 -07:00
fsverity.rst
docs: fs-verity: mention statx() support
2020-01-08 15:27:00 -08:00
fuse-io.txt
fuse.txt
gfs2-glocks.txt
gfs2-uevents.txt
gfs2.txt
hfs.txt
hfsplus.txt
hpfs.txt
index.rst
add virtio-fs
2019-09-27 15:54:24 -07:00
inotify.txt
isofs.txt
journalling.rst
locking.rst
FROMLIST: Add flags option to get xattr method paired to __vfs_getxattr
2019-11-05 13:50:57 -08:00
locks.txt
mandatory-locking.txt
locks: print a warning when mount fails due to lack of "mand" support
2019-08-16 12:13:48 -04:00
mount_api.txt
nilfs2.txt
ntfs.txt
ocfs2-online-filecheck.txt
ocfs2.txt
omfs.txt
orangefs.txt
overlayfs.txt
FROMLIST: overlayfs: override_creds=off option bypass creator_cred
2019-11-05 13:51:17 -08:00
path-lookup.rst
path-lookup.txt
porting.rst
cifs_atomic_open(): fix double-put on late allocation failure
2020-03-18 07:17:51 +01:00
proc.txt
Linus 5.3-rc1
2019-07-23 16:21:59 -07:00
qnx6.txt
quota.txt
ramfs-rootfs-initramfs.txt
docs: early-userspace: move to driver-api guide
2019-07-15 11:03:01 -03:00
relay.txt
romfs.txt
seq_file.txt
sharedsubtree.txt
splice.rst
spufs.txt
squashfs.txt
sysfs-pci.txt
sysfs-tagging.txt
sysfs.txt
docs: driver-model: move it to the driver-api book
2019-07-15 11:03:02 -03:00
sysv-fs.txt
tmpfs.txt
docs: cgroup-v1: add it to the admin-guide book
2019-07-15 11:03:02 -03:00
ubifs-authentication.rst
docs: ubifs-authentication.md: convert to ReST
2019-07-31 13:25:22 -06:00
ubifs.txt
udf.txt
vfat.txt
vfs.rst
docs: fs: convert docs without extension to ReST
2019-07-31 13:31:05 -06:00
virtiofs.rst
virtio-fs: add Documentation/filesystems/virtiofs.rst
2019-09-18 15:09:34 +02:00
xfs-delayed-logging-design.txt
Documentation: xfs: Fix typo
2019-06-07 11:42:20 -06:00
xfs-self-describing-metadata.txt
xfs: add struct xfs_mount pointer to struct xfs_buf
2019-06-28 19:27:29 -07:00