[DragonFlyBSD - Submit #2854] Support for place independent executables

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Wed Dec 9 10:51:47 PST 2015

Issue #2854 has been updated by dillon.

I'd rather make changes like this slowly.  Its enough for now to change it to support the randomization, but I don't want to change the defaults at the same time.  The dynamic load address is basically in low (virtual) memory, whereas the hint I think is going to put it somewhere above the 32GB mark in VM.  I'd rather not make that change (and, in fact, I don't really like the idea of putting the executable that high anyway)


Submit #2854: Support for place independent executables

* Author: shamaz
* Status: New
* Priority: Normal
* Assignee: 
* Category: Kernel
* Target version: 
Hello. If you launch a PIE, the loader will map it in memory to a fixed
position (ET_DYN_LOAD_ADDR). This patch changes this behaviour and makes
the loader respect vm.randomize_map sysctl.

pie.patch (1.98 KB)
pie2.patch (2.18 KB)
pie3.patch (2.11 KB)

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account

More information about the Submit mailing list