CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2016/07/13 21:11:52

Modified files:
        sys/uvm        : Tag: OPENBSD_5_9 uvm_mmap.c 

Log message:
backport 1.137:
Since mappings established using __MAP_NOFAULT will be converted into anonymous
memory if the file backing the mapping is truncated, we should check resource
limits.  This prevents callers from triggering a kernel panic and a potential
integer overflow in the amap code by forcing the allocation of too many slots.

Based on an analysis from Jesse Hertz and Tim Newsham.

ok deraadt@

Reply via email to