Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/libs/
Delf.rs128 fn make_prot(&self, p_flags: u32, _has_interpreter: bool, _is_interpreter: bool) -> ProtFlags { in make_prot()
130 if p_flags & elf::abi::PF_R != 0 { in make_prot()
133 if p_flags & elf::abi::PF_W != 0 { in make_prot()
136 if p_flags & elf::abi::PF_X != 0 { in make_prot()
551 let elf_prot_flags = self.make_prot(seg_to_load.p_flags, false, false); in load()
617 if (seg_to_load.p_flags & elf::abi::PF_X) != 0 { in load()
649 if ((seg_to_load.p_flags & elf::abi::PF_X) != 0) in load()
/DragonOS-0.1.8/kernel/src/common/
Delf.h311 Elf32_Word p_flags; member
318 Elf64_Word p_flags; member