about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-03-03 12:17:24 +0100
committerFlorian Weimer <fweimer@redhat.com>2020-03-03 12:17:24 +0100
commit11ae9a185baa1dbe2b200659d043761206fe70e3 (patch)
tree75b9ee8629cad444769620c077b73c20b30ffc8e /sysdeps
parentaa350443c5f38f048e413748990c6779f8540c89 (diff)
downloadglibc-11ae9a185baa1dbe2b200659d043761206fe70e3.tar.gz
glibc-11ae9a185baa1dbe2b200659d043761206fe70e3.tar.xz
glibc-11ae9a185baa1dbe2b200659d043761206fe70e3.zip
Linux: exit_group syscall number is always available
Due to the built-in tables, __NR_exit_group is always defined.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/_exit.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/_exit.c b/sysdeps/unix/sysv/linux/_exit.c
index 5896c15da6..a8521101b3 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