freebsd-dev/sys/cddl/contrib/opensolaris
Mark Johnston 792e2f09ee Remove the DTRACEHIOC_ADD ioctl.
This ioctl has been considered legacy by upstream since the DTrace code
was first imported, and is unused. The removal also allows some
simplification of dtrace_helper_slurp().

Also remove a bogus copyout in the DTRACEHIOC_ADDDOF handler. Due to a
bug, it would overwrite an in-memory copy of the DOF header rather than
the passed-in DOF helper. Moreover, DTRACEHIOC_ADDDOF already copies the
helper back out automatically since its argument has the IOC_OUT attribute.
2017-01-23 02:21:06 +00:00
..
common MFV r302662: 6447 handful of nvpair cleanups 2016-09-01 15:17:39 +00:00
uts Remove the DTRACEHIOC_ADD ioctl. 2017-01-23 02:21:06 +00:00
OPENSOLARIS.LICENSE