summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2013-03-28 02:39:17 +0000
committerguenther <guenther@openbsd.org>2013-03-28 02:39:17 +0000
commit6b850f3f96afa8a1772283d876bcb407afe639a7 (patch)
treec31755a785c465844de479cbeff51c613f9646ea /lib/libc
parentadd a comment that we are faking it until code to ask the server is written. (diff)
downloadwireguard-openbsd-6b850f3f96afa8a1772283d876bcb407afe639a7.tar.xz
wireguard-openbsd-6b850f3f96afa8a1772283d876bcb407afe639a7.zip
When updating fd_cdir or fd_rdir, put the new pointer in place
_before_ vrele()'ing the old one, so that you can't catch the process with a vnode with no references. Similarly, in checkdirs(), just count the needed releases and do them all at the end. (I think I saw this in FreeBSD.) Original problem encountered by landry@ (yay for backtrace) ok tedu@ deraadt@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions