tag | line | file | source code |
elf_ex | 264 | arch/i386/ibcs/binfmt_elf.c | struct elfhdr elf_ex; |
elf_ex | 287 | arch/i386/ibcs/binfmt_elf.c | elf_ex = *((struct elfhdr *) bprm->buf); /* exec-header */ |
elf_ex | 289 | arch/i386/ibcs/binfmt_elf.c | if (elf_ex.e_ident[0] != 0x7f || |
elf_ex | 290 | arch/i386/ibcs/binfmt_elf.c | strncmp(&elf_ex.e_ident[1], "ELF",3) != 0) |
elf_ex | 295 | arch/i386/ibcs/binfmt_elf.c | if(elf_ex.e_type != ET_EXEC || |
elf_ex | 296 | arch/i386/ibcs/binfmt_elf.c | (elf_ex.e_machine != EM_386 && elf_ex.e_machine != EM_486) || |
elf_ex | 304 | arch/i386/ibcs/binfmt_elf.c | elf_phdata = (struct elf_phdr *) kmalloc(elf_ex.e_phentsize * |
elf_ex | 305 | arch/i386/ibcs/binfmt_elf.c | elf_ex.e_phnum, GFP_KERNEL); |
elf_ex | 309 | arch/i386/ibcs/binfmt_elf.c | retval = read_exec(bprm->inode, elf_ex.e_phoff, (char *) elf_phdata, |
elf_ex | 310 | arch/i386/ibcs/binfmt_elf.c | elf_ex.e_phentsize * elf_ex.e_phnum); |
elf_ex | 340 | arch/i386/ibcs/binfmt_elf.c | for(i=0;i < elf_ex.e_phnum; i++){ |
elf_ex | 431 | arch/i386/ibcs/binfmt_elf.c | elf_entry = (unsigned int) elf_ex.e_entry; |
elf_ex | 448 | arch/i386/ibcs/binfmt_elf.c | for(i=0;i < elf_ex.e_phnum; i++){ |
elf_ex | 528 | arch/i386/ibcs/binfmt_elf.c | (interpreter_type == INTERPRETER_ELF ? &elf_ex : NULL), |
elf_ex | 567 | arch/i386/ibcs/binfmt_elf.c | struct elfhdr elf_ex; |
elf_ex | 583 | arch/i386/ibcs/binfmt_elf.c | if (file->f_op->read(inode, file, (char *) &elf_ex, sizeof(elf_ex)) != sizeof(elf_ex)) { |
elf_ex | 589 | arch/i386/ibcs/binfmt_elf.c | if (elf_ex.e_ident[0] != 0x7f || |
elf_ex | 590 | arch/i386/ibcs/binfmt_elf.c | strncmp(&elf_ex.e_ident[1], "ELF",3) != 0) |
elf_ex | 594 | arch/i386/ibcs/binfmt_elf.c | if(elf_ex.e_type != ET_EXEC || elf_ex.e_phnum > 2 || |
elf_ex | 595 | arch/i386/ibcs/binfmt_elf.c | (elf_ex.e_machine != EM_386 && elf_ex.e_machine != EM_486) || |
elf_ex | 603 | arch/i386/ibcs/binfmt_elf.c | if(sizeof(struct elf_phdr) * elf_ex.e_phnum > PAGE_SIZE) |
elf_ex | 607 | arch/i386/ibcs/binfmt_elf.c | kmalloc(sizeof(struct elf_phdr) * elf_ex.e_phnum, GFP_KERNEL); |
elf_ex | 611 | arch/i386/ibcs/binfmt_elf.c | retval = read_exec(inode, elf_ex.e_phoff, (char *) elf_phdata, |
elf_ex | 612 | arch/i386/ibcs/binfmt_elf.c | sizeof(struct elf_phdr) * elf_ex.e_phnum); |
elf_ex | 616 | arch/i386/ibcs/binfmt_elf.c | for(i=0; i<elf_ex.e_phnum; i++) |
elf_ex | 299 | fs/binfmt_elf.c | struct elfhdr elf_ex; |
elf_ex | 326 | fs/binfmt_elf.c | elf_ex = *((struct elfhdr *) bprm->buf); /* exec-header */ |
elf_ex | 328 | fs/binfmt_elf.c | if (elf_ex.e_ident[0] != 0x7f || |
elf_ex | 329 | fs/binfmt_elf.c | strncmp(&elf_ex.e_ident[1], "ELF",3) != 0) { |
elf_ex | 336 | fs/binfmt_elf.c | if(elf_ex.e_type != ET_EXEC || |
elf_ex | 337 | fs/binfmt_elf.c | (elf_ex.e_machine != EM_386 && elf_ex.e_machine != EM_486) || |
elf_ex | 346 | fs/binfmt_elf.c | elf_phdata = (struct elf_phdr *) kmalloc(elf_ex.e_phentsize * |
elf_ex | 347 | fs/binfmt_elf.c | elf_ex.e_phnum, GFP_KERNEL); |
elf_ex | 351 | fs/binfmt_elf.c | retval = read_exec(bprm->inode, elf_ex.e_phoff, (char *) elf_phdata, |
elf_ex | 352 | fs/binfmt_elf.c | elf_ex.e_phentsize * elf_ex.e_phnum); |
elf_ex | 384 | fs/binfmt_elf.c | for(i=0;i < elf_ex.e_phnum; i++){ |
elf_ex | 485 | fs/binfmt_elf.c | elf_entry = (unsigned int) elf_ex.e_entry; |
elf_ex | 502 | fs/binfmt_elf.c | for(i=0;i < elf_ex.e_phnum; i++){ |
elf_ex | 588 | fs/binfmt_elf.c | (interpreter_type == INTERPRETER_ELF ? &elf_ex : NULL), |
elf_ex | 637 | fs/binfmt_elf.c | struct elfhdr elf_ex; |
elf_ex | 654 | fs/binfmt_elf.c | if (file->f_op->read(inode, file, (char *) &elf_ex, sizeof(elf_ex)) != sizeof(elf_ex)) { |
elf_ex | 661 | fs/binfmt_elf.c | if (elf_ex.e_ident[0] != 0x7f || |
elf_ex | 662 | fs/binfmt_elf.c | strncmp(&elf_ex.e_ident[1], "ELF",3) != 0) { |
elf_ex | 668 | fs/binfmt_elf.c | if(elf_ex.e_type != ET_EXEC || elf_ex.e_phnum > 2 || |
elf_ex | 669 | fs/binfmt_elf.c | (elf_ex.e_machine != EM_386 && elf_ex.e_machine != EM_486) || |
elf_ex | 677 | fs/binfmt_elf.c | if(sizeof(struct elf_phdr) * elf_ex.e_phnum > PAGE_SIZE) { |
elf_ex | 683 | fs/binfmt_elf.c | kmalloc(sizeof(struct elf_phdr) * elf_ex.e_phnum, GFP_KERNEL); |
elf_ex | 687 | fs/binfmt_elf.c | retval = read_exec(inode, elf_ex.e_phoff, (char *) elf_phdata, |
elf_ex | 688 | fs/binfmt_elf.c | sizeof(struct elf_phdr) * elf_ex.e_phnum); |
elf_ex | 692 | fs/binfmt_elf.c | for(i=0; i<elf_ex.e_phnum; i++) |