History

y2038: rename itimerval to __kernel_old_itimerval

Take the renaming of timeval and timespec one level further, also renaming itimerval to __kernel_old_itimerval, to avoid namespace conflicts with the user-space structure that may use 64-bit time_t members.

Arnd Bergmann committed 6 years ago

Commit 4f9fbd81 parent 751adda3 files · +18 −14Browse files

Showing the changes to include/uapi/linux (1 of 3 files). Show all

Unified · Split

include/uapi/linux/time_types.h+5−0
@@ -33,6 +33,11 @@ struct __kernel_old_timespec { · 32 unmodified lines
3333 long tv_nsec; /* nanoseconds */
3434 };
3535
36+struct __kernel_old_itimerval {
37+ struct __kernel_old_timeval it_interval;/* timer interval */
38+ struct __kernel_old_timeval it_value; /* current value */
39+};
40+
3641 struct __kernel_sock_timeval {
3742 __s64 tv_sec;
3843 __s64 tv_usec;