I forgot to copy the msyscall interlock flag to forked processes, so
authorderaadt <deraadt@openbsd.org>
Sat, 11 Feb 2023 21:11:37 +0000 (21:11 +0000)
committerderaadt <deraadt@openbsd.org>
Sat, 11 Feb 2023 21:11:37 +0000 (21:11 +0000)
commit6d452f5a5795b40c3088871f87b71df686d51007
treebcf48fa2e1fb9c4272bd5ff51333b37efb2633ce
parent18fb84ad615f663fc1ba9bdf7fd1fb2a7eaf511f
I forgot to copy the msyscall interlock flag to forked processes, so
only freshly executed processes were actually locked.  (This happened
because I didn't realize how the uvm_map's contents are copied entry
by entry, and other parts are not)
ok kettenis
sys/uvm/uvm_map.c