freebsd-dev/cddl/contrib/opensolaris
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
..
cmd dtrace: Disable getf() as it is broken on FreeBSD 2021-12-17 13:10:22 -05:00
common libctf: Improve check for duplicate SOU definitions in ctf_add_type() 2021-10-04 12:28:22 -04:00
head
lib dtrace: fix an out of bound read and a NULL pointer increment 2021-06-17 13:52:32 -04:00
tools/ctf Merge OpenZFS support in to HEAD. 2020-08-25 02:21:27 +00:00
OPENSOLARIS.LICENSE