freebsd-dev/cddl
Domagoj Stolfa 30ec3138ed dtrace: Disable getf() as it is broken on FreeBSD
getf() on FreeBSD calls _sx_slock(), _sx_sunlock() and fget_locked().
Furthermore, it does not set the per-core fault flag, meaning it
usually ends up in a double fault panic once getf() does get called,
especially from fbt.

Reviewing the DTrace Toolkit + a number of other scripts scattered
around FreeBSD, I have not been able to find one use of getf(). Given
how broken the implementation currently is, we disable it until it
can be implemented properly.

Also comment out a test in aggs/tst.subr.d for getf().

Reviewed by:	markj
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D33378
2021-12-17 13:10:22 -05:00
..
compat/opensolaris Delete obsolete Solaris compat files 2021-05-24 08:48:47 -06:00
contrib/opensolaris dtrace: Disable getf() as it is broken on FreeBSD 2021-12-17 13:10:22 -05:00
lib cddl: fix missing ZFS library dependencies 2021-11-15 09:42:07 -05:00
sbin zfs: merge openzfs/zfs@afa7b3484 (master) into main 2021-06-13 04:38:47 +02:00
share zfs: merge openzfs/zfs@75b4cbf62 (master) into main 2021-06-08 16:52:44 +02:00
tests
usr.bin zfs: change zstream -> zstreamdump link into a symlink 2021-06-13 05:40:18 +02:00
usr.libexec zfs: attach zpool_influxdb to build 2021-07-07 20:15:12 +02:00
usr.sbin cddl: fix missing ZFS library dependencies 2021-11-15 09:42:07 -05:00
Makefile zfs: attach zpool_influxdb to build 2021-07-07 20:15:12 +02:00
Makefile.inc Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00