Re: AUDIT: copy_from_user is a deathtrap.

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sun May 19 2002 - 17:44:41 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu May 23 2002 - 22:00:18 EST