diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2025-02-21 12:33:31 +0300 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2025-03-05 21:54:02 +0300 |
commit | 306219d59b72cfca4005229b2c6ad43a16479e3b (patch) | |
tree | b90b3899b7d8114461a5362b48b9df15dc03ce40 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 7ae95109c64d64cdcf195788cf466ec0b3019a94 (diff) | |
download | linux-306219d59b72cfca4005229b2c6ad43a16479e3b.tar.xz |
kselftest/arm64: mte: Skip the hugetlb tests if MTE not supported on such mappings
While the kselftest was added at the same time with the kernel support
for MTE on hugetlb mappings, the tests may be run on older kernels. Skip
the tests if PROT_MTE is not supported on MAP_HUGETLB mappings.
Fixes: 27879e8cb6b0 ("selftests: arm64: add hugetlb mte tests")
Cc: Yang Shi <yang@os.amperecomputing.com>
Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Reviewed-by: Dev Jain <dev.jain@arm.com>
Reviewed-by: Yang Shi <yang@os.amperecomputing.com>
Link: https://lore.kernel.org/r/20250221093331.2184245-3-catalin.marinas@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions