Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   christos
Date:           Wed Jun 23 23:05:48 UTC 2004

Modified Files:
        src/sys/kern: kern_ktrace.c
        src/sys/sys: ktrace.h

Log Message:
Fix a panic induced by forcing ktrace to inject an emul record on
a ktraced file descriptor that has already been invalidated. Change
all ktrace functions to propagate the error from ktrwrite() and
check for it. Thanks to Pavel Cahyna for finding this and giving
a perfect bug report.

[should be pulled up for 2.0]


To generate a diff of this commit:
cvs rdiff -r1.89 -r1.90 src/sys/kern/kern_ktrace.c
cvs rdiff -r1.38 -r1.39 src/sys/sys/ktrace.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index