[PATCH] Check multiple NT_GNU_PROPERTY_TYPE_0 notes [BZ #23509]

Florian Weimer fweimer@redhat.com
Wed Aug 15 15:17:00 GMT 2018


On 08/14/2018 08:12 PM, H.J. Lu wrote:
> _dl_process_cet_property_note is called on on each PT_NOTE segment.
> We must keep searching until we found a PT_NOTE segment with a
> NT_GNU_PROPERTY_TYPE_0 note:
> 
>    /* Skip if we have seen a NT_GNU_PROPERTY_TYPE_0 note before.  */
>    if (l->l_cet != lc_unknown)
>      return;
> ...

What if there are different segments, each one with its own 
NT_GNU_PROPERTY_TYPE_0?  Wouldn't that point to lack of linker support, 
too?  So that CET needs to be disabled?

Thanks,
Florian



More information about the Libc-alpha mailing list