about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c
Commit message (Collapse)AuthorAgeFilesLines
* x86/CET: Add a setcontext test for CETH.J. Lu2018-07-251-0/+127
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.