Re: __NR_exit_group for 2.4-O(1)

From: J.A. Magallon (jamagallon@able.es)
Date: Thu Jan 02 2003 - 19:50:33 EST


On 2003.01.03 Christoph Hellwig wrote:
> On Fri, Jan 03, 2003 at 01:36:17AM +0100, J.A. Magallon wrote:
> > > Your libc isn't the one from RH's new beta, is it? :)
> > >
> >
> > Nope, Mandrake Cooker glibc-2.3.1-6.
>
> glibc only tries to use sys_exit_group if the kernel headers it's compiled
> against define __NR_exit_group. AFAIK only the current RH beta ships
> a kernel with a 2.4 backport of all the threading changes during 2.5, so
> it might be worth asking the mdk glibc maintainer we he got his kernel
> headers from.. (either redhat or 2.5 :))
>

It is defined in 2.4.20, undefined but reserved:

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

???

-- 
J.A. Magallon <jamagallon@able.es>      \                 Software is like sex:
werewolf.able.es                         \           It's better when it's free
Mandrake Linux release 9.1 (Cooker) for i586
Linux 2.4.21-pre2-jam2 (gcc 3.2.1 (Mandrake Linux 9.1 3.2.1-2mdk))
-
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/



This archive was generated by hypermail 2b29 : Tue Jan 07 2003 - 22:00:19 EST