1570af302Sopenharmony_ci#define _GNU_SOURCE 1 2570af302Sopenharmony_ci#include <sys/mman.h> 3570af302Sopenharmony_ci#include "syscall.h" 4570af302Sopenharmony_ci 5570af302Sopenharmony_ciint memfd_create(const char *name, unsigned flags) 6570af302Sopenharmony_ci{ 7570af302Sopenharmony_ci return syscall(SYS_memfd_create, name, flags); 8570af302Sopenharmony_ci} 9