Re: AUDIT: copy_from_user is a deathtrap.

Pavel Machek
2002-05-21T22:21:38Z

Hi!

> > Pavel makes a reasonable point that copy_*_user may elect
> > to copy the data in something other than strictly ascending
> > user virtual addresses. In which case it's not possible to return
> > a sane "how much was copied" number.
>
> I don't agree that that is true.
>
> Do you have _any_ reasonable implementation taht would do that_

I believe I seen some strange memcpy for PPro (or something that
obscure) that done out-of-order accesses to trigger prefetch logic. I
can't find it any more, so I can't be sure...
Pavel
--
Casualities in World Trade Center: ~3k dead inside the building,
cryptography in U.S.A. and free speech in Czech Republic.