Date: Tue, 11 Nov 2008 14:55:59 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org 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 Message-ID: <200811111502.mABF29U2078152@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811111502.mABF29U2078152>