Please sign in to comment.
rtc: Add an option to invalidate dates in 2038
hctosys is setting the system time from the kernel. This means that 32bit system can get their time set to a date after the 31bit time_t overflow. This is currently an issue as userspace is not yet ready to handle those dates and may break. For example systemd's usage of timerfd shows that the timerfd will always fire immediately because it can't be set at a date after the current date. The new RTC_INVALID_2038 option will make sure that date after 03:09:07 on Jan 19 2038 are invalid. This is 5 minutes before the 31bit overflow. This leaves enough time for userspace to react and is short enough to make the issue visible. Signed-off-by: Alexandre Belloni <email@example.com>
- Loading branch information...
Showing with 14 additions and 1 deletion.