diff options
author | 2011-04-03 14:56:27 +0000 | |
---|---|---|
committer | 2011-04-03 14:56:27 +0000 | |
commit | c0ce47d96f277436fbde5279039dad42b016a9b2 (patch) | |
tree | ba57ac46912617f1c7dd53acb3befb855db19709 /sys/dev/pci/adv_pci.c | |
parent | No need to include uvm/uvm_extern.h and fix a typo. (diff) | |
download | wireguard-openbsd-c0ce47d96f277436fbde5279039dad42b016a9b2.tar.xz wireguard-openbsd-c0ce47d96f277436fbde5279039dad42b016a9b2.zip |
Move PPWAIT flag from struct proc to process, so that rthreads in
a vforked child behave correctly. Have the parent in a vfork()
wait on a (different) flag in *its* process instead of the child
to prevent a possible use-after-free. When ktracing the child
return from a fork, call it rfork if an rthread was created.
ok blambert@
Diffstat (limited to 'sys/dev/pci/adv_pci.c')
0 files changed, 0 insertions, 0 deletions