Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/mm/
Ducontext.rs456 .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()
Dsyscall.rs24 const PROT_WRITE = 0x2; constant
Dpage.rs265 .set_write(prot_flags.contains(ProtFlags::PROT_WRITE)); in from_prot_flags()
/DragonOS-0.1.8/kernel/src/libs/
Delf.rs134 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()