/linux/tools/testing/selftests/arm64/mte/ |
H A D | check_mmap_options.c | 212 evaluate_test(check_anonymous_memory_mapping(USE_MMAP, MTE_SYNC_ERR, MAP_PRIVATE, TAG_CHECK_OFF), in main() 214 evaluate_test(check_file_memory_mapping(USE_MPROTECT, MTE_SYNC_ERR, MAP_PRIVATE, TAG_CHECK_OFF), in main() 223 evaluate_test(check_anonymous_memory_mapping(USE_MMAP, MTE_SYNC_ERR, MAP_PRIVATE, TAG_CHECK_ON), in main() 225 …evaluate_test(check_anonymous_memory_mapping(USE_MPROTECT, MTE_SYNC_ERR, MAP_PRIVATE, TAG_CHECK_ON… in main() 227 evaluate_test(check_anonymous_memory_mapping(USE_MMAP, MTE_SYNC_ERR, MAP_SHARED, TAG_CHECK_ON), in main() 229 evaluate_test(check_anonymous_memory_mapping(USE_MPROTECT, MTE_SYNC_ERR, MAP_SHARED, TAG_CHECK_ON), in main() 240 evaluate_test(check_file_memory_mapping(USE_MMAP, MTE_SYNC_ERR, MAP_PRIVATE, TAG_CHECK_ON), in main() 242 evaluate_test(check_file_memory_mapping(USE_MPROTECT, MTE_SYNC_ERR, MAP_PRIVATE, TAG_CHECK_ON), in main() 244 evaluate_test(check_file_memory_mapping(USE_MMAP, MTE_SYNC_ERR, MAP_SHARED, TAG_CHECK_ON), in main() 246 evaluate_test(check_file_memory_mapping(USE_MPROTECT, MTE_SYNC_ERR, MAP_SHARED, TAG_CHECK_ON), in main() [all …]
|
H 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() 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() 190 evaluate_test(check_child_memory_mapping(USE_MPROTECT, MTE_SYNC_ERR, MAP_PRIVATE), in main() 192 evaluate_test(check_child_memory_mapping(USE_MPROTECT, MTE_SYNC_ERR, MAP_SHARED), in main()
|
H A D | check_buffer_fill.c | 135 case MTE_SYNC_ERR: in check_buffer_underflow_by_byte() 236 case MTE_SYNC_ERR: in check_buffer_overflow_by_byte() 424 evaluate_test(check_buffer_by_byte(USE_MMAP, MTE_SYNC_ERR), in main() 428 evaluate_test(check_buffer_by_byte(USE_MPROTECT, MTE_SYNC_ERR), in main() 434 evaluate_test(check_buffer_underflow_by_byte(USE_MMAP, MTE_SYNC_ERR, MT_GRANULE_SIZE), in main() 442 evaluate_test(check_buffer_underflow_by_byte(USE_MMAP, MTE_SYNC_ERR, page_size), in main() 450 evaluate_test(check_buffer_overflow_by_byte(USE_MMAP, MTE_SYNC_ERR, MT_GRANULE_SIZE), in main() 458 evaluate_test(check_buffer_by_block(USE_MMAP, MTE_SYNC_ERR), in main() 466 evaluate_test(check_memory_initial_tags(USE_MMAP, MTE_SYNC_ERR, MAP_PRIVATE), in main() 468 evaluate_test(check_memory_initial_tags(USE_MPROTECT, MTE_SYNC_ERR, MAP_PRIVATE), in main() [all …]
|
H A D | check_tags_inclusion.c | 188 evaluate_test(check_single_included_tags(USE_MMAP, MTE_SYNC_ERR), in main() 190 evaluate_test(check_multiple_included_tags(USE_MMAP, MTE_SYNC_ERR), in main() 192 evaluate_test(check_none_included_tags(USE_MMAP, MTE_SYNC_ERR), in main() 194 evaluate_test(check_all_included_tags(USE_MMAP, MTE_SYNC_ERR), in main()
|
H A D | check_user_mem.c | 121 if (mode == MTE_SYNC_ERR && syscall_len < len) { in check_usermem_access_fault() 166 case MTE_SYNC_ERR: in format_test_name() 198 int mte_sync[] = {MTE_SYNC_ERR, MTE_ASYNC_ERR}; in main()
|
H A D | mte_common_util.c | 267 if (mode == MTE_SYNC_ERR) in mte_initialize_current_context() 281 case MTE_SYNC_ERR: in mte_switch_mode() 296 case MTE_SYNC_ERR: in mte_switch_mode() 333 mte_cur_mode = MTE_SYNC_ERR; in mte_default_setup()
|
H A D | check_ksm_options.c | 153 evaluate_test(check_madvise_options(USE_MMAP, MTE_SYNC_ERR, MAP_PRIVATE), in main() 157 evaluate_test(check_madvise_options(USE_MMAP, MTE_SYNC_ERR, MAP_SHARED), in main()
|
H A D | mte_common_util.h | 24 MTE_SYNC_ERR, enumerator
|