summaryrefslogtreecommitdiffstats
path: root/UPDATING
diff options
context:
space:
mode:
authormarkj <markj@FreeBSD.org>2015-12-07 21:44:05 +0000
committermarkj <markj@FreeBSD.org>2015-12-07 21:44:05 +0000
commit6744527ba7a66fb8f409c8aea6c9c6ac3b8b84c6 (patch)
tree8f09ddeaee99dc12f093b0d7b20524da12d14535 /UPDATING
parentf734f97f4eae5074772d9168c3337517648369ad (diff)
downloadFreeBSD-src-6744527ba7a66fb8f409c8aea6c9c6ac3b8b84c6.zip
FreeBSD-src-6744527ba7a66fb8f409c8aea6c9c6ac3b8b84c6.tar.gz
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).
Diffstat (limited to 'UPDATING')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud