[PATCH] s390: Make utmp32, utmpx32, and login32 shared only (BZ 31790)

H.J. Lu hjl.tools@gmail.com
Wed May 22 19:31:58 GMT 2024


On Wed, May 22, 2024 at 10:30 AM Adhemerval Zanella
<adhemerval.zanella@linaro.org> wrote:
>
> The function that work with 'struct utmp32' and 'struct utmpx32'
> are only for compat symbols.
> ---
>  sysdeps/unix/sysv/linux/s390/s390-32/Makefile | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/Makefile b/sysdeps/unix/sysv/linux/s390/s390-32/Makefile
> index 6b6d59b7dd..2a5b4fbb6f 100644
> --- a/sysdeps/unix/sysv/linux/s390/s390-32/Makefile
> +++ b/sysdeps/unix/sysv/linux/s390/s390-32/Makefile
> @@ -3,6 +3,7 @@ default-abi := 32
>
>  ifeq ($(subdir),login)
>  sysdep_routines += utmp32 utmpx32 login32
> +shared-only-routines += utmp32 utmpx32 login32
>  endif
>
>  ifeq ($(subdir),misc)
> --
> 2.43.0
>

LGTM.

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>

Thanks.

-- 
H.J.


More information about the Libc-alpha mailing list