Re: copy_from_user() fix

Brandon S. Allbery KF8NH (allbery@kf8nh.apk.net)
Mon, 24 Aug 1998 21:55:49 -0300


In message <199808242229.PAA24201@cesium.transmeta.com>, "H. Peter Anvin"
write
s:
+-----
| > > You propose to slow down every syscall return by test
| > > if (retcode == -EFAULT) raise(SIGSEGV).
| > > My argument is that if you do it from within kernel there's no such
| > > slowdown.
| > But there is no normal demand for this fairly weird feature to justify
| > bloating the generic kernel with that
|
| Actually, I'd argue that EFAULT is a fundamentally broken thing. The
+--->8

Wow. You mean I'm not the only one who has thought for a long time that
EFAULT was just plain dumb?

(OTOH I remember how /bin/sh used to allocate memory and I'm not sure I'd
want to encourage it....)

-- 
brandon s. allbery	[os/2][linux][solaris][japh]	 allbery@kf8nh.apk.net
system administrator	     [WAY too many hats]	   allbery@ece.cmu.edu
electrical and computer engineering					 KF8NH
carnegie mellon university

- 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