tag | line | file | source code |
eppnt | 137 | fs/binfmt_elf.c | struct elf_phdr * eppnt; |
eppnt | 138 | fs/binfmt_elf.c | eppnt = (struct elf_phdr *) exec->e_phoff; |
eppnt | 183 | fs/binfmt_elf.c | struct elf_phdr *eppnt; |
eppnt | 237 | fs/binfmt_elf.c | eppnt = elf_phdata; |
eppnt | 238 | fs/binfmt_elf.c | for(i=0; i<interp_elf_ex->e_phnum; i++, eppnt++) |
eppnt | 239 | fs/binfmt_elf.c | if(eppnt->p_type == PT_LOAD) { |
eppnt | 243 | fs/binfmt_elf.c | if (eppnt->p_flags & PF_R) elf_prot = PROT_READ; |
eppnt | 244 | fs/binfmt_elf.c | if (eppnt->p_flags & PF_W) elf_prot |= PROT_WRITE; |
eppnt | 245 | fs/binfmt_elf.c | if (eppnt->p_flags & PF_X) elf_prot |= PROT_EXEC; |
eppnt | 248 | fs/binfmt_elf.c | vaddr = eppnt->p_vaddr; |
eppnt | 253 | fs/binfmt_elf.c | eppnt->p_filesz + (eppnt->p_vaddr & 0xfff), |
eppnt | 256 | fs/binfmt_elf.c | eppnt->p_offset & 0xfffff000); |
eppnt | 267 | fs/binfmt_elf.c | k = load_addr + eppnt->p_vaddr + eppnt->p_filesz; |
eppnt | 274 | fs/binfmt_elf.c | k = load_addr + eppnt->p_memsz + eppnt->p_vaddr; |