Skip to content

Linker should not use MAP_FIXED

While refactoring the linker in the context of !7449 (merged) I noticed that in mmapForLinker on FreeBSD and DragonflyBSD we use MAP_FIXED. This is extremely dangerous as this may overwrite whatever mappings may already occupy the requested address space. DragonflyBSD now offers MAP_TRYFIXED to fill out use-case.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information