1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
TP-Link_Archer-XR500v/BBA1.5_platform/apps/public/strace-4.16/tests-m32/sigaltstack.c
2024-07-22 01:58:46 -03:00

16 lines
248 B
C

#include "tests.h"
#include <signal.h>
int
main(void)
{
stack_t ss = {
.ss_sp = (void *) 0xbaadf00d,
.ss_flags = SS_DISABLE,
.ss_size = 0xdeadbeef
};
if (sigaltstack(&ss, (stack_t *) 0))
perror_msg_and_skip("sigaltstack");
return 0;
}