Issue #2854 has been updated by shamaz.

File pie_sysctl.patch added

If you wish to save the old behaviour, you can look at this new patch I am 
sending. It adds a new sysctl kern.elf64.pie_base_mmap (you may want to change 
both name and description, I cannot think out any better). If it is set to 1, 
vm_map_hint() is used, ET_DYN_LOAD_ADDR otherwise.

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

* 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)
pie_sysctl.patch (4.05 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