Searched refs:PAGE_SIZE (Results 1 – 10 of 10) sorted by relevance
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2015-1805/ |
D | poc.c | 36 munmap((void *)(0x45678000), PAGE_SIZE); in func_evil() 37 mmap((void *)(0x45678000), PAGE_SIZE, PROT_READ | PROT_WRITE, in func_evil() 65 bufs[MAGIC] = mmap((void *)(0x45678000), PAGE_SIZE, PROT_READ | PROT_WRITE, in main() 73 bufs[i] = mmap(NULL, PAGE_SIZE, PROT_READ | PROT_WRITE, in main() 90 write(fd[1], bufs[0], PAGE_SIZE); in main() 101 if (bufs[i]) munmap(bufs[i], PAGE_SIZE); in main()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2021-1906/ |
D | poc.c | 144 void *hostptr = mmap((void *)start, 2 * PAGE_SIZE, PROT_READ | PROT_WRITE, in trigger() 146 mprotect((void *)((uintptr_t)hostptr + PAGE_SIZE), PAGE_SIZE, PROT_NONE); in trigger() 150 munmap(hostptr, 2 * PAGE_SIZE); in trigger() 160 if (create_code_page(kgsl_fd, 4 * PAGE_SIZE, &code_page_cpu_addr, in main() 166 next_gpu_addr = gpu_mem_alloc(kgsl_fd, PAGE_SIZE, 0); in main()
|
/cts/tests/tests/jni/libjnitest/ |
D | android_jni_cts_BasicLoaderTest.cpp | 54 uintptr_t page_start = reinterpret_cast<uintptr_t>(taxicab_number) & ~(PAGE_SIZE - 1); in run_test() 55 if (mprotect(reinterpret_cast<void*>(page_start), PAGE_SIZE, PROT_NONE) == 0) { in run_test()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/tech/ |
D | MifareUltralightTagTester.java | 54 final byte[] fourPages = new byte[NUM_PAGES * MifareUltralight.PAGE_SIZE]; in writeTag() 55 byte[] onePage = new byte[MifareUltralight.PAGE_SIZE]; in writeTag()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-11173/ |
D | poc.c | 76 init.filelen = PAGE_SIZE; in init_thread() 95 unmap.len = PAGE_SIZE; in unmap_thread() 136 dma_fd = ion_alloc(PAGE_SIZE); in trigger()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8431/ |
D | poc.c | 50 gem_create.size = PAGE_SIZE; in prepare()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8432/ |
D | poc.c | 85 gem_create.size = PAGE_SIZE; in prepare()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8482/ |
D | poc.c | 138 .size = PAGE_SIZE in main()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | FileSystemPermissionTest.java | 412 final BigInteger PAGE_SIZE = new BigInteger("4096"); in mappedPageRanges() local 424 long start = new BigInteger(m.group(1), 16).divide(PAGE_SIZE).longValue(); in mappedPageRanges() 425 long end = new BigInteger(m.group(2), 16).divide(PAGE_SIZE).longValue(); in mappedPageRanges()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0213/ |
D | poc.cpp | 354 auto alignedSize = ALIGN(size, PAGE_SIZE); in decodeNFrames()
|