This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 00/12] x86/CET: The last 12 patches to enable Intel CET
- From: Florian Weimer <fweimer at redhat dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>, libc-alpha at sourceware dot org
- Cc: Carlos O'Donell <carlos at redhat dot com>
- Date: Thu, 26 Jul 2018 13:16:53 +0200
- Subject: Re: [PATCH 00/12] x86/CET: The last 12 patches to enable Intel CET
- References: <20180721142035.21059-1-hjl.tools@gmail.com>
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