public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] Add MREMAP_DONTUNMAP from Linux 5.7
@ 2020-06-23 14:43 Joseph Myers
0 siblings, 0 replies; only message in thread
From: Joseph Myers @ 2020-06-23 14:43 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8ec13b46395a7075d3f01e9d0a65b4bee0adbfca
commit 8ec13b46395a7075d3f01e9d0a65b4bee0adbfca
Author: Joseph Myers <joseph@codesourcery.com>
Date: Tue Jun 23 14:42:45 2020 +0000
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:
---
sysdeps/unix/sysv/linux/bits/mman-shared.h | 1 +
1 file changed, 1 insertion(+)
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-06-23 14:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-23 14:43 [glibc] Add MREMAP_DONTUNMAP from Linux 5.7 Joseph Myers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).