Re: AUDIT: copy_from_user is a deathtrap.

Alan Cox
2002-05-19T22:24:47Z

> > Oh, like read() or write() for regular files? Yup, they exist.
>
> And that would be? I've never seen such an abomination. Sure,
> mapping pages on SEGV is use, but passing only partially mapped
> buffers to read/write on purpose???

Some of the storage systems do this. They may try to use the host page
size but on some platforms the host page size is variable so that isnt
feasible.