diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2019-08-09 17:48:46 +0300 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2020-09-04 14:46:07 +0300 |
commit | 0042090548740921951f31fc0c20dcdb96638cb0 (patch) | |
tree | 70707f0b5fb69991e6bf51d66dd60ae6bd0afbc4 /tools/perf/scripts/python/task-analyzer.py | |
parent | c462ac288f2c97e0c1d9ff6a65955317e799f958 (diff) | |
download | linux-0042090548740921951f31fc0c20dcdb96638cb0.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions