aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-11-23 10:00:40 +0100
committerFlorian Weimer <fweimer@redhat.com>2017-11-23 10:00:40 +0100
commit59d2cbb1fe4b8601d5cbd359c3806973eab6c62d (patch)
treeb0dc954009b8a65f9091d88e471db3476da7b2ad /ChangeLog
parent0a9d1d62b36cc46bf893ce404013a7b2d0bcfce8 (diff)
downloadglibc-59d2cbb1fe4b8601d5cbd359c3806973eab6c62d.tar
glibc-59d2cbb1fe4b8601d5cbd359c3806973eab6c62d.tar.gz
glibc-59d2cbb1fe4b8601d5cbd359c3806973eab6c62d.tar.bz2
glibc-59d2cbb1fe4b8601d5cbd359c3806973eab6c62d.zip
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 <adhemerval.zanella@linaro.org> Reviewed-by: Christian Brauner <christian.brauner@ubuntu.com>
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog14
1 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a84f970761..04fac09f2d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2017-11-23 Florian Weimer <fweimer@redhat.com>
+
+ Linux: Add memfd_create system call wrapper
+ * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
+ tst-memfd_create.
+ * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
+ (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
+ [__USE_GNU] (memfd_create): Declare.
+ * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
+ * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
+ * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
+ * sysdeps/unix/sysv/linux/**.abilist: Update.
+ * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
+
2017-11-22 Joseph Myers <joseph@codesourcery.com>
* localedata/gen-locale.sh: Fix typo in variable name.