This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] _exit.c, exit vs. exit_group


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]