Searched refs:gcs_page (Results 1 – 1 of 1) sorted by relevance
16 static uint64_t *gcs_page; variable27 gcs_page = (void *)syscall(__NR_map_shadow_stack, 0, in alloc_gcs()29 if (gcs_page == MAP_FAILED) { in alloc_gcs()41 fprintf(stderr, "Read value 0x%lx\n", gcs_page[0]); in gcs_prot_none_fault_trigger()43 if (mprotect(gcs_page, sysconf(_SC_PAGE_SIZE), PROT_NONE) != 0) { in gcs_prot_none_fault_trigger()50 fprintf(stderr, "Read value after mprotect(PROT_NONE) 0x%lx\n", gcs_page[0]); in gcs_prot_none_fault_trigger()