This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [PATCH] Kprobes- robust fault handling for i386
Prasanna S Panchamukhi <prasanna@in.ibm.com> writes:
> [...] As of now to fix the broken kprobes fault handling, here is the
> patch. This is only for i386, once we freeze on this prototype, this
> can be ported to other architectures.
>
> This patch provides proper kprobes fault handling, if a user-specified
> pre/post handlers tries to access user address space, through
> copy_from_user(), get_user() etc. [...]
Is it correct that this patch enables only the first bullet in
<http://sources.redhat.com/ml/systemtap/2006-q1/msg00536.html>?
By the way, just for laughs, I tried systemtap on a hugemem x86
kernel. As probably expected, none of the user-space copy operations
worked: in fact, many "succeeded" and returned null data.
- FChE