This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Alternative libio vtable hardening approach
- From: Pedro Alves <palves at redhat dot com>
- To: Florian Weimer <fweimer at redhat dot com>, GNU C Library <libc-alpha at sourceware dot org>, Kees Cook <keescook at chromium dot org>, Yunlian Jiang <yunlian at google dot com>
- Date: Fri, 3 Jun 2016 15:34:31 +0100
- Subject: Re: Alternative libio vtable hardening approach
- Authentication-results: sourceware.org; auth=none
- References: <b34105f2-adcb-9347-73c0-43079729c418 at redhat dot com> <ec8e25c2-d6b4-c372-6b81-5240cb973910 at redhat dot com> <a1a71129-c432-bfb4-8580-dcb79573c92e at redhat dot com> <c61f7050-b159-9bee-fc7c-47ccaf2f9e32 at redhat dot com> <3fa6383b-cefc-1569-a28a-18aabce83d40 at redhat dot com> <9bb9daaa-6f8b-c703-812d-8535695ca7b7 at redhat dot com>
On 06/03/2016 03:18 PM, Florian Weimer wrote:
> I've got it working, except for the static dlopen case (which is an
> unrelated problem).
Sounds great!
> The tricky bit was realizing that ld has a special rule (not reflected
> in the default linker script) that orphan sections receive those
> automatically generated __start_ and __stop_ symbols. This wasn't clear
> to me at all (although it is documented), and I found it only after
> reading the ld source code.
>
Sorry, I didn't think to call that out explicitly, but I should have.
Thanks,
Pedro Alves