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

Modified files:
        sys/uvm        : uvm_mmap.c 

Log message:
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