From 4d4da5aab936504b2d3eca3146e109630d9093c4 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 19 Apr 2024 14:38:17 +0200 Subject: login: Check default sizes of structs utmp, utmpx, lastlog The default 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 --- sysdeps/sh/utmp-size.h | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 sysdeps/sh/utmp-size.h (limited to 'sysdeps/sh') diff --git a/sysdeps/sh/utmp-size.h b/sysdeps/sh/utmp-size.h new file mode 100644 index 0000000000..8f21ebe1b6 --- /dev/null +++ b/sysdeps/sh/utmp-size.h @@ -0,0 +1,2 @@ +#define UTMP_SIZE 384 +#define LASTLOG_SIZE 292 -- cgit 1.4.1