/linux/tools/testing/selftests/arm64/mte/ |
A D | check_mmap_options.c | 215 evaluate_test(check_file_memory_mapping(USE_MPROTECT, MTE_SYNC_ERR, MAP_PRIVATE, TAG_CHECK_OFF), in main() 228 evaluate_test(check_anonymous_memory_mapping(USE_MMAP, MTE_SYNC_ERR, MAP_SHARED, TAG_CHECK_ON), in main() 241 evaluate_test(check_file_memory_mapping(USE_MMAP, MTE_SYNC_ERR, MAP_PRIVATE, TAG_CHECK_ON), in main() 243 evaluate_test(check_file_memory_mapping(USE_MPROTECT, MTE_SYNC_ERR, MAP_PRIVATE, TAG_CHECK_ON), in main() 245 evaluate_test(check_file_memory_mapping(USE_MMAP, MTE_SYNC_ERR, MAP_SHARED, TAG_CHECK_ON), in main() 247 evaluate_test(check_file_memory_mapping(USE_MPROTECT, MTE_SYNC_ERR, MAP_SHARED, TAG_CHECK_ON), in main() 249 evaluate_test(check_file_memory_mapping(USE_MMAP, MTE_ASYNC_ERR, MAP_PRIVATE, TAG_CHECK_ON), in main() 253 evaluate_test(check_file_memory_mapping(USE_MMAP, MTE_ASYNC_ERR, MAP_SHARED, TAG_CHECK_ON), in main() 255 evaluate_test(check_file_memory_mapping(USE_MPROTECT, MTE_ASYNC_ERR, MAP_SHARED, TAG_CHECK_ON), in main() 258 evaluate_test(check_clear_prot_mte_flag(USE_MMAP, MTE_SYNC_ERR, MAP_PRIVATE), in main() [all …]
|
A D | check_child_memory.c | 169 evaluate_test(check_child_memory_mapping(USE_MMAP, MTE_SYNC_ERR, MAP_PRIVATE), in main() 171 evaluate_test(check_child_memory_mapping(USE_MMAP, MTE_SYNC_ERR, MAP_SHARED), in main() 173 evaluate_test(check_child_memory_mapping(USE_MMAP, MTE_ASYNC_ERR, MAP_PRIVATE), in main() 175 evaluate_test(check_child_memory_mapping(USE_MMAP, MTE_ASYNC_ERR, MAP_SHARED), in main() 177 evaluate_test(check_child_memory_mapping(USE_MPROTECT, MTE_SYNC_ERR, MAP_PRIVATE), in main() 179 evaluate_test(check_child_memory_mapping(USE_MPROTECT, MTE_SYNC_ERR, MAP_SHARED), in main() 182 evaluate_test(check_child_file_mapping(USE_MMAP, MTE_SYNC_ERR, MAP_PRIVATE), in main() 184 evaluate_test(check_child_file_mapping(USE_MMAP, MTE_SYNC_ERR, MAP_SHARED), in main() 186 evaluate_test(check_child_memory_mapping(USE_MMAP, MTE_ASYNC_ERR, MAP_PRIVATE), in main() 188 evaluate_test(check_child_memory_mapping(USE_MMAP, MTE_ASYNC_ERR, MAP_SHARED), in main() [all …]
|
A D | check_buffer_fill.c | 424 evaluate_test(check_buffer_by_byte(USE_MMAP, MTE_SYNC_ERR), in main() 426 evaluate_test(check_buffer_by_byte(USE_MMAP, MTE_ASYNC_ERR), in main() 428 evaluate_test(check_buffer_by_byte(USE_MPROTECT, MTE_SYNC_ERR), in main() 430 evaluate_test(check_buffer_by_byte(USE_MPROTECT, MTE_ASYNC_ERR), in main() 442 evaluate_test(check_buffer_underflow_by_byte(USE_MMAP, MTE_SYNC_ERR, page_size), in main() 446 evaluate_test(check_buffer_underflow_by_byte(USE_MMAP, MTE_NONE_ERR, page_size), in main() 458 evaluate_test(check_buffer_by_block(USE_MMAP, MTE_SYNC_ERR), in main() 460 evaluate_test(check_buffer_by_block(USE_MMAP, MTE_ASYNC_ERR), in main() 462 evaluate_test(check_buffer_by_block(USE_MMAP, MTE_NONE_ERR), in main() 466 evaluate_test(check_memory_initial_tags(USE_MMAP, MTE_SYNC_ERR, MAP_PRIVATE), in main() [all …]
|
A D | check_user_mem.c | 103 evaluate_test(check_usermem_access_fault(USE_MMAP, MTE_SYNC_ERR, MAP_PRIVATE), in main() 105 evaluate_test(check_usermem_access_fault(USE_MMAP, MTE_SYNC_ERR, MAP_SHARED), in main() 108 evaluate_test(check_usermem_access_fault(USE_MMAP, MTE_ASYNC_ERR, MAP_PRIVATE), in main() 110 evaluate_test(check_usermem_access_fault(USE_MMAP, MTE_ASYNC_ERR, MAP_SHARED), in main()
|
A D | check_ksm_options.c | 153 evaluate_test(check_madvise_options(USE_MMAP, MTE_SYNC_ERR, MAP_PRIVATE), in main() 155 evaluate_test(check_madvise_options(USE_MMAP, MTE_ASYNC_ERR, MAP_PRIVATE), in main() 157 evaluate_test(check_madvise_options(USE_MMAP, MTE_SYNC_ERR, MAP_SHARED), in main() 159 evaluate_test(check_madvise_options(USE_MMAP, MTE_ASYNC_ERR, MAP_SHARED), in main()
|
A D | check_tags_inclusion.c | 176 evaluate_test(check_single_included_tags(USE_MMAP, MTE_SYNC_ERR), in main() 178 evaluate_test(check_multiple_included_tags(USE_MMAP, MTE_SYNC_ERR), in main() 180 evaluate_test(check_none_included_tags(USE_MMAP, MTE_SYNC_ERR), in main() 182 evaluate_test(check_all_included_tags(USE_MMAP, MTE_SYNC_ERR), in main()
|
A D | check_gcr_el1_cswitch.c | 147 evaluate_test(mte_gcr_fork_test(), in main()
|
A D | mte_common_util.h | 76 static inline void evaluate_test(int err, const char *msg) in evaluate_test() function
|