public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Albert Cahalan <albert@users.sf.net>
To: linux-kernel mailing list <linux-kernel@vger.kernel.org>
Cc: Linus Torvalds <torvalds@osdl.org>, Andrew Morton OSDL <akpm@osdl.org>
Subject: errno
Date: 03 May 2004 21:26:52 -0400	[thread overview]
Message-ID: <1083634011.952.154.camel@cube> (raw)

Linus Torvalds writes:

> No, there's something wrong. Nobody should use a global
> "errno" variable, and we should fix the real bug (it's
> probably some buggy system call "interface" function
> that is being used).

According to lib/errno.c it's your fault. (SCO code?)

The obvious fix would be to stuff errno into the
task_struct, hmmm? Then just add this:

#define errno (current->kernel_errno)

Otherwise:

#define errno   Do not use this.



             reply	other threads:[~2004-05-04  3:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-04  1:26 Albert Cahalan [this message]
2004-05-04  4:14 ` errno Linus Torvalds
2004-05-04  5:58   ` errno Philippe Troin
2004-05-06  1:16     ` errno Philippe Troin

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=1083634011.952.154.camel@cube \
    --to=albert@users.sf.net \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox