public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: "J.A. Magallon" <jamagallon@able.es>
Cc: libc-alpha@sources.redhat.com,
	Lista Linux-Kernel <linux-kernel@vger.kernel.org>
Subject: Re: __NR_exit_group for 2.4-O(1)
Date: Fri, 3 Jan 2003 00:56:24 +0000	[thread overview]
Message-ID: <20030103005624.A11159@infradead.org> (raw)
In-Reply-To: <20030103005033.GA3103@werewolf.able.es>; from jamagallon@able.es on Fri, Jan 03, 2003 at 01:50:33AM +0100

Context for libc-alpha:  current glibc CVS gets tons of -ENOSYS when
running on 2.4.  That's because it tries to use sys_exit_group if
__NR_exit_group is defined.

On Fri, Jan 03, 2003 at 01:50:33AM +0100, J.A. Magallon wrote:
> werewolf:/usr/src/linux-2.4.20> grep -r exit_group *
> arch/x86_64/ia32/ia32entry.S:   .quad sys_ni_syscall    /* exit_group */
> arch/i386/kernel/entry.S:       .long SYMBOL_NAME(sys_ni_syscall)       /* sys_exit_group */
> include/asm-x86_64/ia32_unistd.h:#define __NR_ia32_exit_group           252
> include/asm-i386/unistd.h:#define __NR_exit_group               252

Hmm.  It looks like glibc should test for something else than :)


  reply	other threads:[~2003-01-03  0:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-03  0:15 __NR_exit_group for 2.4-O(1) J.A. Magallon
2003-01-03  0:22 ` William Lee Irwin III
2003-01-03  0:32 ` Christoph Hellwig
2003-01-03  0:36   ` J.A. Magallon
2003-01-03  0:45     ` Christoph Hellwig
2003-01-03  0:50       ` J.A. Magallon
2003-01-03  0:56         ` Christoph Hellwig [this message]
2003-01-03  3:23           ` Ulrich Drepper

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=20030103005624.A11159@infradead.org \
    --to=hch@infradead.org \
    --cc=jamagallon@able.es \
    --cc=libc-alpha@sources.redhat.com \
    --cc=linux-kernel@vger.kernel.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