diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2018-07-25 08:40:39 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2018-07-25 08:40:50 -0700 |
commit | 08ac6bed146c0546d63163ac0d42c9a35880412d (patch) | |
tree | a3e3a44aea93c41afdfadfc25b9733b2b2468aa2 /ChangeLog | |
parent | 9faaf9385034ac71f308643de1afc91b5dd731aa (diff) | |
download | glibc-08ac6bed146c0546d63163ac0d42c9a35880412d.tar glibc-08ac6bed146c0546d63163ac0d42c9a35880412d.tar.gz glibc-08ac6bed146c0546d63163ac0d42c9a35880412d.tar.bz2 glibc-08ac6bed146c0546d63163ac0d42c9a35880412d.zip |
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2018-07-25 H.J. Lu <hongjiu.lu@intel.com> + + * 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 <adhemerval.zanella@linaro.org> * include/threads.h: Move to ... |