diff mbox series

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

Message ID 20240522172956.2002955-1-adhemerval.zanella@linaro.org
State Accepted
Commit 1664bbf2383bb6a7d0ae7ecee6be3f23ab953466
Headers show
Series s390: Make utmp32, utmpx32, and login32 shared only (BZ 31790) | expand

Commit Message

Adhemerval Zanella Netto May 22, 2024, 5:29 p.m. UTC
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(+)

Comments

H.J. Lu May 22, 2024, 7:31 p.m. UTC | #1
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.
diff mbox series

Patch

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)