This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



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
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]