freebsd-dev/cddl
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
..
compat/opensolaris Delete obsolete Solaris compat header file stdlib.h 2023-02-24 02:00:09 +08:00
contrib/opensolaris dtrace: prevent forked child from running after an error condition 2023-07-12 10:33:28 -05:00
lib dtrace: improve siftr probe 2023-07-02 03:08:51 +02:00
sbin Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
share pkgbase: Put zfs utilities and lib in their own package 2022-10-26 19:46:30 +02:00
tests
usr.bin Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
usr.libexec cddl/*: add a WITH(OUT)_DTRACE option 2022-07-06 14:03:48 +01:00
usr.sbin zfsd: listen for sysevent.fs.zfs instead of misc.fs.zfs 2023-07-10 16:36:57 -06:00
Makefile zfs: attach zpool_influxdb to build 2021-07-07 20:15:12 +02:00
Makefile.inc