In article <20130827072155.ga2...@mail.duskware.de>, Martin Husemann <mar...@duskware.de> wrote: >On Tue, Aug 27, 2013 at 08:28:04AM +0900, tsugutomo.en...@jp.sony.com wrote: >> Maxime Villard <m...@m00nbsd.net> 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