All of lore.kernel.org
 help / color / mirror / Atom feed
From: Erik Andersen <andersen@codepoet.org>
To: Ralf Baechle <ralf@uni-koblenz.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH][RFC] global errno considered harmful
Date: Mon, 31 Dec 2001 13:56:50 -0700	[thread overview]
Message-ID: <20011231205649.GB4122@codepoet.org> (raw)
In-Reply-To: <20011230110623.A17083@gnu.org> <200112301956.OAA02630@ccure.karaya.com> <20011230190020.A14157@dea.linux-mips.net> <20011230205257.A19891@gnu.org> <20011231000120.B16384@dea.linux-mips.net>
In-Reply-To: <20011231000120.B16384@dea.linux-mips.net>

On Mon Dec 31, 2001 at 12:01:20AM -0200, Ralf Baechle wrote:
> On Sun, Dec 30, 2001 at 08:52:57PM -0500, Lennert Buytenhek wrote:
> 
> > > As user application are trying to use unistd.h and expect errno to get
> > > set properly unistd.h or at least it's syscallX macros will have to be
> > > made unusable from userspace or silent breakage of such apps rebuild
> > > against new headers will occur.
> > 
> > How about conditionalising definition of_syscallX on __KERNEL_SYSCALLS__?
> > 	(http://www.math.leidenuniv.nl/~buytenh/errno_ectomy-1-to-2.diff)
> > 
> > I guess I'll go ask all arch maintainers' permission now..
> 
> Be careful, you'll have to fix at least util-linux (doubleplusyuck) and
> e2fsprogs.

You say this as if having util-linux and e2fsprogs etc get fixed
would be a bad thing...  I personally think this would be a very 
good change, and would let the kernel enforce good programming style,

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--

  reply	other threads:[~2001-12-31 20:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-30 16:06 [PATCH][RFC] global errno considered harmful Lennert Buytenhek
2001-12-30 19:56 ` Jeff Dike
2001-12-30 21:00   ` Ralf Baechle
2001-12-30 22:10     ` Brian Gerst
2001-12-31  1:59       ` Ralf Baechle
2001-12-31 16:48         ` Andreas Schwab
2001-12-31 21:42           ` Ralf Baechle
2001-12-31  1:52     ` Lennert Buytenhek
2001-12-31  2:01       ` Ralf Baechle
2001-12-31 20:56         ` Erik Andersen [this message]
2001-12-31  0:01 ` ertzog

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011231205649.GB4122@codepoet.org \
    --to=andersen@codepoet.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ralf@uni-koblenz.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.