kib 65f611547e Convert assertion that only vmspace owner grows the stack, into a
check blocking grow from other processes accesses.

Debugger may access stack grow area with ptrace(2).  In this case,
real state of the process is to not have the stack grown, which
provides more accurate inspection.  Technical reason to avoid the grow
is to avoid applying wrong process (debugger) stack limit.

This change also has a consequence of making aio workers accesses past
the bottom of stacks into EFAULT, arguably the situation is a
programmers mistake.

Reported by:	jhb
Discussed with:	alc, jhb
Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
2017-07-18 20:26:41 +00:00
..
2017-05-23 09:29:05 +00:00
2017-07-18 06:15:05 +00:00
2017-07-09 13:53:32 +00:00
2017-07-18 06:15:05 +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-05 02:20:03 +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-16 07:12:04 +00:00