This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] _exit.c, exit vs. exit_group
- From: Carlos O'Donell <carlos at baldric dot uwo dot ca>
- To: Ulrich Drepper <drepper at redhat dot com>
- Cc: libc-alpha <libc-alpha at sources dot redhat dot com>
- Date: Wed, 17 Dec 2003 14:59:18 -0500
- Subject: Re: [PATCH] _exit.c, exit vs. exit_group
- References: <20031217183811.GG24083@systemhalted> <3FE0A60C.5050505@redhat.com>
On Wed, Dec 17, 2003 at 10:53:00AM -0800, Ulrich Drepper wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Carlos O'Donell wrote:
>
> > Compiling with 2.6 headers, and booting into a 2.4 kernel without
> > exit_group should be allowed. Although ABORT_INSTRUCTION does end the
> > execution of the process, it's architecture dependant and not always a
> > pretty thing.
>
> What are you talking about? The existing code already uses the exit
> syscall in case exit_group isn't available. All your patch does is
> create a mess out of plain, simple sources. If exit_group returns it is
> with ENOSYS, nothing else.
That's egg on my face. I misread the #ifdef/#endif.
My sincerest apologies, sorry for the noise.
c.