In article <[email protected]>, Martin Husemann <[email protected]> wrote: >On Tue, Aug 27, 2013 at 08:28:04AM +0900, [email protected] wrote: >> Maxime Villard <[email protected]> writes: >> - How often is_dyn is true? > >Good point - I can't find any use for it. The code seems to agree: > > /* > * XXX allow for executing shared objects. It seems silly > * but other ELF-based systems allow it as well. > */ > if (!is_dyn && elf_check_header(eh, ET_EXEC) != 0) > return ENOEXEC; > > >Are there any ET_DYN that are not shared libs? Maybe we should remove >the is_dyn exec support completely.
Why, have you tried running libc.so on linux? :-) christos
