Searched refs:PROT_WRITE (Results 1 – 4 of 4) sorted by relevance
456 .set_write(prot_flags.contains(ProtFlags::PROT_WRITE)); in mprotect()511 let prot_flags = ProtFlags::PROT_READ | ProtFlags::PROT_WRITE | ProtFlags::PROT_EXEC; in set_brk()1017 return (self.flags.has_write() || !prot_flags.contains(ProtFlags::PROT_WRITE)) in can_have_flags()1194 let mut prot_flags = ProtFlags::PROT_READ | ProtFlags::PROT_WRITE; in new()1211 prot_flags.remove(ProtFlags::PROT_WRITE); in new()1247 let prot_flags = ProtFlags::PROT_READ | ProtFlags::PROT_WRITE | ProtFlags::PROT_EXEC; in initial_extend()1281 let prot_flags = ProtFlags::PROT_READ | ProtFlags::PROT_WRITE | ProtFlags::PROT_EXEC; in extend()
24 const PROT_WRITE = 0x2; constant
265 .set_write(prot_flags.contains(ProtFlags::PROT_WRITE)); in from_prot_flags()
134 prot |= ProtFlags::PROT_WRITE; in make_prot()203 let tmp_prot = if !prot.contains(ProtFlags::PROT_WRITE) { in load_elf_segment()204 *prot | ProtFlags::PROT_WRITE in load_elf_segment()