Home
last modified time | relevance | path

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

/DragonOS/kernel/src/mm/
H A Dmm.h128 #define VM_EXEC (1 << 2) macro
137 #define VM_ACCESS_FLAGS (VM_READ | VM_WRITE | VM_EXEC)
H A Dsyscall.rs179 vm_flags |= VmFlags::VM_EXEC; in from()
197 vm_flags |= VmFlags::VM_EXEC; in from()
244 if value.contains(VmFlags::VM_EXEC) { in from()
H A Dmod.rs49 const VM_EXEC = 0x00000004; constant
685 VmFlags::VM_READ | VmFlags::VM_WRITE | VmFlags::VM_EXEC | VmFlags::VM_SHARED, in vm_get_page_prot()
H A Ducontext.rs1305 let vm_access_flags: VmFlags = VmFlags::VM_READ | VmFlags::VM_WRITE | VmFlags::VM_EXEC; in is_accessible()
/DragonOS/kernel/src/arch/riscv64/mm/
H A Dmod.rs295 map[VmFlags::VM_EXEC.bits()] = MMArch::PAGE_READONLY_EXEC;
296 map[VmFlags::VM_EXEC.bits() | VmFlags::VM_READ.bits()] = MMArch::PAGE_READONLY_EXEC;
297 map[VmFlags::VM_EXEC.bits() | VmFlags::VM_WRITE.bits()] = MMArch::PAGE_COPY_EXEC;
298 map[VmFlags::VM_EXEC.bits() | VmFlags::VM_WRITE.bits() | VmFlags::VM_READ.bits()] =
305 map[VmFlags::VM_SHARED.bits() | VmFlags::VM_EXEC.bits()] = MMArch::PAGE_READONLY_EXEC;
306 map[VmFlags::VM_SHARED.bits() | VmFlags::VM_EXEC.bits() | VmFlags::VM_READ.bits()] =
308 map[VmFlags::VM_SHARED.bits() | VmFlags::VM_EXEC.bits() | VmFlags::VM_WRITE.bits()] =
311 | VmFlags::VM_EXEC.bits()
/DragonOS/kernel/src/arch/x86_64/mm/
H A Dmod.rs391 map[VmFlags::VM_EXEC.bits()] = EntryFlags::from_data(MMArch::PAGE_READONLY_EXEC);
392 map[VmFlags::VM_EXEC.bits() | VmFlags::VM_READ.bits()] =
394 map[VmFlags::VM_EXEC.bits() | VmFlags::VM_WRITE.bits()] =
396 map[VmFlags::VM_EXEC.bits() | VmFlags::VM_WRITE.bits() | VmFlags::VM_READ.bits()] =
405 map[VmFlags::VM_SHARED.bits() | VmFlags::VM_EXEC.bits()] =
407 map[VmFlags::VM_SHARED.bits() | VmFlags::VM_EXEC.bits() | VmFlags::VM_READ.bits()] =
409 map[VmFlags::VM_SHARED.bits() | VmFlags::VM_EXEC.bits() | VmFlags::VM_WRITE.bits()] =
412 | VmFlags::VM_EXEC.bits()