Home
last modified time | relevance | path

Searched hist:"0042090548740921951 f31fc0c20dcdb96638cb0" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/arm64/include/asm/
H A Dmman.hdiff 0042090548740921951f31fc0c20dcdb96638cb0 Fri Aug 09 09:48:46 CDT 2019 Catalin Marinas <catalin.marinas@arm.com> arm64: mte: Validate the PROT_MTE request via arch_validate_flags()

Make use of the newly introduced arch_validate_flags() hook to
sanity-check the PROT_MTE request passed to mmap() and mprotect(). If
the mapping does not support MTE, these syscalls will return -EINVAL.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>