Re: __NR_exit_group for 2.4-O(1)

Christoph Hellwig (hch@infradead.org)
Fri, 3 Jan 2003 00:56:24 +0000


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 :)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/