Searched refs:write_allowed (Results 1 – 2 of 2) sorted by relevance
139 bool write_allowed = mode_ != Mode::kReadOnly; in MapAt() local140 vm_prot_t vm_prot_write = write_allowed ? VM_PROT_WRITE : 0; in MapAt()
174 bool write_allowed = mode_ != Mode::kReadOnly; in MapAt() local175 *memory = mmap(nullptr, size, PROT_READ | (write_allowed ? PROT_WRITE : 0), in MapAt()