]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tools/nolibc: prefer explicit 64-bit time-related system calls
authorThomas Weißschuh <linux@weissschuh.net>
Sat, 20 Dec 2025 13:55:49 +0000 (14:55 +0100)
committerThomas Weißschuh <linux@weissschuh.net>
Sun, 4 Jan 2026 09:29:00 +0000 (10:29 +0100)
commitba7fd0384530e3dd20ea873aac21c473e3e461ae
treec6d1a866b7bbb66a73f666368cdf13f3f79a5bc3
parentb8f4f5d1b99e2ae73fd448e9bbd16dc244e6586c
tools/nolibc: prefer explicit 64-bit time-related system calls

Make sure to always use the 64-bit safe system calls
in preparation for 64-bit time_t on 32-bit architectures.

Also prevent issues on kernels which disable CONFIG_COMPAT_32BIT_TIME
and therefore don't provide the 32-bit system calls anymore.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Willy Tarreau <w@1wt.eu>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Link: https://patch.msgid.link/20251220-nolibc-uapi-types-v3-5-c662992f75d7@weissschuh.net
tools/include/nolibc/poll.h
tools/include/nolibc/sys/select.h
tools/include/nolibc/sys/timerfd.h
tools/include/nolibc/time.h