Home
last modified time | relevance | path

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

/DragonOS/kernel/src/mm/
H A Dsyscall.rs28 const PROT_EXEC = 0x4; constant
178 if prot_flags.contains(ProtFlags::PROT_EXEC) { in from()
245 prot_flags |= ProtFlags::PROT_EXEC; in from()
H A Ducontext.rs215 let prot_flags = ProtFlags::PROT_READ | ProtFlags::PROT_WRITE | ProtFlags::PROT_EXEC; in extend_stack()
666 .set_execute(prot_flags.contains(ProtFlags::PROT_EXEC)) in mprotect()
765 let prot_flags = ProtFlags::PROT_READ | ProtFlags::PROT_WRITE | ProtFlags::PROT_EXEC; in set_brk()
1521 && (self.flags.has_execute() || !prot_flags.contains(ProtFlags::PROT_EXEC)); in can_have_flags()
1790 let prot_flags = ProtFlags::PROT_READ | ProtFlags::PROT_WRITE | ProtFlags::PROT_EXEC; in initial_extend()
1825 let prot_flags = ProtFlags::PROT_READ | ProtFlags::PROT_WRITE | ProtFlags::PROT_EXEC; in extend()
H A Dpage.rs816 .set_execute(prot_flags.contains(ProtFlags::PROT_EXEC)) in from_prot_flags()
/DragonOS/kernel/src/libs/
H A Delf.rs173 prot |= ProtFlags::PROT_EXEC; in make_prot()
/DragonOS/kernel/crates/rbpf/src/
H A Djit.rs999 libc::PROT_EXEC | libc::PROT_READ | libc::PROT_WRITE, in new()