memmap2-rs icon indicating copy to clipboard operation
memmap2-rs copied to clipboard

MAP_STACK is a no-op on linux

Open lolbinarycat opened this issue 8 months ago • 3 comments

https://www.man7.org/linux/man-pages/man2/mmap.2.html

on linux, memmap2 should use MAP_GROWSDOWN, or possibly MAP_GROWSDOWN | MAP_STACK, for future proofing (glibc uses MAP_STACK despite it doing nothing).

lolbinarycat avatar May 27 '24 05:05 lolbinarycat