DragonFly commits List (threaded) for 2005-07
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/kern kern_ktrace.c
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]