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: Ulrich Drepper <drepper at redhat dot com>
- To: "Carlos O'Donell" <carlos at baldric dot uwo dot ca>
- Cc: libc-alpha <libc-alpha at sources dot redhat dot com>
- Date: Wed, 17 Dec 2003 10:53:00 -0800
- Subject: Re: [PATCH] _exit.c, exit vs. exit_group
- Organization: Red Hat, Inc.
- References: <20031217183811.GG24083@systemhalted>
-----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.
- --
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/4KYN2ijCOnn/RHQRAvXxAJ4vesLlFDQhyg5j5bJKDwl6XriDzACfc999
711E0Z91cJN8Y/wdFgAGMqc=
=Sm9F
-----END PGP SIGNATURE-----