This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: kprobe fault handling
On Fri, 2006-02-10 at 17:20 -0500, Frank Ch. Eigler wrote:
> Hi -
>
> > > Always for the same reason: because it invokes functions that can
> > > might sleep (and are in fact documented as such).
> >
> > Which function are those?
>
> Er, the "__copy_from_user" family?! The "_inatomic" function, whose
> name encodes its very inatomicity?
Don't read too much into a name.
What makes the __copy_from_user functions more unsafe than the
strncpy_from_user or get_user functions? Or are they all unsafe?