Alan Cox 201f03b8e7 Modify vm_map_growstack() to protect itself from the possibility of the
gap entry in the vm map being smaller than the sysctl-derived stack guard
size.  Otherwise, the value of max_grow can suffer from overflow, and the
roundup(grow_amount, sgrowsiz) will not be properly capped, resulting in
an assertion failure.

In collaboration with:	kib
MFC after:	3 days
2017-07-01 23:39:49 +00:00
..
2017-07-01 05:35:29 +00:00
2017-05-23 09:29:05 +00:00
2017-07-01 05:35:29 +00:00
2017-06-30 22:01:18 +00:00
2017-02-28 23:42:47 +00:00
2017-07-01 05:35:29 +00:00
2017-07-01 05:35:29 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-05-23 09:29:05 +00:00
2017-07-01 05:35:29 +00:00
2017-06-08 21:30:34 +00:00
2017-05-09 05:08:47 +00:00
2017-07-01 05:35:29 +00:00