Source-Changes archive

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

CVS commit: basesrc



Module Name:    basesrc
Committed By:   itohy
Date:           Thu Apr 13 01:27:54 UTC 2000

Modified Files:
        basesrc/usr.bin/ktrace: ktrace.c

Log Message:
[ktruss] Use fork(2), not vfork(2).
The child process of do_ktrace() does return and the stack is
changed by another function call (execvp()).
By using vfork() (my previous change), the execution of the parent
process resumes on the modified stack.  Oops.
We could use vfork() carefully, but for now use fork().

Problem reported and investigated by Ethan Solomita 
<ethan%geocast.com@localhost>.
Thanks.


To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 basesrc/usr.bin/ktrace/ktrace.c

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