summaryrefslogtreecommitdiffstats
path: root/sys/kern/exec_elf.c
diff options
context:
space:
mode:
authorkurt <kurt@openbsd.org>2008-07-18 16:40:17 +0000
committerkurt <kurt@openbsd.org>2008-07-18 16:40:17 +0000
commitc62276a4f36e19bbf603756107d0f12ed6ad2909 (patch)
tree9f78044e59443060c1dfa39a4deee3f48bfe1215 /sys/kern/exec_elf.c
parentAdd OmniVision OV7670 cam to the supported devices which comes in the (diff)
downloadwireguard-openbsd-c62276a4f36e19bbf603756107d0f12ed6ad2909.tar.xz
wireguard-openbsd-c62276a4f36e19bbf603756107d0f12ed6ad2909.zip
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 weingart@. okay weingart@, miod@, kettenis@, drahn@
Diffstat (limited to 'sys/kern/exec_elf.c')
0 files changed, 0 insertions, 0 deletions