/external/OpenCL-CTS/test_common/harness/ |
D | typeWrappers.cpp | 76 mprotect( p, rowStride, PROT_NONE ); p += rowStride; in Create() 79 mprotect( p, kPageSize, PROT_NONE ); p += rowStride; in Create() 83 mprotect( p, rowStride, PROT_NONE ); p += rowStride; in Create() 156 mprotect( p, rowStride, PROT_NONE ); p += rowStride; in Create() 161 mprotect( p, kPageSize, PROT_NONE ); p += rowStride; in Create() 166 mprotect( p, rowStride, PROT_NONE ); p += rowStride; in Create() 239 mprotect( p, rowStride, PROT_NONE ); p += rowStride; in Create() 244 mprotect( p, kPageSize, PROT_NONE ); p += rowStride; in Create() 249 mprotect( p, rowStride, PROT_NONE ); p += rowStride; in Create() 339 mprotect( p, rowStride, PROT_NONE ); p += rowStride; in Create() [all …]
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
D | leak_check_segv.cc | 14 mprotect((void*)(((unsigned long)p + 4095) & ~4095), 16 * 1024, PROT_NONE); in main() 15 mprotect((void*)(((unsigned long)data + 4095) & ~4095), 16 * 1024, PROT_NONE); in main()
|
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
D | signal_segv_handler.cc | 27 mprotect(guard, page_size, PROT_READ | PROT_WRITE); in handler() 41 mprotect(guard, page_size, PROT_NONE); in main()
|
/external/ltp/testcases/kernel/syscalls/mprotect/ |
D | mprotect04.c | 106 TEST(mprotect(addr, page_sz, PROT_NONE)); in testfunc_protnone() 208 TEST(mprotect(page_to_copy, page_sz, PROT_READ | PROT_EXEC)); in get_func() 256 TEST(mprotect(p, page_sz, PROT_EXEC)); in testfunc_protexec()
|
/external/linux-kselftest/tools/testing/selftests/powerpc/primitives/ |
D | load_unaligned_zeropad.c | 43 if (mprotect(mem_region + page_size, page_size, PROT_NONE)) { in protect_region() 53 if (mprotect(mem_region + page_size, page_size, PROT_READ|PROT_WRITE)) { in unprotect_region()
|
/external/ltp/testcases/kernel/syscalls/signal/ |
D | signal06.c | 102 TEST(mprotect(altstack, sizeof(altstack), PROT_READ)); in tfunc() 107 TEST(mprotect(altstack, sizeof(altstack), PROT_READ | PROT_WRITE)); in tfunc()
|
/external/autotest/client/tests/memory_api/ |
D | memory_api.c | 78 if (-1 == mprotect(mem, HALF_MEM(memsize), PROT_READ)) { in main() 88 if (-1 == mprotect(mem, HALF_MEM(memsize), in main()
|
/external/crosvm/seccomp/x86_64/ |
D | gpu_device.policy | 58 # mmap/mprotect/open/openat differ from the common_device.policy 60 mprotect: arg2 == PROT_READ|PROT_WRITE || arg2 == PROT_NONE || arg2 == PROT_READ
|
D | common_device.policy | 22 mprotect: arg2 in ~PROT_EXEC
|
/external/adhd/seccomp/ |
D | cras-seccomp-arm64.policy | 20 # Don't allow mmap or mprotect with both PROT_WRITE and PROT_EXEC 22 mprotect: arg2 in 0xfffffffb || arg2 in 0xfffffffd
|
/external/pdfium/third_party/base/allocator/partition_allocator/ |
D | page_allocator_internals_posix.h | 153 return 0 == mprotect(address, length, GetAccessFlags(accessibility)); in TrySetSystemPagesAccessInternal() 160 CHECK_EQ(0, mprotect(address, length, GetAccessFlags(accessibility))); in SetSystemPagesAccessInternal()
|
/external/vixl/src/ |
D | code-buffer-vixl.cc | 99 int ret = mprotect(buffer_, capacity_, PROT_READ | PROT_EXEC); in SetExecutable() 111 int ret = mprotect(buffer_, capacity_, PROT_READ | PROT_WRITE); in SetWritable()
|
/external/mesa3d/src/panfrost/lib/ |
D | decode_common.c | 57 mprotect(mem->addr, mem->length, PROT_READ); in pandecode_find_mapped_gpu_mem_containing() 70 mprotect((*mem)->addr, (*mem)->length, PROT_READ | PROT_WRITE); in pandecode_map_read_write()
|
/external/perfetto/src/base/ |
D | paged_memory.cc | 62 int res = mprotect(ptr, kGuardSize, PROT_NONE); in Allocate() 63 res |= mprotect(usable_region + size, kGuardSize, PROT_NONE); in Allocate()
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/mman_h/ |
D | 14-1-buildonly.c | 24 dummyvar = mprotect; in dummyfcn()
|
/external/compiler-rt/test/lsan/TestCases/ |
D | register_root_region.cc | 22 assert(0 == mprotect((char *)p + size / 2, size / 2, PROT_NONE)); in main()
|
/external/ltp/testcases/kernel/syscalls/madvise/ |
D | madvise05.c | 31 TEST(mprotect(p, ALLOC_SIZE, PROT_NONE)); in verify_madvise()
|
/external/igt-gpu-tools/tests/i915/ |
D | i915_query.c | 177 igt_assert_eq(0, mprotect(items_ptr, 4096, PROT_READ)); in test_query_garbage_items() 190 mprotect(((uint8_t *)items_ptr) + 4096, 4096, PROT_READ); in test_query_garbage_items() 579 igt_assert_eq(mprotect(engines, len, PROT_NONE), 0); in engines_invalid() 586 igt_assert_eq(mprotect(engines, len, PROT_WRITE), 0); in engines_invalid() 590 igt_assert_eq(mprotect(engines, len, PROT_READ), 0); in engines_invalid()
|
/external/compiler-rt/lib/builtins/ |
D | enable_execute_stack.c | 70 (void) mprotect((void *)startPage, length, PROT_READ | PROT_WRITE | PROT_EXEC); in __enable_execute_stack()
|
/external/strace/tests-m32/ |
D | mmap.test | 57 syscall=$mmap,madvise,mlockall,mprotect,mremap,msync,munmap
|
/external/ltp/testcases/kernel/mem/thp/ |
D | thp03.c | 57 if (mprotect(p, unaligned_size, PROT_NONE) == -1) in thp_test()
|
/external/strace/tests-mx32/ |
D | mmap.test | 57 syscall=$mmap,madvise,mlockall,mprotect,mremap,msync,munmap
|
/external/strace/tests/ |
D | mmap.test | 57 syscall=$mmap,madvise,mlockall,mprotect,mremap,msync,munmap
|
/external/ltp/testcases/kernel/syscalls/ |
D | Makefile | 29 mincore mprotect nftw profil remap_file_pages sbrk
|
/external/compiler-rt/test/builtins/Unit/ |
D | clear_cache_test.c | 68 if (mprotect(start, end-start, PROT_READ|PROT_WRITE|PROT_EXEC) != 0) in main()
|