CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2016/09/03 12:43:34
Modified files:
sys/uvm : uvm_map.c
Log message:
Only use uaddr_exe for address selection when PROT_EXEC is requested
Checking whether a memory range could be mprotect()'ed to PROT_EXEC
attempts to put every mapping into the uaddr_exe range, if it exists.
This would fill up the exe range on i386 quickly, once uaddr_exe gets
used. So only use uaddr_exe if we know PROT_EXEC is needed for sure
No change in current behavior, since uaddr_exe will only be used
with uvm pivots.
ok tedu@