On Tue, Nov 11, 2025 at 02:47:34PM +0100, Thomas Weißschuh wrote:
On Tue, Nov 11, 2025 at 01:45:56PM +0100, Arnd Bergmann wrote:
On Tue, Nov 11, 2025, at 11:49, Thomas Weißschuh wrote:
+/*
- UAPI headers from the libc may be older and not provide these.
- */
+#if KERNEL_VERSION(5, 5, 0) > LINUX_VERSION_CODE +typedef __kernel_long_t __kernel_old_time_t;
+struct __kernel_old_timespec {
- __kernel_old_time_t tv_sec;
- long tv_nsec;
+}; +#endif
Doesn't this also need to define __kernel_old_timeval, which you refer to below?
It was added in 4.17, so it is present in the 4.19.88 headers my musl ships with. I can add it for completeness.
Given that __kernel_old_timeval has an architecture-specific override on SPARC, I'd rather leave out a custom fallback until we really need one.
(...)
Thomas