CVSROOT:        /cvs
Module name:    src
Changes by:     schwa...@cvs.openbsd.org        2016/06/02 11:05:58

Modified files:
        sys/uvm        : uvm_mmap.c 

Log message:
Prevent vsize_t underflow when checking RLIMIT_DATA, which made the
check ineffective when you already had more memory than your limit
allowed.

I noticed after writing this diff that millert@ already committed a fix
for this in rev. 1.74 (2009/06/01), but it got backed out with the giant
pmemrange backout two weeks later and was never restored.

OK tedu@ ("just fix it" and "go ahead with your version")
stefan@ also agrees that a check is needed.

Reply via email to