From: Joseph Myers Date: Tue, 23 Jun 2020 14:42:45 +0000 (+0000) Subject: Add MREMAP_DONTUNMAP from Linux 5.7 X-Git-Tag: glibc-2.32~186 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=8ec13b46395a7075d3f01e9d0a65b4bee0adbfca;p=glibc.git 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. --- 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