CVSROOT: /cvs Module name: src Changes by: [email protected] 2013/03/27 20:39:17
Modified files:
sys/kern : vfs_syscalls.c
Log message:
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@
