From owner-freebsd-hackers@FreeBSD.ORG Tue May 13 04:38:04 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 730CE37B401 for ; Tue, 13 May 2003 04:38:04 -0700 (PDT) Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com [62.253.162.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E94243F3F for ; Tue, 13 May 2003 04:38:03 -0700 (PDT) (envelope-from colin.percival@wadham.ox.ac.uk) Received: from piii600.wadham.ox.ac.uk ([81.103.196.4]) by mta03-svc.ntlworld.comESMTP <20030513113801.DWCR11246.mta03-svc.ntlworld.com@piii600.wadham.ox.ac.uk>; Tue, 13 May 2003 12:38:01 +0100 Message-Id: <5.0.2.1.1.20030513123207.02e95660@popserver.sfu.ca> X-Sender: cperciva@popserver.sfu.ca X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Tue, 13 May 2003 12:37:58 +0100 To: Thomas David Rivers , hackers@freebsd.org From: Colin Percival In-Reply-To: <200305131125.h4DBPWr23993@lakes.dignus.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: A modest proposal for better errno values... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2003 11:38:04 -0000 At 07:25 13/05/2003 -0400, Thomas David Rivers wrote: >How about > > EKERNERR /* A programming error in the kernel */ > > >Wouldn't that be descriptive of the situation without insulting >anyone? If I understand the purpose of this error code, it deals with cases where data is in an invalid state. In that case, why not make the error code EASSERT /* An assertion has failed */ Colin Percival