freebsd-dev/sys/cddl
Mark Johnston ca1ef36cf4 Avoid truncating the return value of DTrace predicates.
Predicates are DIF objects whose return value is compared with zero to
determine whether the corresponding probe body is to be executed. The return
value itself is the contents of a 64-bit DIF register, but it was being
truncated to an int before the comparison. This meant that a predicate such
as /0x100000000/ would evaluate to false.

Reported by:	rwatson
MFC after:	3 days
2016-07-09 22:41:21 +00:00
..
boot/zfs Use netinet/in.h to avoid include/arpa dependency for DIRDEPS_BUILD. 2016-05-26 23:20:17 +00:00
compat/opensolaris Replace a number of conflations of mp_ncpus and mp_maxid with either 2016-07-06 14:09:49 +00:00
contrib/opensolaris Avoid truncating the return value of DTrace predicates. 2016-07-09 22:41:21 +00:00
dev Set oldfp so the check for fp == oldfp works as expected. 2016-05-31 11:32:09 +00:00