diff options
author | Vlad Yaroslavlev <vladon@vladon.com> | 2022-02-10 16:46:25 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:25 +0300 |
commit | 344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /contrib/libs/libc_compat | |
parent | 706b83ed7de5a473436620367af31fc0ceecde07 (diff) | |
download | ydb-344ea37b4a345701ab0e67de2266a1c1bd7baf2d.tar.gz |
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/libc_compat')
-rw-r--r-- | contrib/libs/libc_compat/memfd_create.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/contrib/libs/libc_compat/memfd_create.c b/contrib/libs/libc_compat/memfd_create.c index a33a52209a..6805d807d6 100644 --- a/contrib/libs/libc_compat/memfd_create.c +++ b/contrib/libs/libc_compat/memfd_create.c @@ -1,9 +1,9 @@ -#define _GNU_SOURCE 1 -#include <sys/mman.h> -#include "syscall.h" +#define _GNU_SOURCE 1 +#include <sys/mman.h> +#include "syscall.h" #include <linux/unistd.h> - -int memfd_create(const char *name, unsigned flags) -{ + +int memfd_create(const char *name, unsigned flags) +{ return syscall(__NR_memfd_create, name, flags); -} +} |