Re: [patch-2.3.29] bugfix for pipe(2) system call.

Brandon S. Allbery KF8NH (allbery@kf8nh.apk.net)
Thu, 25 Nov 1999 10:03:03 -0500


In message <Pine.SCO.3.94.991125142756.7714A-100000@tyne.london.sco.com>,
Tigra
n Aivazian writes:
+-----
| it just occurred to me - there is even better solution. We can do the same
| as SCO UnixWare 7.1.0 does. I.e. to send SIGSEGV to the offender. This
| way:
+--->8

Doesn't some spec or other require (or at least strongly suggest) returning
EFAULT? (Haven't "we" had that discussion before?)

At one time there was an optimized path for the double-copy: do the
verify_area early, then bypass it when doing the real copy later. I guess
this path no longer exists?

-- 
brandon s. allbery	   os/2,linux,solaris,perl	allbery@kf8nh.apk.net
system administrator	   kthkrb,heimdal,gnome,rt	  allbery@ece.cmu.edu
carnegie mellon / electrical and computer engineering			kf8nh
    We are Linux. Resistance is an indication that you missed the point.

- 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.tux.org/lkml/