diff options
author | Joseph Myers <joseph@codesourcery.com> | 2020-06-23 14:42:45 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2020-06-23 14:42:45 +0000 |
commit | 8ec13b46395a7075d3f01e9d0a65b4bee0adbfca (patch) | |
tree | 8ed659db5b4f787eb0f6ddfa0a5af201fcd85ccd | |
parent | ecbbadbf107ea1155ae5b71a8b7bd48f38c76731 (diff) | |
download | glibc-8ec13b46395a7075d3f01e9d0a65b4bee0adbfca.zip glibc-8ec13b46395a7075d3f01e9d0a65b4bee0adbfca.tar.gz glibc-8ec13b46395a7075d3f01e9d0a65b4bee0adbfca.tar.bz2 |
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.
-rw-r--r-- | sysdeps/unix/sysv/linux/bits/mman-shared.h | 1 |
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 d016086..64f1d65 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 |