[17/26] Linux: exit_group syscall number is always available
Commit Message
Due to the built-in tables, __NR_exit_group is always defined.
---
sysdeps/unix/sysv/linux/_exit.c | 2 --
1 file changed, 2 deletions(-)
Comments
On 09/02/2020 17:20, Florian Weimer wrote:
> Due to the built-in tables, __NR_exit_group is always defined.
LGTM, thanks.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
> ---
> sysdeps/unix/sysv/linux/_exit.c | 2 --
> 1 file changed, 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
>
@@ -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