fortify-headers

standalone fortify-source implementation
git clone git://git.2f30.org/fortify-headers
Log | Files | Refs | README | LICENSE

commit ca2ede3b63b0b3c12a4059f282c86fd66024dbb7
parent 8e15a7599e020159c51475d815d92f7384d3b924
Author: q66 <q66@chimera-linux.org>
Date:   Sat, 16 Dec 2023 02:00:10 +0100

Also handle SIGTRAP in tests

SIGILL is not the only possible trap handler. On non-x86 archs
this is not the case for instance.

Diffstat:
Mtests/common.h | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/tests/common.h b/tests/common.h @@ -47,6 +47,7 @@ set_fortify_handler (void) sigemptyset (&sa.sa_mask); sigaction (SIGILL, &sa, NULL); + sigaction (SIGTRAP, &sa, NULL); } #define FAIL() \