x86/cet: Add tests for GLIBC_TUNABLES=glibc.cpu.hwcaps=-SHSTK
commit9424ce80c2a08f4dfc06d5442b770ed5ec798c4b
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 17 Mar 2023 23:21:49 +0000 (17 16:21 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 19 Dec 2023 14:57:39 +0000 (19 06:57 -0800)
treecb30ed27903393f7a104c4e84b560e186750fd28
parent71c0cc3357fe6d72f1dbef1c695e54b117d91b96
x86/cet: Add tests for GLIBC_TUNABLES=glibc.cpu.hwcaps=-SHSTK

Verify that GLIBC_TUNABLES=glibc.cpu.hwcaps=-SHSTK turns off shadow
stack properly.
sysdeps/x86/Makefile
sysdeps/x86/tst-shstk-legacy-1c-static.c [new file with mode: 0644]
sysdeps/x86/tst-shstk-legacy-1c.c [new file with mode: 0644]