diff options
author | markj <markj@FreeBSD.org> | 2014-06-23 02:00:14 +0000 |
---|---|---|
committer | markj <markj@FreeBSD.org> | 2014-06-23 02:00:14 +0000 |
commit | f4fc0f344494005046953951113833a269f39583 (patch) | |
tree | adb22f82df21c9840370fef252aeca6c0b73c3f7 /lib/libc/stdlib/realpath.c | |
parent | dc769e3b99fb91d7c0744365e48470b2e288aa23 (diff) | |
download | FreeBSD-src-f4fc0f344494005046953951113833a269f39583.zip FreeBSD-src-f4fc0f344494005046953951113833a269f39583.tar.gz |
Fix some bugs when fetching probe arguments in i386. Firstly ensure that
the 4 byte-aligned dtrace_invop_callsite can be found and that it
immediately follows the call to dtrace_invop(). Secondly, fix some pointer
arithmetic to account for differences between struct i386_frame and illumos'
struct frame. Finally, ensure that dtrace_getarg() isn't inlined. It works
by following a fixed number of frame pointers to the probe site, so inlining
breaks it.
MFC after: 3 weeks
Diffstat (limited to 'lib/libc/stdlib/realpath.c')
0 files changed, 0 insertions, 0 deletions