From owner-freebsd-arch@FreeBSD.ORG Fri Jan 27 18:21:50 2006 Return-Path: X-Original-To: arch@freebsd.org Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 507CF16A420; Fri, 27 Jan 2006 18:21:50 +0000 (GMT) (envelope-from julian@elischer.org) Received: from a50.ironport.com (a50.ironport.com [63.251.108.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1571843D5A; Fri, 27 Jan 2006 18:21:50 +0000 (GMT) (envelope-from julian@elischer.org) Received: from unknown (HELO [10.251.17.229]) ([10.251.17.229]) by a50.ironport.com with ESMTP; 27 Jan 2006 10:21:49 -0800 Message-ID: <43DA64BD.2070805@elischer.org> Date: Fri, 27 Jan 2006 10:21:49 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.11) Gecko/20050727 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Garrett Wollman References: <200601271724.k0RHOUat034301@khavrinen.csail.mit.edu> In-Reply-To: <200601271724.k0RHOUat034301@khavrinen.csail.mit.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: arch@freebsd.org, glebius@freebsd.org Subject: Re: fix return code for pipe(2) syscall X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jan 2006 18:21:50 -0000 Garrett Wollman wrote: >In article <20060127093602.GO83922@cell.sick.ru> you write: > > > >>Yes, according to SUSv3 the only errors from pipe(2) are ENFILE >>and EMFILE. >> >> > >POSIX does not define an exhaustive enumeration of error conditions. >*Any* error return is permissible, provided only that *for those >conditions noted in the ERRORS section* the code identified for that >condition is returned. It is perfectly permissible for every system >call to fail with [ENOTADUCK] unless the first five bytes of the >caller's address space contain the word "quack". > > > I like it. We should implement this asap. >-GAWollman > >_______________________________________________ >freebsd-arch@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-arch >To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" > >