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 <[email protected] >
Test: Boots, /data/media is case insensitive
Bug: 138322712
Change-Id: I07354e3129aa07d309fbe36c002fee1af718f348
2020-06-24 22:38:51 +00:00
..
ABI
Merge remote-tracking branch 'aosp/upstream-f2fs-stable-linux-5.4.y' into android-5.4-stable
2020-06-15 13:22:44 -07:00
accounting
admin-guide
This is the 5.4.46 stable release
2020-06-11 09:14:42 +02:00
arm
arm64
arm64: errata: Hide CTR_EL0.DIC on systems affected by Neoverse-N1 #1542419
2020-04-29 16:32:56 +02:00
block
BACKPORT: FROMLIST: Update Inline Encryption from v5 to v6 of patch series
2020-01-13 18:46:44 +00:00
bpf
cdrom
core-api
Modules fixes for v5.4-rc3
2019-10-11 10:19:24 -07:00
cpu-freq
crypto
Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
2019-09-18 12:11:14 -07:00
dev-tools
UPSTREAM: kcov: fix struct layout for kcov_remote_arg
2020-01-15 14:55:05 +00:00
device-mapper
devicetree
This is the 5.4.48 stable release
2020-06-22 11:43:59 +02:00
doc-guide
driver-api
FROMGIT: docs: driver-model: Add documentation for sync_state
2019-10-24 20:53:16 +00:00
EDID
fault-injection
fb
fbdev: fix numbering of fbcon options
2020-02-24 08:36:42 +01:00
features
It's a somewhat calmer cycle for docs this time, as the churn of the mass
2019-09-17 16:22:26 -07:00
filesystems
ANDROID: ext4: Handle casefolding with encryption
2020-06-24 22:38:51 +00:00
firmware-guide
firmware_class
fpga
gpu
hid
hwmon
hwmon: docs: Extend inspur-ipsps1 title underline
2019-10-07 05:56:57 -07:00
i2c
ia64
ide
iio
infiniband
Documentation/infiniband: update name of some functions
2019-09-13 16:55:55 -03:00
input
ioctl
FROMLIST: docs: ioctl-number: document fscrypt ioctl numbers
2019-10-30 13:15:53 -07:00
isdn
kbuild
modpost: move the namespace field in Module.symvers last
2020-03-25 08:25:55 +01:00
kernel-hacking
Revert "ANDROID: Revert "Merge tag 'modules-for-v5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux""
2019-11-13 10:14:45 +00:00
leds
livepatch
locking
doc 🔒 remove reference to clever use of read-write lock
2019-09-14 01:53:27 -06:00
m68k
maintainer
media
FROMGIT: media: uapi: h264: Add new profile and levels
2020-05-14 22:47:14 +00:00
mic
mips
Main MIPS changes for v5.4:
2019-09-22 09:30:30 -07:00
misc-devices
netlabel
networking
This is the 5.4.24 stable release
2020-03-05 17:42:40 +01:00
nios2
openrisc
parisc
PCI
pcmcia
power
Merge branches 'pm-opp', 'pm-qos', 'acpi-pm', 'pm-domains' and 'pm-tools'
2019-09-17 09:49:19 +02:00
powerpc
docs: powerpc: Add missing documentation reference
2019-09-17 23:59:34 +10:00
process
Documentation/process: Add fallthrough pseudo-keyword
2019-10-11 09:26:05 -07:00
RCU
riscv
It's a somewhat calmer cycle for docs this time, as the churn of the mass
2019-09-17 16:22:26 -07:00
s390
scheduler
scsi
scsi: smartpqi: Update attribute name to driver_version
2020-01-17 19:48:27 +01:00
security
Merge branch 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity
2019-09-27 19:37:27 -07:00
sh
sound
ALSA: hda/realtek - Remove now-unnecessary XPS 13 headphone noise fixups
2020-04-17 10:50:08 +02:00
sparc
sphinx
sphinx-static
spi
target
timers
trace
Tracing updates:
2019-09-20 11:19:48 -07:00
translations
usb
UPSTREAM: usb: raw-gadget: documentation updates
2020-06-02 06:37:15 +00:00
userspace-api
virt
x86/kvm/hyper-v: Explicitly align hcall param for kvm_hyperv_exit
2020-06-22 09:30:57 +02:00
virtual
vm
mm: treewide: clarify pgtable_page_{ctor,dtor}() naming
2019-09-26 10:10:44 -07:00
w1
watchdog
linux-watchdog 5.4-rc1 tag
2019-09-27 11:17:38 -07:00
x86
x86/speculation/taa: Add documentation for TSX Async Abort
2019-10-28 08:37:00 +01:00
xtensa
.gitignore
atomic_bitops.txt
atomic_t.txt
bus-virt-phys-mapping.txt
Changes
CodingStyle
conf.py
COPYING-logo
crc32.txt
debugging-modules.txt
debugging-via-ohci1394.txt
digsig.txt
DMA-API-HOWTO.txt
DMA-API.txt
DMA-attributes.txt
DMA-ISA-LPC.txt
docutils.conf
dontdiff
futex-requeue-pi.txt
hwspinlock.txt
index.rst
Main MIPS changes for v5.4:
2019-09-22 09:30:30 -07:00
io-mapping.txt
io_ordering.txt
IPMI.txt
IRQ-affinity.txt
IRQ-domain.txt
IRQ.txt
irqflags-tracing.txt
Kconfig
kobject.txt
kprobes.txt
kref.txt
logo.gif
lzo.txt
lib/lzo: fix ambiguous encoding bug in lzo-rle
2020-06-17 16:40:28 +02:00
mailbox.txt
Makefile
memory-barriers.txt
nommu-mmap.txt
padata.txt
padata: allocate workqueue internally
2019-09-13 21:15:39 +10:00
percpu-rw-semaphore.txt
pi-futex.txt
preempt-locking.txt
rbtree.txt
remoteproc.txt
robust-futex-ABI.txt
robust-futexes.txt
rpmsg.txt
speculation.txt
static-keys.txt
SubmittingPatches
tee.txt
this_cpu_ops.txt
unaligned-memory-access.txt
xz.txt