freebsd-src/cddl
Andrew Gallatin da81cc6035 dtrace: conditionally load the systrace_linux klds when loading dtrace.
When dtrace starts, it tries to detect if the dtrace klds are loaded,
and if not, it loads them by loading the dtraceall kld. This module
depends on most dtrace modules, including systrace for the native
freebsd and freebsd32 ABIs. However, it does not depend on the
systrace_linux klds, as they in turn depend on the linux ABI klds, and
we don't want to load an ABI module that the user has not explicitly
requested. This can leave a naive user in a state where they think all
syscall providers have been loaded, yet linux ABI syscalls are
"invisible" to dtrace.

To fix this, check to see if the linux ABI modules are loaded. If they
are, then load their systrace klds.

Reviewed by: markj, (emaste & jhb, earlier versions)
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D37986
2023-01-23 20:36:24 -05:00
..
compat/opensolaris
contrib/opensolaris dtrace: conditionally load the systrace_linux klds when loading dtrace. 2023-01-23 20:36:24 -05:00
lib tcp: embed inpcb into tcpcb 2022-12-07 09:00:48 -08:00
sbin pkgbase: Put zfs utilities and lib in their own package 2022-10-26 19:46:30 +02:00
share pkgbase: Put zfs utilities and lib in their own package 2022-10-26 19:46:30 +02:00
tests
usr.bin zfs: merge openzfs/zfs@2163cde45 2022-11-16 21:27:42 +01:00
usr.libexec cddl/*: add a WITH(OUT)_DTRACE option 2022-07-06 14:03:48 +01:00
usr.sbin dwatch: install hard links with same mode as target 2022-11-23 15:10:33 -05:00
Makefile
Makefile.inc