Re: [PATCH] man/man2/mmap.2: Document that MAP_GROWSDOWN doesn't affect mmap return value.
From: Ben Kallus <hidden>
Date: 2026-03-17 20:51:38
From: Ben Kallus <hidden>
Date: 2026-03-17 20:51:38
And if it was correct but the kernel has changed behavior, it would be interesting to document when that happened (if we know).
I just tested this on Linux 2.6.26, and the MAP_GROWSDOWN flag worked the same way then as it does now. My guess is that the behavior described in the man page was never correct; it would have been a large breaking change fom the kernel to modify the behavior of one of the mmap flags. I'll resubmit the patch with the updated commit message.