alc 0b28a56ef7 Clear the MAP_WIREFUTURE flag on the vm map in exec_new_vmspace() when it
recycles the current vm space.  Otherwise, an mlockall(MCL_FUTURE) could
still be in effect on the process after an execve(2), which violates the
specification for mlockall(2).

It's pointless for vm_map_stack() to check the MEMLOCK limit.  It will
never be asked to wire the stack.  Moreover, it doesn't even implement
wiring of the stack.

Reviewed by:	kib, markj
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D11421
2017-06-30 15:49:36 +00:00
..
2017-06-17 00:58:19 +00:00
2017-05-23 09:29:05 +00:00
2016-11-08 23:59:41 +00:00
2017-05-18 18:24:11 +00:00
2017-02-12 09:49:44 +00:00
2017-01-25 20:22:32 +00:00
2017-05-23 16:59:24 +00:00
2017-02-14 13:54:05 +00:00
2017-03-14 22:02:02 +00:00
2017-03-19 00:51:12 +00:00
2016-11-08 23:59:41 +00:00
2017-02-07 16:01:07 +00:00
2017-06-13 19:02:12 +00:00
2017-05-16 23:31:52 +00:00
2017-01-14 04:16:13 +00:00
2017-06-17 00:58:19 +00:00
2017-06-17 00:58:19 +00:00
2017-05-23 09:29:05 +00:00
2017-05-23 09:29:05 +00:00
2017-06-08 21:30:34 +00:00
2017-06-15 04:49:12 +00:00
2017-06-08 21:30:34 +00:00