2022-06-01 20:00:26

by Szabolcs Nagy

[permalink] [raw]
Subject: Re: PROBLEM: with daemon.c after y2038 on 32-bits Kernel

The 05/31/2022 14:16, Arnaud Panaïotis via Libc-alpha wrote:
> > > > If I'm reading this correctly, daemon() internally uses the time32
> > > > version of 'stat', which fails for files with out-of-range timestamps.
> > > > Are you able to rebuild the ssh binary (or your entire distro, if that's
> > > > easier) against musl-1.2.x instead of glibc to see if the same thing
> > > > happens there?
>
> Musl did not worked previously for me, not sure for openssh only within
> Buildroot.

did you have a specific issue with musl?

it is supposed to work with buildroot and
has 64bit time_t support out of the box.