Konstantin Belousov 0659df6fad vm_map_protect: allow to set prot and max_prot in one go.
This prevents a situation where other thread modifies map entries
permissions between setting max_prot, then relocking, then setting prot,
confusing the operation outcome.  E.g. you can get an error that is not
possible if operation is performed atomic.

Also enable setting rwx for max_prot even if map does not allow to set
effective rwx protection.

Reviewed by:	brooks, markj (previous version)
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D28117
2021-01-13 01:35:22 +02:00
..
2020-02-26 16:22:28 +00:00
2021-01-02 19:57:58 -07:00
2020-10-05 15:54:19 +00:00
2020-11-19 02:50:48 +00:00
2020-12-04 18:56:44 +00:00
2021-01-10 04:41:19 +02:00
2020-11-05 15:08:56 +00:00
2020-11-09 00:34:23 +00:00
2020-05-09 15:56:02 +00:00
2020-08-13 20:48:14 +00:00
2019-02-20 09:38:19 +00:00
2020-12-01 16:06:31 +00:00
2020-01-12 23:52:16 +00:00
2021-01-02 19:57:58 -07:00
2020-10-22 09:28:11 +00:00
2020-08-27 05:11:15 +00:00
2021-01-11 19:53:01 -07:00
2021-01-08 13:15:56 +13:00