Lines Matching refs:prot
129 let mut prot = ProtFlags::empty(); in make_prot() localVariable
131 prot |= ProtFlags::PROT_READ; in make_prot()
134 prot |= ProtFlags::PROT_WRITE; in make_prot()
137 prot |= ProtFlags::PROT_EXEC; in make_prot()
143 return prot; in make_prot()
169 prot: &ProtFlags, in load_elf_segment()
203 let tmp_prot = if !prot.contains(ProtFlags::PROT_WRITE) { in load_elf_segment()
204 *prot | ProtFlags::PROT_WRITE in load_elf_segment()
206 *prot in load_elf_segment()
245 if tmp_prot != *prot { in load_elf_segment()
249 *prot, in load_elf_segment()
271 if tmp_prot != *prot { in load_elf_segment()
275 *prot, in load_elf_segment()