git: kernel: Exchange MAP_ANON and MAP_ANONYMOUS

Markus Pfeiffer profmakx at
Sun Jan 18 09:16:49 PST 2015

commit 53de00bb8470321f36c2cb35e99de0f1efdfd7d7
Author: Markus Pfeiffer <markus.pfeiffer at>
Date:   Sun Jan 18 17:06:58 2015 +0000

    kernel: Exchange MAP_ANON and MAP_ANONYMOUS
    * In commit a2ed5072 I defined MAP_ANONYMOUS to take the role of
      MAP_ANON, and defined MAP_ANON as an alias. This lead to compatibility
      problems with programs that #define MAP_ANONYMOUS MAP_ANON, so
      #define MAP_ANON as before and let MAP_ANONYMOUS be the alias.
    Reported-By: John Marino <draco at>

Summary of changes:
 sys/sys/mman.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list