tag | line | file | source code |
interp_elf_ex | 169 | fs/binfmt_elf.c | static unsigned int load_elf_interp(struct elfhdr * interp_elf_ex, |
interp_elf_ex | 189 | fs/binfmt_elf.c | if((interp_elf_ex->e_type != ET_EXEC && |
interp_elf_ex | 190 | fs/binfmt_elf.c | interp_elf_ex->e_type != ET_DYN) || |
interp_elf_ex | 191 | fs/binfmt_elf.c | (interp_elf_ex->e_machine != EM_386 && interp_elf_ex->e_machine != EM_486) || |
interp_elf_ex | 199 | fs/binfmt_elf.c | if(sizeof(struct elf_phdr) * interp_elf_ex->e_phnum > PAGE_SIZE) |
interp_elf_ex | 203 | fs/binfmt_elf.c | kmalloc(sizeof(struct elf_phdr) * interp_elf_ex->e_phnum, GFP_KERNEL); |
interp_elf_ex | 211 | fs/binfmt_elf.c | if( interp_elf_ex->e_phentsize != 32 ) |
interp_elf_ex | 217 | fs/binfmt_elf.c | retval = read_exec(interpreter_inode, interp_elf_ex->e_phoff, (char *) elf_phdata, |
interp_elf_ex | 218 | fs/binfmt_elf.c | sizeof(struct elf_phdr) * interp_elf_ex->e_phnum, 1); |
interp_elf_ex | 229 | fs/binfmt_elf.c | for(i=0; i<interp_elf_ex->e_phnum; i++, eppnt++) |
interp_elf_ex | 237 | fs/binfmt_elf.c | if (interp_elf_ex->e_type == ET_EXEC) { |
interp_elf_ex | 251 | fs/binfmt_elf.c | if(!load_addr && interp_elf_ex->e_type == ET_DYN) |
interp_elf_ex | 294 | fs/binfmt_elf.c | return ((unsigned int) interp_elf_ex->e_entry) + load_addr; |
interp_elf_ex | 349 | fs/binfmt_elf.c | struct elfhdr interp_elf_ex; |
interp_elf_ex | 469 | fs/binfmt_elf.c | interp_elf_ex = *((struct elfhdr *) bprm->buf); /* exec-header */ |
interp_elf_ex | 491 | fs/binfmt_elf.c | if (interp_elf_ex.e_ident[0] != 0x7f || |
interp_elf_ex | 492 | fs/binfmt_elf.c | strncmp(&interp_elf_ex.e_ident[1], "ELF",3) != 0) |
interp_elf_ex | 562 | fs/binfmt_elf.c | load_elf_interp(&interp_elf_ex, interpreter_inode, &interp_load_addr); |