CVSROOT: /cvs Module name: src Changes by: [email protected] 2014/10/19 16:17:52
Modified files:
sys/kern : Tag: OPENBSD_5_4 kern_exec.c
Log message:
Backport r1.147 by kettenis:
Don't assume that ep_taddr and ep_daddr are page-aligned. It is possible to
construct ELF executables for which ep_daddr ends up not being properly
aligned. Sanitize the addresses before setting up the address space for the
new executable. Should fix the panic discovered by Alejandro Hernandez.
