[PATCH] Check multiple NT_GNU_PROPERTY_TYPE_0 notes [BZ #23509]
Florian Weimer
fweimer@redhat.com
Tue Aug 14 17:59:00 GMT 2018
On 08/14/2018 07:32 PM, H.J. Lu wrote:
> #if CET_ENABLED
> + /* Skip if we have seen a NT_GNU_PROPERTY_TYPE_0 note before. */
> + if (l->l_cet != lc_unknown)
> + return;
Should this set l->l_cet to lc_none before returning?
> + /* Stop if we see more than one GNU property note which may
> + be generated by the older linker. */
> + if (l->l_cet != lc_unknown)
> + return;
Likewise.
Thanks,
Florian
More information about the Libc-alpha
mailing list