Home
last modified time | relevance | path

Searched refs:shstk_start (Results 1 – 1 of 1) sorted by relevance

/linux/tools/testing/selftests/x86/
H A Dtest_shadow_stack.c605 void *free_area, *shstk_start, *test_map = (void *)0xFFFFFFFFFFFFFFFF; in test_guard_gap_new_mappings_gaps() local
614 shstk_start = mmap(free_area, PAGE_SIZE, PROT_READ | PROT_WRITE, in test_guard_gap_new_mappings_gaps()
616 if (shstk_start == MAP_FAILED || shstk_start != free_area) in test_guard_gap_new_mappings_gaps()
619 while (test_map > shstk_start) { in test_guard_gap_new_mappings_gaps()
647 munmap(shstk_start, PAGE_SIZE); in test_guard_gap_new_mappings_gaps()