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)

-Matt

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

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

Reply via email to