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

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Mon Nov 30 08:33:07 PST 2015


Issue #2854 has been updated by marino.


wouldn't you have to remove the comment "
* Honour the base load address from the dso if it is
* non-zero for some reason."

as well?

can you explain why ET_DYN_LOAD_ADDR existed before and why "1" is the correct value for 
 et_dyn_add  ?

----------------------------------------
Submit #2854: Support for place independent executables
http://bugs.dragonflybsd.org/issues/2854#change-12749

* 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.

---Files--------------------------------
pie.patch (1.98 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