Home
last modified time | relevance | path

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

/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-11282/
Dpoc.c53 uint8_t *mmapped = mmap(NULL, shadowprop.size, PROT_READ | PROT_WRITE, in main() local
55 FAIL_CHECK(!(mmapped != MAP_FAILED)); in main()
57 mmapped = mmap(NULL, shadowprop.size, PROT_READ | VM_MAYWRITE, MAP_PRIVATE, in main()
60 FAIL_CHECK(!(mmapped == MAP_FAILED)); in main()
62 if (mprotect(mmapped, shadowprop.size, PROT_READ | PROT_WRITE)) { in main()
66 x = mmapped[0]; in main()
67 mmapped[0] = 0xFF; in main()
68 y = mmapped[0]; in main()