git-MAP_NORESERVE
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)
committerAurelien Jarno <aurel32@debian.org>
Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)
commit d92a5e1dad39ab0ac09ab1beeb055c1f1d981cd4
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon Nov 25 00:54:26 2024 +0100

    hurd: Add MAP_NORESERVE mmap flag

    This is already the current default behavior, which we will change with
    overcommit support addition.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-MAP_NORESERVE.diff

sysdeps/mach/hurd/bits/mman_ext.h

index d5a371e39e4a66cbc837d52528a18124e5945aea..6baee1ea74f3e4fb4749f9c124d56faff05777fc 100644 (file)
@@ -24,6 +24,7 @@
 # define SHM_ANON      ((const char *) 1)
 
 # define MAP_32BIT     0x1000  /* Map in the lower 2 GB.  */
+# define MAP_NORESERVE 0x2000  /* Don't check for reservations.  */
 # define MAP_EXCL      0x4000  /* With MAP_FIXED, don't replace existing mappings.  */
 
 # define MAP_TRYFIXED          (MAP_FIXED | MAP_EXCL)  /* BSD name.  */