Re: Provide example copy_in_user implementation

Linus Torvalds (torvalds@transmeta.com)
Tue, 24 Jun 2003 11:51:19 -0700 (PDT)


On Tue, 24 Jun 2003, Pavel Machek wrote:
>
> This patch adds example copy_in_user implementation (copy_in_user is
> needed for new ioctl32 implementation, all 64bit archs will need
> it)... Please apply,

Hell no.

This is an example of how to do things WRONG. In short, it's not an
example we want to have in the kernel, or anywhere _near_ the kernel.

Do it right, or don't do it at all. Code this bad should not be allowed to
exist, please remove it from your harddisk immediately. I will go and wash
my eyes from just having looked at it.

Linus

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