tag | line | file | source code |
eppnt | 114 | fs/binfmt_elf.c | struct elf_phdr * eppnt; |
eppnt | 115 | fs/binfmt_elf.c | eppnt = (struct elf_phdr *) exec->e_phoff; |
eppnt | 160 | fs/binfmt_elf.c | struct elf_phdr *eppnt; |
eppnt | 215 | fs/binfmt_elf.c | eppnt = elf_phdata; |
eppnt | 216 | fs/binfmt_elf.c | for(i=0; i<interp_elf_ex->e_phnum; i++, eppnt++) |
eppnt | 217 | fs/binfmt_elf.c | if(eppnt->p_type == PT_LOAD) { |
eppnt | 221 | fs/binfmt_elf.c | if (eppnt->p_flags & PF_R) elf_prot = PROT_READ; |
eppnt | 222 | fs/binfmt_elf.c | if (eppnt->p_flags & PF_W) elf_prot |= PROT_WRITE; |
eppnt | 223 | fs/binfmt_elf.c | if (eppnt->p_flags & PF_X) elf_prot |= PROT_EXEC; |
eppnt | 226 | fs/binfmt_elf.c | vaddr = eppnt->p_vaddr; |
eppnt | 231 | fs/binfmt_elf.c | eppnt->p_filesz + (eppnt->p_vaddr & 0xfff), |
eppnt | 234 | fs/binfmt_elf.c | eppnt->p_offset & 0xfffff000); |
eppnt | 245 | fs/binfmt_elf.c | k = load_addr + eppnt->p_vaddr + eppnt->p_filesz; |
eppnt | 252 | fs/binfmt_elf.c | k = load_addr + eppnt->p_memsz + eppnt->p_vaddr; |