Searched refs:prot (Results 1 - 7 of 7) sorted by relevance
/fuchsia/zircon/third_party/ulib/musl/src/mman/ |
H A D | mprotect.c | 9 int __mprotect(void* addr, size_t len, int prot) { argument 12 zx_prot |= (prot & PROT_READ) ? ZX_VM_PERM_READ : 0; 13 zx_prot |= (prot & PROT_WRITE) ? ZX_VM_PERM_WRITE : 0; 14 zx_prot |= (prot & PROT_EXEC) ? ZX_VM_PERM_EXECUTE : 0;
|
H A D | mmap.c | 17 void* __mmap(void* start, size_t len, int prot, int flags, int fd, off_t fd_off) { argument 41 zx_options |= (prot & PROT_READ) ? ZX_VM_PERM_READ : 0; 42 zx_options |= (prot & PROT_WRITE) ? ZX_VM_PERM_WRITE : 0; 43 zx_options |= (prot & PROT_EXEC) ? ZX_VM_PERM_EXECUTE : 0;
|
/fuchsia/zircon/system/ulib/zx/include/lib/zx/ |
H A D | vmar.h | 41 zx_status_t protect(uintptr_t address, size_t len, zx_vm_option_t prot) const { 42 return zx_vmar_protect(get(), prot, address, len);
|
/fuchsia/zircon/third_party/ulib/jemalloc/src/ |
H A D | pages.c | 139 int prot = *commit ? PAGES_PROT_COMMIT : PAGES_PROT_DECOMMIT; local 141 ret = mmap(addr, size, prot, mmap_flags, -1, 0); 240 int prot = commit ? PAGES_PROT_COMMIT : PAGES_PROT_DECOMMIT; 241 void *result = mmap(addr, size, prot, mmap_flags | MAP_FIXED,
|
/fuchsia/zircon/bootloader/lib/ |
H A D | xefi.c | 38 efi_device_path_to_text_protocol* prot; local 39 efi_status status = gBS->LocateProtocol(&DevicePathToTextProtocol, NULL, (void**)&prot); 43 return prot->ConvertDevicePathToText(path, false, false);
|
/fuchsia/zircon/kernel/syscalls/ |
H A D | vmar.cpp | 229 zx_status_t sys_vmar_protect_old(zx_handle_t vmar_handle, zx_vaddr_t addr, uint64_t len, uint32_t prot) { argument 230 return sys_vmar_protect(vmar_handle, prot, addr, len);
|
/fuchsia/zircon/system/utest/fs/ |
H A D | test-mmap.cpp | 516 bool mmap_crash(int prot, int flags, RW rw) { argument 520 void* addr = mmap(NULL, PAGE_SIZE, prot, flags, fd, 0);
|
Completed in 45 milliseconds