kprobe fault handling

Martin Hunt hunt@redhat.com
Fri Feb 10 22:41:00 GMT 2006


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?




More information about the Systemtap mailing list