mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 06:20:06 +00:00
Linux: Remove exit system call from _exit
exit only terminates the current thread, not the whole process, so it is the wrong fallback system call in this context. All supported Linux versions implement the exit_group system call anyway.
This commit is contained in:
parent
3e83843637
commit
8fabe0e632
@ -28,7 +28,6 @@ _exit (int status)
|
||||
while (1)
|
||||
{
|
||||
INLINE_SYSCALL (exit_group, 1, status);
|
||||
INLINE_SYSCALL (exit, 1, status);
|
||||
|
||||
#ifdef ABORT_INSTRUCTION
|
||||
ABORT_INSTRUCTION;
|
||||
|
Loading…
Reference in New Issue
Block a user