1 #include "tests.h" 2 #include <signal.h> 3 4 int main(void)5 main(void) 6 { 7 stack_t ss = { 8 .ss_sp = (void *) 0xbaadf00d, 9 .ss_flags = SS_DISABLE, 10 .ss_size = 0xdeadbeef 11 }; 12 if (sigaltstack(&ss, (stack_t *) 0)) 13 perror_msg_and_skip("sigaltstack"); 14 return 0; 15 } 16