aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/bits
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2020-06-23 14:42:45 +0000
committerJoseph Myers <joseph@codesourcery.com>2020-06-23 14:42:45 +0000
commit8ec13b46395a7075d3f01e9d0a65b4bee0adbfca (patch)
tree8ed659db5b4f787eb0f6ddfa0a5af201fcd85ccd /sysdeps/unix/sysv/linux/bits
parentecbbadbf107ea1155ae5b71a8b7bd48f38c76731 (diff)
downloadglibc-8ec13b46395a7075d3f01e9d0a65b4bee0adbfca.tar
glibc-8ec13b46395a7075d3f01e9d0a65b4bee0adbfca.tar.gz
glibc-8ec13b46395a7075d3f01e9d0a65b4bee0adbfca.tar.bz2
glibc-8ec13b46395a7075d3f01e9d0a65b4bee0adbfca.zip
Add MREMAP_DONTUNMAP from Linux 5.7
Add the new constant MREMAP_DONTUNMAP from Linux 5.7 to bits/mman-shared.h. Tested with build-many-glibcs.py.
Diffstat (limited to 'sysdeps/unix/sysv/linux/bits')
-rw-r--r--sysdeps/unix/sysv/linux/bits/mman-shared.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/mman-shared.h b/sysdeps/unix/sysv/linux/bits/mman-shared.h
index d016086c7e..64f1d65117 100644
--- a/sysdeps/unix/sysv/linux/bits/mman-shared.h
+++ b/sysdeps/unix/sysv/linux/bits/mman-shared.h
@@ -24,6 +24,7 @@
/* Flags for mremap. */
# define MREMAP_MAYMOVE 1
# define MREMAP_FIXED 2
+# define MREMAP_DONTUNMAP 4
/* Flags for memfd_create. */
# ifndef MFD_CLOEXEC