|
Lines 581-586
static int load_elf_binary(struct linux_
Link Here
|
| 581 |
// printk(KERN_WARNING "ELF: Ambiguous type, using ELF\n"); |
581 |
// printk(KERN_WARNING "ELF: Ambiguous type, using ELF\n"); |
| 582 |
interpreter_type = INTERPRETER_ELF; |
582 |
interpreter_type = INTERPRETER_ELF; |
| 583 |
} |
583 |
} |
|
|
584 |
/* Verify the interpreter has a valid arch */ |
| 585 |
if ((interpreter_type == INTERPRETER_ELF) && |
| 586 |
!elf_check_arch(&interp_elf_ex)) |
| 587 |
goto out_free_dentry; |
| 584 |
} else { |
588 |
} else { |
| 585 |
/* Executables without an interpreter also need a personality */ |
589 |
/* Executables without an interpreter also need a personality */ |
| 586 |
SET_PERSONALITY(elf_ex, ibcs2_interpreter); |
590 |
SET_PERSONALITY(elf_ex, ibcs2_interpreter); |