Patchwork [17/26] Linux: exit_group syscall number is always available

login
register
mail settings
Submitter Florian Weimer
Date Feb. 9, 2020, 8:20 p.m.
Message ID <59eee3275b21b5a402274934682e6ae8d4e26d84.1581279333.git.fweimer@redhat.com>
Download mbox | patch
Permalink /patch/37821/
State New
Headers show

Comments

Florian Weimer - Feb. 9, 2020, 8:20 p.m.
Due to the built-in tables, __NR_exit_group is always defined.
---
 sysdeps/unix/sysv/linux/_exit.c | 2 --
 1 file changed, 2 deletions(-)

Patch

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