Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
strace
/
27bff90e867cf0f9c162fb265f0e9a5ce3c0f39f
/
.
/
tests
/
sigaltstack.c
blob: 884e3c55fadef10b54fcadf610398ccd48f44b86 [
file
] [
log
] [
blame
]
#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
;
}