freebsd-dev/cddl
Mark Johnston 6e0f204c3f Modify DTRACEHIOC_ADDDOF to copy the DOF section from the target process.
r281257 added support for lazyload mode by allowing dtrace(1) to register
a DOF section on behalf of a traced process. This was implemented by
having libdtrace copy the DOF section into a heap-allocated buffer and
passing its address to the ioctl handler. However, DTrace uses the DOF
section address as a lookup key in certain cases, so the ioctl handler
should be given the target process' DOF section address instead. This
change modifies the ADDDOF handler to copy the DOF section in from the
target process, rather than from dtrace(1).
2015-12-07 21:44:05 +00:00
..
compat/opensolaris Use calloc() instead of malloc() + bzero(). This also gets rid of a warning 2014-12-08 06:10:47 +00:00
contrib Modify DTRACEHIOC_ADDDOF to copy the DOF section from the target process. 2015-12-07 21:44:05 +00:00
lib Fix LDADD/DPADD that should be LIBADD. 2015-12-04 03:17:47 +00:00
sbin Fix LDADD/DPADD that should be LIBADD. 2015-12-04 03:17:47 +00:00
tests Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) and 2015-10-12 08:16:03 +00:00
usr.bin Fix LDADD/DPADD that should be LIBADD. 2015-12-04 03:17:47 +00:00
usr.sbin Fix LDADD/DPADD that should be LIBADD. 2015-12-04 03:17:47 +00:00
Makefile Add more SUBDIR_PARALLEL. 2015-10-15 22:55:08 +00:00
Makefile.inc Make DTrace stuff compile with C99 standard. 2014-08-22 20:04:51 +00:00