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:
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile | ||
| check_buffer_fill.c | ||
| check_child_memory.c | ||
| check_gcr_el1_cswitch.c | ||
| check_hugetlb_options.c | ||
| check_ksm_options.c | ||
| check_mmap_options.c | ||
| check_prctl.c | ||
| check_tags_inclusion.c | ||
| check_user_mem.c | ||
| mte_common_util.c | ||
| mte_common_util.h | ||
| mte_def.h | ||
| mte_helper.S | ||