Home
last modified time | relevance | path

Searched refs:prot (Results 1 – 1 of 1) sorted by relevance

/DragonOS-0.1.8/kernel/src/libs/
Delf.rs129 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()
[all …]