cvs commit: src/sys/kern kern_ktrace.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Thu Jul 28 11:11:06 PDT 2005
dillon 2005/07/28 11:10:23 PDT
DragonFly src repository
Modified files:
sys/kern kern_ktrace.c
Log:
If multiple processes are being traced and some other process has a write
error, the vnode ref that we rely on from p_tracep can get ripped out from
under us, causing a panic. vref() a the ktrace vnode for the duration of
the write rather then relying on the ref from p_tracep.
Revision Changes Path
1.19 +8 -0 src/sys/kern/kern_ktrace.c
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_ktrace.c.diff?r1=1.18&r2=1.19&f=u
More information about the Commits
mailing list