Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/kern



In article <3D46B9F1-20F7-4E64-AE31-5DA4192A07C2%3am-software.com@localhost>,
Matt Thomas  <matt%3am-software.com@localhost> wrote:
>
>> On Aug 7, 2015, at 4:05 PM, matthew green <mrg%eterna.com.au@localhost> wrote:
>> 
>> linux ld.so has an entry point, for instance.  IIRC, it's related
>> to how their ldd(1) works.
>
>As does our ld.elf_so.1

The elf spec clearly states:

e_entry This member gives the virtual address to which the system first
	transfers control, thus starting the process. If the file has no
	associated entry point, this member holds zero.

Making the kernel violate the spec so it can play nanny against "bad"
elf objects is silly.

christos



Home | Main Index | Thread Index | Old Index