[PATCH] _exit.c, exit vs. exit_group

Carlos O'Donell carlos@baldric.uwo.ca
Wed Dec 17 20:06:00 GMT 2003


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.



More information about the Libc-alpha mailing list