[PATCH][2.6] rtas error-inject support

linas at austin.ibm.com linas at austin.ibm.com
Wed Feb 4 11:44:41 EST 2004

On Fri, Jan 30, 2004 at 02:03:43PM -0600, Jake Moilanen wrote:
> > > Whoops, your right.  Good catch.  This was leftover from the port from
> > > 2.4.
> >
> > That statement was alarming... :) I only found one memcpy left in that
> > file in 2.4, but I guess we're supposed to check for EFAULT:
> IIRC Linas went through a couple of months ago and fixed up
> rtas-proc.c.  The whole file was using memcpy instead of
> copy_to/from_user().

Yep, and there's a bunch of lower priority bugs in there too,
which I promised to fix, but haven't gotten a round tuit yet.

p.s. jake, thanks for this patch, I've been needing it ...

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/

More information about the Linuxppc64-dev mailing list