__NR_exit_group for 2.4-O(1)

Christoph Hellwig hch@infradead.org
Fri Jan 3 00:56:00 GMT 2003


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



More information about the Libc-alpha mailing list