This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: __NR_exit_group for 2.4-O(1)
- From: Christoph Hellwig <hch at infradead dot org>
- To: "J.A. Magallon" <jamagallon at able dot es>
- Cc: libc-alpha at sources dot redhat dot com,Lista Linux-Kernel <linux-kernel at vger dot kernel dot org>
- Date: Fri, 3 Jan 2003 00:56:24 +0000
- Subject: Re: __NR_exit_group for 2.4-O(1)
- References: <20030103001522.GA1539@werewolf.able.es> <20030103003244.A10586@infradead.org> <20030103003617.GC1539@werewolf.able.es> <20030103004557.A10881@infradead.org> <20030103005033.GA3103@werewolf.able.es>
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 :)