freebsd-nq/sys
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
..
amd64 Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
arm cgem: add 64-bit support 2021-01-10 16:51:52 -04:00
arm64 arm64: Add armv8crpyto and ossl to NOTES. 2021-01-11 14:28:46 -08:00
bsm Add aio_writev and aio_readv 2021-01-02 19:57:58 -07:00
cam cam: Remove Giant handling from cam_sim_alloc() 2021-01-03 11:50:31 -05:00
cddl Handle using a sub instruction in the arm64 fbt 2021-01-12 12:42:23 +00:00
compat Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
conf linuxkpi: add kernel_fpu_begin/kernel_fpu_end 2021-01-12 12:31:00 +01:00
contrib [skip ci] Delete an accidentally-committed comment 2021-01-11 17:01:22 -07:00
crypto armv8crypto: add AES-XTS support 2021-01-07 15:35:20 -04:00
ddb ddb: add ability to print user registers 2021-01-08 14:53:06 -04:00
dev if_wg: fix modules load on !x86 2021-01-12 18:07:10 -04:00
dts cgem: add 64-bit support 2021-01-10 16:51:52 -04:00
fs Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
gdb gdb(4): allow bulk write of registers 2020-12-23 14:37:05 -04:00
geom geom(4): make g_newprovider_event() return if G_P_WITHER is set 2020-12-29 14:29:59 +00:00
gnu ARM64: Port FreeBSD to Nvidia Jetson TX1 and Nano. 2020-12-28 14:12:41 +01:00
i386 vm_map_protect: allow to set prot and max_prot in one go. 2021-01-13 01:35:22 +02:00
isa
kern vm_map_protect: allow to set prot and max_prot in one go. 2021-01-13 01:35:22 +02:00
kgssapi State kgssapi dependency on xdr. 2020-09-17 22:29:38 +00:00
libkern libkern/strcasestr.c: Drop xlocale support and connect to build. 2021-01-08 02:18:42 +03:00
mips hid: Import functions and constants required by new subsystem 2021-01-08 02:18:42 +03:00
modules linuxkpi: add kernel_fpu_begin/kernel_fpu_end 2021-01-12 12:31:00 +01:00
net pf: quiet -Wredundant-decls for pf_get_ruleset_number 2021-01-10 21:53:15 -08:00
net80211 net80211: fix a typo 2020-11-04 12:07:33 +00:00
netgraph pccard: Remove bt3c(4) driver 2021-01-07 20:40:41 -07:00
netinet Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
netinet6 Use rn_match instead of doing indirect calls in fib_algo. 2021-01-11 23:30:35 +00:00
netipsec Trigger soft lifetime expiration on sequence number 2020-10-16 11:27:01 +00:00
netpfil pf: quiet debugging printfs 2021-01-11 22:30:44 +01:00
netsmb net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
nfs nfs: clean up empty lines in .c and .h files 2020-09-01 21:25:39 +00:00
nfsclient nfs: clean up empty lines in .c and .h files 2020-09-01 21:25:39 +00:00
nfsserver nfs: Mark unused statistics variable as reserved 2020-11-18 04:35:49 +00:00
nlm nlm: clean up empty lines in .c and .h files 2020-09-01 22:14:52 +00:00
ofed Update user access region, UAR, APIs in the core in mlx5core. 2021-01-08 13:33:46 +01:00
opencrypto Remove the cloned file descriptors for /dev/crypto. 2020-11-25 00:10:54 +00:00
powerpc hid: Import functions and constants required by new subsystem 2021-01-08 02:18:42 +03:00
riscv riscv pmap: add some pv list assertions 2021-01-12 11:12:02 -04:00
rpc nfs-over-tls: handle res.gid.gid_val correctly for memory allocation 2021-01-12 13:59:52 -08:00
security Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
sys vfs: add NDFREE_NOTHING and convert several NDFREE_PNBUF callers 2021-01-12 13:16:10 +00:00
teken loader: implement framebuffer console 2021-01-02 21:41:36 +02:00
tests Add fib lookup testing module. 2021-01-09 13:20:30 +00:00
tools sys/tools: Add a tool for generating arm and arm64 kernel images. 2020-12-30 13:22:04 +01:00
ufs Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
vm vm_map_protect: allow to set prot and max_prot in one go. 2021-01-13 01:35:22 +02:00
x86 x86 tsc: mark %eax as earlyclobber in tscp_get_timecount_low(). 2021-01-11 00:05:49 +02:00
xdr xdr: clean up empty lines in .c and .h files 2020-09-01 22:13:28 +00:00
xen xen: remove .swp file from public headers 2021-01-11 18:14:11 +01:00
Makefile