aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2018-08-10 19:23:20 +0000
committerMark Johnston <markj@FreeBSD.org>2018-08-10 19:23:20 +0000
commit0b56e7a8e90a11ba6f7d32d759699b6a4ad1503f (patch)
tree957f783f9fffe6eb2df7cfaaf586c7efc112da00 /cddl/contrib
parentf053ca1f0846852a472ac418218e6cdcc70d4ec2 (diff)
downloadsrc-0b56e7a8e90a11ba6f7d32d759699b6a4ad1503f.tar.gz
src-0b56e7a8e90a11ba6f7d32d759699b6a4ad1503f.zip
Disable the D subroutines msgsize() and msgdsize().
They are specific to illumos and the corresponding DIF subroutines are already disabled on FreeBSD. Reported by: gnn
Notes
Notes: svn path=/head/; revision=337584
Diffstat (limited to 'cddl/contrib')
-rw-r--r--cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c
index 3bf6196ad034..492fb937cba2 100644
--- a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c
+++ b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c
@@ -343,13 +343,13 @@ static const dt_ident_t _dtrace_globals[] = {
&dt_idops_func, "void(@)" },
{ "mod", DT_IDENT_ACTFUNC, 0, DT_ACT_MOD, DT_ATTR_STABCMN,
DT_VERS_1_2, &dt_idops_func, "_symaddr(uintptr_t)" },
+#ifdef illumos
{ "msgdsize", DT_IDENT_FUNC, 0, DIF_SUBR_MSGDSIZE,
DT_ATTR_STABCMN, DT_VERS_1_0,
&dt_idops_func, "size_t(mblk_t *)" },
{ "msgsize", DT_IDENT_FUNC, 0, DIF_SUBR_MSGSIZE,
DT_ATTR_STABCMN, DT_VERS_1_0,
&dt_idops_func, "size_t(mblk_t *)" },
-#ifdef illumos
{ "mutex_owned", DT_IDENT_FUNC, 0, DIF_SUBR_MUTEX_OWNED,
DT_ATTR_EVOLCMN, DT_VERS_1_0,
&dt_idops_func, "int(genunix`kmutex_t *)" },