commit | e35c4c64fe492b212f9c7d9e046626e48e89f863 | [log] [tgz] |
---|---|---|
author | Arnd Bergmann <[email protected]> | Fri Nov 17 15:31:04 2017 -0800 |
committer | Linus Torvalds <[email protected]> | Fri Nov 17 16:10:04 2017 -0800 |
tree | 560df945102ed06ebb48d72e15fd1c6d160576f3 | |
parent | 44ea39420fc95e7432ddc91de4eb58c7470ab897 [diff] |
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/[email protected] Signed-off-by: Arnd Bergmann <[email protected]> Cc: Al Viro <[email protected]> Cc: Deepa Dinamani <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Daniel Thompson <[email protected]> Cc: Lokesh Vutla <[email protected]> Cc: Stafford Horne <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>