[PATCH][2.6] rtas error-inject support

Jake Moilanen moilanen at austin.ibm.com
Sat Jan 31 07:03:43 EST 2004


> > 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().

Thanks,
Jake


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





More information about the Linuxppc64-dev mailing list