From owner-cvs-src-old@FreeBSD.ORG Tue Nov 11 15:02:10 2008 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15098106568C for ; Tue, 11 Nov 2008 15:02:10 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id F1A668FC13 for ; Tue, 11 Nov 2008 15:02:09 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id mABF294P078153 for ; Tue, 11 Nov 2008 15:02:09 GMT (envelope-from ed@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id mABF29U2078152 for cvs-src-old@freebsd.org; Tue, 11 Nov 2008 15:02:09 GMT (envelope-from ed@repoman.freebsd.org) Message-Id: <200811111502.mABF29U2078152@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to ed@repoman.freebsd.org using -f From: Ed Schouten Date: Tue, 11 Nov 2008 14:55:59 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libc/sys pipe.2 src/sys/amd64/linux32 linux32_machdep.c src/sys/i386/linux linux_machdep.c src/sys/kern sys_pipe.c src/sys/sys syscallsubr.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2008 15:02:10 -0000 ed 2008-11-11 14:55:59 UTC FreeBSD src repository Modified files: lib/libc/sys pipe.2 sys/amd64/linux32 linux32_machdep.c sys/i386/linux linux_machdep.c sys/kern sys_pipe.c sys/sys syscallsubr.h Log: SVN rev 184849 on 2008-11-11 14:55:59Z by ed Several cleanups related to pipe(2). - Use `fildes[2]' instead of `*fildes' to make more clear that pipe(2) fills an array with two descriptors. - Remove EFAULT from the manual page. Because of the current calling convention, pipe(2) raises a segmentation fault when an invalid address is passed. - Introduce kern_pipe() to make it easier for binary emulations to implement pipe(2). - Make Linux binary emulation use kern_pipe(), which means we don't have to recover td_retval after calling the FreeBSD system call. Approved by: rdivacky Discussed on: arch Revision Changes Path 1.24 +1 -6 src/lib/libc/sys/pipe.2 1.50 +5 -18 src/sys/amd64/linux32/linux32_machdep.c 1.81 +5 -15 src/sys/i386/linux/linux_machdep.c 1.199 +22 -9 src/sys/kern/sys_pipe.c 1.52 +1 -0 src/sys/sys/syscallsubr.h