Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [PATCH] Some tweaks for ELF
On Tue, Aug 27, 2013 at 08:28:04AM +0900, tsugutomo.enami%jp.sony.com@localhost
wrote:
> Maxime Villard <max%M00nBSD.net@localhost> 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.
Martin
Home |
Main Index |
Thread Index |
Old Index