[NOBLE][PATCH 0/3] y2038: Initial safe COMPAT_32BIT_TIME fixes

Dimitri John Ledkov dimitri.ledkov at canonical.com
Fri Nov 24 00:16:42 UTC 2023


Start turning off COMPAT and COMPAT_32BIT_TIME where safe to do so.

ppc64le port is 64-bit only without any 32-bit support in
little-endian mode, and no hardware exists that can operate in
mix-mode to simultaniously run 32bit big-endian & 64bit little-endian
mode binaries or VMs.

riscv64 has COMPAT_32BIT_TIME turned on as if by accident, as riscv32
port does not exist. And even if riscv32 is bootstrapped it is defined
as using 64-bit time_t, thus this is also an imposible configuration.

arm64 generic-64k kernel flavour typically runs on hardware that has
no support to execute aarch32 binaries, thus is also safe to turn off
COMPAT on.

Fixes for amd64, arm64 (generic) and s390x need more analysis, and
will be submitted later, if determined to be safe.

Individual buglinks are used, such that users can discover these bugs
for their given kernel and architecture and have a place to report
targetted concerns for a specific kernels and arches.

Dimitri John Ledkov (3):
  UBUNTU: [Config] y2038: Disable COMPAT and COMPAT_32BIT_TIME on
    ppc64le
  UBUNTU: [Config] y2038: Disable COMPAT_32BIT_TIME on riscv64
  UBUNTU: [Config] y2038: Turn off COMPAT and COMPAT_32BIT_TIME on arm64
    64k

 debian.master/config/annotations | 54 ++++++++++++++++----------------
 1 file changed, 27 insertions(+), 27 deletions(-)

-- 
2.34.1




More information about the kernel-team mailing list