freebsd-dev/sys/cddl/dev/dtrace/dtrace_hacks.c
Mark Johnston 8241ee3b2c Fix DTrace's panic() action.
It would previously call into some unfinished Solaris compatibility code and
return without actually calling panic(9). The compatibility code is
unneeded, however, so just remove it and have dtrace_panic() call vpanic(9)
directly.

Differential Revision:	https://reviews.freebsd.org/D2349
Reviewed by:	avg
MFC after:	2 weeks
Sponsored by:	EMC / Isilon Storage Division
2015-04-24 03:19:30 +00:00

11 lines
155 B
C

/* $FreeBSD$ */
/* XXX Hacks.... */
dtrace_cacheid_t dtrace_predcache_id;
boolean_t
priv_policy_only(const cred_t *a, int b, boolean_t c)
{
return 0;
}