Re: copy_from_user() fix

H. Peter Anvin (hpa@transmeta.com)
Mon, 24 Aug 1998 15:30:44 -0700 (PDT)


> A stupid implementation would do that. But if you look at syscall.S on most
> platforms, you'll see the fast path is always when syscall does not return
> error and when you enter the slow path for error handling, you have to call
> errno_location, so one test would not hurt. You can write your own shared
> library and put it into your /etc/ld.so.preload...

That sounds like the way to go.

-hpa

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html