blob: 98c306412c75c36f745ac1efef2bd648bd2cc9d6 [file] [log] [blame]
Dmitry V. Levin0c8853c2016-01-02 13:28:43 +00001#include "tests.h"
Dmitry V. Levin95b84ea2015-07-28 23:03:41 +00002#include <unistd.h>
3#include <sys/syscall.h>
4
5#ifdef __NR_memfd_create
6
7int
8main(void)
9{
10 syscall(__NR_memfd_create, "strace", 7);
11 return 0;
12}
13
14#else
15
16int
17main(void)
18{
19 return 77;
20}
21
22#endif