[PATCH 0/2] nptl: Update struct pthread_unwind_buf
Carlos O'Donell
carlos@redhat.com
Fri Mar 9 00:47:00 GMT 2018
On 03/08/2018 04:48 AM, H.J. Lu wrote:
> True. This is the patch I have tested:
>
> https://github.com/hjl-tools/gcc/commit/e98087865405f051e93d5f35588789ef9686db4a
I assume NOTRACK prefix is what Intel calls 'NO_TRACK_EN' in the CET
documentation since binutils uses the 0x3E prefix for it and that matches
the Intel CET docs. Please correct me if I'm wrong.
In which case I agree, using NOTRACK is going to prevent a useful use
of CET against writes to the cancellation jump buffer.
This patch looks good to me, but is not a *correctness* issue, it is
simply that we want to extend coverage to the private cancellation
setjmp/longjmp buffers.
Is there any way we can do this with source markup instead of via
a fragile list in the compiler?
Presumably users may want to markup their own code like this also
if they have custom implementations of functions that behave like
setjmp/longjmp?
--
Cheers,
Carlos.
More information about the Libc-alpha
mailing list