]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Linux: exit_group syscall number is always available
authorFlorian Weimer <fweimer@redhat.com>
Sun, 9 Feb 2020 15:32:32 +0000 (16:32 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Sun, 9 Feb 2020 16:39:40 +0000 (17:39 +0100)
Due to the built-in tables, __NR_exit_group is always defined.

sysdeps/unix/sysv/linux/_exit.c

index 5896c15da61ffb4bb8c2b7f3b48facce9fb65ef6..a8521101b3b61db79a30e485876dd0be32588220 100644 (file)
@@ -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