2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 15:43:59 +08:00
linux-next/Documentation/filesystems/ext4
Daniel Rosenberg 471fbbea7f 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.

[ Changed to advertise this feature via the file:
  /sys/fs/ext4/features/encrypted_casefold -- TYT ]

Signed-off-by: Daniel Rosenberg <drosen@google.com>
Reviewed-by: Andreas Dilger <adilger@dilger.ca>
Link: https://lore.kernel.org/r/20210319073414.1381041-2-drosen@google.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2021-04-05 22:04:20 -04:00
..
about.rst ext4: replace HTTP links with HTTPS ones 2020-08-06 01:01:57 -04:00
allocators.rst docs: promote the ext4 data structures book to top level 2018-10-05 19:20:08 -04:00
attributes.rst docs: promote the ext4 data structures book to top level 2018-10-05 19:20:08 -04:00
bigalloc.rst ext4: add missing bigalloc documentation. 2019-09-07 11:56:47 -04:00
bitmaps.rst docs: promote the ext4 data structures book to top level 2018-10-05 19:20:08 -04:00
blockgroup.rst ext4: documentation fixes 2019-08-22 23:18:33 -04:00
blockmap.rst docs: promote the ext4 data structures book to top level 2018-10-05 19:20:08 -04:00
blocks.rst ext4: documentation fixes 2019-08-22 23:18:33 -04:00
checksums.rst docs: promote the ext4 data structures book to top level 2018-10-05 19:20:08 -04:00
directory.rst ext4: handle casefolding with encryption 2021-04-05 22:04:20 -04:00
dynamic.rst docs: promote the ext4 data structures book to top level 2018-10-05 19:20:08 -04:00
eainode.rst docs: promote the ext4 data structures book to top level 2018-10-05 19:20:08 -04:00
globals.rst docs: promote the ext4 data structures book to top level 2018-10-05 19:20:08 -04:00
group_descr.rst ext4: documentation fixes 2019-08-22 23:18:33 -04:00
ifork.rst docs: promote the ext4 data structures book to top level 2018-10-05 19:20:08 -04:00
index.rst docs: filesystems: Remove uneeded .rst extension on toctables 2019-06-26 16:08:22 -06:00
inlinedata.rst docs: promote the ext4 data structures book to top level 2018-10-05 19:20:08 -04:00
inodes.rst Added new ext4 debugging ioctls to allow userspace to get information 2019-09-21 13:37:39 -07:00
journal.rst ext4: add docs about fast commit idempotence 2020-12-17 13:30:44 -05:00
mmp.rst docs: promote the ext4 data structures book to top level 2018-10-05 19:20:08 -04:00
overview.rst ext4: update on-disk format documentation for fs-verity 2019-08-12 19:33:51 -07:00
special_inodes.rst docs: promote the ext4 data structures book to top level 2018-10-05 19:20:08 -04:00
super.rst ext4: describe fast_commit feature flags 2020-11-06 23:01:01 -05:00
verity.rst fs/ext4: Disallow verity if inode is DAX 2020-05-28 22:09:47 -04:00