]> git.ipfire.org Git - thirdparty/glibc.git/commit
login: Check default sizes of structs utmp, utmpx, lastlog
authorFlorian Weimer <fweimer@redhat.com>
Fri, 19 Apr 2024 12:38:17 +0000 (14:38 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 2 May 2024 20:04:32 +0000 (22:04 +0200)
commit93e98f092cf25941d80f23511fb0b51eda353bd6
tree446b3830a16621b8976d22f86febc6f5403d194d
parentf0eae7b7d008ad23776eae95f475ee59ecbeac64
login: Check default sizes of structs utmp, utmpx, lastlog

The default <utmp-size.h> is for ports with a 64-bit time_t.
Ports with a 32-bit time_t or with __WORDSIZE_TIME64_COMPAT32=1
need to override it.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
(cherry picked from commit 4d4da5aab936504b2d3eca3146e109630d9093c4)
16 files changed:
login/Makefile
login/tst-utmp-size.c [new file with mode: 0644]
sysdeps/arc/utmp-size.h [new file with mode: 0644]
sysdeps/arm/utmp-size.h [new file with mode: 0644]
sysdeps/csky/utmp-size.h [new file with mode: 0644]
sysdeps/generic/utmp-size.h [new file with mode: 0644]
sysdeps/hppa/utmp-size.h [new file with mode: 0644]
sysdeps/m68k/utmp-size.h [new file with mode: 0644]
sysdeps/microblaze/utmp-size.h [new file with mode: 0644]
sysdeps/mips/utmp-size.h [new file with mode: 0644]
sysdeps/nios2/utmp-size.h [new file with mode: 0644]
sysdeps/powerpc/utmp-size.h [new file with mode: 0644]
sysdeps/riscv/utmp-size.h [new file with mode: 0644]
sysdeps/sh/utmp-size.h [new file with mode: 0644]
sysdeps/sparc/utmp-size.h [new file with mode: 0644]
sysdeps/x86/utmp-size.h [new file with mode: 0644]