Thread (6 messages) 6 messages, 4 authors, 2019-06-18

Re: [PATCH v7 22/27] binfmt_elf: Extract .note.gnu.property from an ELF file

flat view

From: Yu-cheng Yu <hidden>
Date: 2019-06-18 16:01:40
Also in: linux-arch, linux-doc, linux-mm, lkml

On Tue, 2019-06-18 at 17:49 +0200, Florian Weimer wrote:
* Yu-cheng Yu:
quoted
The kernel looks at only ld-linux.  Other applications are loaded by ld-
linux. 
So the issues are limited to three versions of ld-linux's.  Can we somehow
update those??
I assumed that it would also parse the main executable and make
adjustments based on that.
Yes, Linux also looks at the main executable's header, but not its
NT_GNU_PROPERTY_TYPE_0 if there is a loader.
ld.so can certainly provide whatever the kernel needs.  We need to tweak
the existing loader anyway.

No valid statically-linked binaries exist today, so this is not a
consideration at this point.
So from kernel, we look at only PT_GNU_PROPERTY?

Yu-cheng
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help