diff options
author | Mark Johnston <markj@FreeBSD.org> | 2013-10-21 04:15:55 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2013-10-21 04:15:55 +0000 |
commit | 7e75d5861000a9177c0d5d12d6a1951233d4d50b (patch) | |
tree | 8c454f9ea7a04ad0401dd2bffabc2805e80d110a /sbin/ifconfig/ifconfig.8 | |
parent | 72c775da6ce3911d7f7bf2b59ea47ca022f92f94 (diff) | |
download | src-7e75d5861000a9177c0d5d12d6a1951233d4d50b.tar.gz src-7e75d5861000a9177c0d5d12d6a1951233d4d50b.zip |
When fetching function arguments out of a frame on amd64, explicitly select
the register based on the argument index rather than relying on the fields
in struct reg to be in the right order. This assumption is incorrect on
FreeBSD and generally led to bogus argument values for the sixth argument
of PID and USDT probes; the first five are passed directly to dtrace_probe()
via the fasttrap trap handler and so were correctly handled.
MFC after: 2 weeks
Notes
Notes:
svn path=/head/; revision=256822
Diffstat (limited to 'sbin/ifconfig/ifconfig.8')
0 files changed, 0 insertions, 0 deletions