]> sourceware.org Git - glibc.git/commitdiff
Linux: exit_group syscall number is always available
authorFlorian Weimer <fweimer@redhat.com>
Tue, 3 Mar 2020 11:17:24 +0000 (12:17 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 3 Mar 2020 11:17:24 +0000 (12:17 +0100)
Due to the built-in tables, __NR_exit_group is always defined.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
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
This page took 0.044829 seconds and 5 git commands to generate.