Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 May 2003 06:42:10 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Thomas David Rivers <rivers@dignus.com>
Cc:        hackers@freebsd.org
Subject:   Re: A modest proposal for better errno values...
Message-ID:  <3EC0F632.8695C950@mindspring.com>
References:  <200305131125.h4DBPWr23993@lakes.dignus.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thomas David Rivers wrote:
> Robert Klein <RoKlein@roklein.de> wrote:
> I think Robert is "on to" something here...
> 
> But - EGOOFUP isn't descriptive enough for the situation
> Poul-Henning writes about...
> 
> How about
> 
>         EKERNERR        /* A programming error in the kernel */
> 
> Wouldn't that be descriptive of the situation without insulting
> anyone?

It appears in both the libc malloc code, and in the GEOM code
under the bde subtree in the kernel, so it is not kernel
specific for "programming errors"; by a ratio of 3:1, it's a
user space programming error.

Personally, I am partial to "EPROGERR"; it matches the error
text, if it needs to change.  It has the advantage of leaving
it ambiguous whether we meant "programming", "programmer", or
"program", too.


-- Terry



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EC0F632.8695C950>