Current-Users archive

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

Re: go vs. NetBSD ELF



On Sun, Nov 01, 2015 at 04:41:44PM +0100, Martin Husemann wrote:
> On Sun, Nov 01, 2015 at 03:27:01PM +0000, Michael van Elst wrote:
> 
> > // The Go build ID is stored in a note described by an ELF PT_NOTE prog header.
> > But why would the kernel see this?
> 
> Just to make sure I parsed that correctly:
> you mean "why would someone be so stupid to store this kernel-irrelevant 
> information in a PT_NOTE section"?


It's either a section from some intermediate file, then I don't
understand why someone would execve() it.

Or it is a section from a linked binary, then I wonder why
the Build ID of the program is stored in a note.



-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index