diff options
| author | 2019-11-29 12:45:08 +0000 | |
|---|---|---|
| committer | 2020-09-04 12:46:07 +0100 | |
| commit | 51b0bff2f703f7ecfeb228eaa3d8f6090c18c9c1 (patch) | |
| tree | 1d0e741b92f8de57074a275de0868ea5071c70ea /lib/math/git:/ssh: | |
| parent | arm64: mte: Validate the PROT_MTE request via arch_validate_flags() (diff) | |
| download | linux-dev-51b0bff2f703f7ecfeb228eaa3d8f6090c18c9c1.tar.xz linux-dev-51b0bff2f703f7ecfeb228eaa3d8f6090c18c9c1.zip | |
mm: Allow arm64 mmap(PROT_MTE) on RAM-based files
Since arm64 memory (allocation) tags can only be stored in RAM, mapping
files with PROT_MTE is not allowed by default. RAM-based files like
those in a tmpfs mount or memfd_create() can support memory tagging, so
update the vm_flags accordingly in shmem_mmap().
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/math/git:/ssh:')
0 files changed, 0 insertions, 0 deletions
