[PATCH 00/12] x86/CET: The last 12 patches to enable Intel CET
Florian Weimer
fweimer@redhat.com
Thu Jul 26 11:17:00 GMT 2018
On 07/21/2018 04:20 PM, H.J. Lu wrote:
> These are the last 12 patches to enable Intel CET. Tested by
>
> 1. build-many-glibcs.py.
> 2. With --enable-cet and without --enable-cet for i686, x86-64 and x32
> on non-CET x86-64 processors.
> 3. With --enable-cet for x86-64 and x32 on CET SDV using the CET kernel
> from cet branch at:
>
> https://github.com/yyu168/linux_cet/tree/cet
>
> When the shadow stack (SHSTK) is enabled, makecontext needs to allocate
> a new shadow stack to go with the new stack allocated by the caller.
> setcontext and swapcontext must properly handle the corresponding shadow
> stack when the stack is switched. Add more tests for user context
> functions to provide more coverage for the shadow stack support.
Building glibc with --enable-cet currently breaks valgrind (even for
current CPUs which do not support CET):
https://bugzilla.redhat.com/show_bug.cgi?id=1608824
Mark is working on a valgrind fix.
Thanks,
Florian
More information about the Libc-alpha
mailing list