From 08ac6bed146c0546d63163ac0d42c9a35880412d Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 25 Jul 2018 08:40:39 -0700 Subject: x86/CET: Add a setcontext test for CET Verify that setcontext works with gaps above and below the newly allocated shadow stack. * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add tst-cet-setcontext-1 if CET is enabled. (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk. * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file. --- ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index f6aa73550b..0694ff3f24 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2018-07-25 H.J. Lu + + * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add + tst-cet-setcontext-1 if CET is enabled. + (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk. + * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file. + 2018-07-25 Adhemerval Zanella * include/threads.h: Move to ... -- cgit v1.2.3