From 59d2cbb1fe4b8601d5cbd359c3806973eab6c62d Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Thu, 23 Nov 2017 10:00:40 +0100 Subject: Linux: Add memfd_create system call wrapper The system call is somewhat obscure because it is closely related to file descriptor sealing. However, it is also the recommended way to create alias mappings, which is why it has more general use. No emulation is provided. Except for the name of the /proc/self/fd links, it would be possible to implement an approximation using O_TMPFILE and tmpfs, but this does not appear to be worth the added complexity. Reviewed-by: Adhemerval Zanella Reviewed-by: Christian Brauner --- sysdeps/unix/sysv/linux/sh/libc.abilist | 1 + 1 file changed, 1 insertion(+) (limited to 'sysdeps/unix/sysv/linux/sh/libc.abilist') diff --git a/sysdeps/unix/sysv/linux/sh/libc.abilist b/sysdeps/unix/sysv/linux/sh/libc.abilist index 0f840e6e88..bc1aae275e 100644 --- a/sysdeps/unix/sysv/linux/sh/libc.abilist +++ b/sysdeps/unix/sysv/linux/sh/libc.abilist @@ -1875,6 +1875,7 @@ GLIBC_2.26 reallocarray F GLIBC_2.27 GLIBC_2.27 A GLIBC_2.27 glob F GLIBC_2.27 glob64 F +GLIBC_2.27 memfd_create F GLIBC_2.3 GLIBC_2.3 A GLIBC_2.3 __ctype_b_loc F GLIBC_2.3 __ctype_tolower_loc F -- cgit 1.4.1