Re: [PATCH] lib: introduce strdup_from_user

From: Alan Cox
Date: Fri Jun 03 2011 - 17:57:46 EST


On Fri, 3 Jun 2011 20:45:10 +0300
Alexey Dobriyan <adobriyan@xxxxxxxxx> wrote:

> NAK
> It accesses userspace data twice.

Big deal, processors have caches.

Just needs the zero termination to be reliable.

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