Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
strace
/
0c8853c3c39fe11f1a80456e744d7db861c39df2
/
.
/
tests
/
memfd_create.c
blob: 98c306412c75c36f745ac1efef2bd648bd2cc9d6 [
file
] [
log
] [
blame
]
#include
"tests.h"
#include
<unistd.h>
#include
<sys/syscall.h>
#ifdef
__NR_memfd_create
int
main
(
void
)
{
syscall
(
__NR_memfd_create
,
"strace"
,
7
);
return
0
;
}
#else
int
main
(
void
)
{
return
77
;
}
#endif