diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-11-18 00:31:04 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-11-18 01:10:04 +0100 |
commit | e35c4c64fe492b212f9c7d9e046626e48e89f863 (patch) | |
tree | 560df945102ed06ebb48d72e15fd1c6d160576f3 /virt | |
parent | drivers/watchdog: make use of devm_register_reboot_notifier() (diff) | |
download | linux-e35c4c64fe492b212f9c7d9e046626e48e89f863.tar.xz linux-e35c4c64fe492b212f9c7d9e046626e48e89f863.zip |
initramfs: use time64_t timestamps
The cpio format uses a 32-bit number to encode file timestamps, which
breaks initramfs support in 2038. This reinterprets the timestamp as
unsigned, to give us another 68 years and avoids breaking until 2106.
Link: http://lkml.kernel.org/r/20171019095536.801199-1-arnd@arndb.de
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Deepa Dinamani <deepa.kernel@gmail.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Daniel Thompson <daniel.thompson@linaro.org>
Cc: Lokesh Vutla <lokeshvutla@ti.com>
Cc: Stafford Horne <shorne@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions