libc: Implement memfd on top of tmpfs

https://man7.org/linux/man-pages/man2/memfd_create.2.html

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2022-08-08 00:17:41 +08:00
committed by Petro Karashchenko
parent 08b8234e9e
commit fa2e1897ea
5 changed files with 141 additions and 1 deletions
+1 -1
View File
@@ -22,7 +22,7 @@
CSRCS += lib_mknod.c lib_umask.c lib_utsname.c lib_getrandom.c
CSRCS += lib_xorshift128.c lib_tea_encrypt.c lib_tea_decrypt.c
CSRCS += lib_cxx_initialize.c lib_impure.c
CSRCS += lib_cxx_initialize.c lib_impure.c lib_memfd.c
# Support for platforms that do not have long long types