public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/fw/syscall-cleanups] Linux: exit_group syscall number is always available
@ 2020-02-09 16:57 Florian Weimer
0 siblings, 0 replies; only message in thread
From: Florian Weimer @ 2020-02-09 16:57 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=59eee3275b21b5a402274934682e6ae8d4e26d84
commit 59eee3275b21b5a402274934682e6ae8d4e26d84
Author: Florian Weimer <fweimer@redhat.com>
Date: Sun Feb 9 16:32:32 2020 +0100
Linux: exit_group syscall number is always available
Due to the built-in tables, __NR_exit_group is always defined.
Diff:
---
sysdeps/unix/sysv/linux/_exit.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sysdeps/unix/sysv/linux/_exit.c b/sysdeps/unix/sysv/linux/_exit.c
index 5896c15..a852110 100644
--- a/sysdeps/unix/sysv/linux/_exit.c
+++ b/sysdeps/unix/sysv/linux/_exit.c
@@ -27,9 +27,7 @@ _exit (int status)
{
while (1)
{
-#ifdef __NR_exit_group
INLINE_SYSCALL (exit_group, 1, status);
-#endif
INLINE_SYSCALL (exit, 1, status);
#ifdef ABORT_INSTRUCTION
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-02-09 16:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-09 16:57 [glibc/fw/syscall-cleanups] Linux: exit_group syscall number is always available Florian Weimer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).