This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]