freebsd-dev/cddl/contrib/opensolaris
Eric van Gyzen dad11f990e dtrace: prevent forked child from running after an error condition
The pid/killonerror test uses an invalid probe specifier to verify that
the child process is killed.  It occasionally fails because the "date"
command is allowed to run long enough to print the date.  This is harmless
in this case, but is clearly not ideal.

When the dt_proc_control thread is about to exit, and the dtrace command
forked the child, do not make the child runnable.

Reviewed by:	markj
MFC after:	1 week
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D40976
2023-07-12 10:33:28 -05:00
..
cmd dtrace: move kinst tests to common 2023-07-04 18:46:59 +03:00
common libctf: Fix recursive descent into anonymous SOU fields 2022-04-12 17:29:53 -04:00
head
lib dtrace: prevent forked child from running after an error condition 2023-07-12 10:33:28 -05:00
tools/ctf ctfconvert: Integer encoding types are unsigned 2023-06-28 16:29:49 -04:00
OPENSOLARIS.LICENSE