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
33 long tv_nsec; /* nanoseconds */33 long tv_nsec; /* nanoseconds */
34};34};
35 35
36struct __kernel_old_itimerval {
37 struct __kernel_old_timeval it_interval;/* timer interval */
38 struct __kernel_old_timeval it_value; /* current value */
39};
40
36struct __kernel_sock_timeval {41struct __kernel_sock_timeval {
37 __s64 tv_sec;42 __s64 tv_sec;
38 __s64 tv_usec;43 __s64 tv_usec;