CVSROOT:        /cvs
Module name:    src
Changes by:     [EMAIL PROTECTED]       2008/07/18 10:40:17

Modified files:
        sys/arch/amd64/include: vmparam.h 
        sys/arch/i386/include: vmparam.h 
        sys/arch/macppc/include: vmparam.h 
        sys/arch/sparc64/include: vmparam.h 
        sys/uvm        : uvm_map.c uvm_map.h 

Log message:
Add new uvm function called uvm_map_pie() which takes align as a
parameter and returns an aligned random load address for position
independent executables to use. This also adds three new vmparam.h
defines to specify the maximum address, minimum address and minimum
allowed alignment for uvm_map_pie() to use. The PIE address range
for i386 was carefully selected to work well within the i386 W^X
framework.

With much help and feedback from [EMAIL PROTECTED]
okay weingart@, miod@, kettenis@, drahn@

Reply via email to