Received: by 2002:a19:771d:0:0:0:0:0 with SMTP id s29csp1243435lfc; Wed, 1 Jun 2022 12:53:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyj+FVJBlCWcrlSwyhhTZ+hHu9giKhQnfX/XnSFmryT9uKy9zP77guXkhJ1Yb+7gFFIT60A X-Received: by 2002:a17:90b:4c0e:b0:1e6:6c62:a30c with SMTP id na14-20020a17090b4c0e00b001e66c62a30cmr3185478pjb.166.1654113187600; Wed, 01 Jun 2022 12:53:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654113187; cv=none; d=google.com; s=arc-20160816; b=Nhllqc1kbWDPEyNjGos8v8Sz+ebcZ/ULw4PkZyBKgEa2cDk+OAXPR+CteH1iTnZKRj Uc742NdrCN/pr2C1E6QnKkUy/AmUM8McAd2r12SbXeIdcF7PMTrV0aUiF6fUCLCb+6ho YkxNTrCu6DttaMIcGzrk6qiNbURRODKV5/Le2xS6410+U0T9ltNAcrC7HijQ4jW2pWaP ohWDTDWVLYu7GHsZGm9OH1Sun2dqbFbI+rkJjS/VL17zAdr9Z5feoOueYgoD2e0HGcWp tTCG0k+qkSXLCxKQp5y08R+IfcxogOTaeBHI/QD/QmC+FP95erCRgdEXZWp5Wa48ISIt eMEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=VAysqpypj8lgtjmNvnE6i4S+p+KwnwkxLOL/g3kOSZw=; b=F42AlIoZt1DOzd5W5YQVsLhrO4D0hyo+Wd94dJfWsPbbUwhkNDvixwSSxz4hFw+CMF JL00Of0KR3tacVVtc3EFNBu2RG3ULvykKzTkEwO9/X/+I6EEe4fSSYMPzlv3v7/7XaL4 rotLWZol+SEex6qgsOd8BVRb+f5fVWpeBARUiFGp5rmrnsNtOLEyVhK0YEU6MiPV3pba 3dC7Ds41UWi6k5hecHjCJw0l72JvwNqBJlMgbq6RiK+hpkH2+fSIaIvEGmtGMSFl1BGM ePkSZ/2nM57GghBrMloc+QuIifSuvgi+RG+rU2o7FariW4eO1qlgSyeB1QR0Ex5Xk4Ni cUTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=VFTvO5Q8; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.fr Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id w12-20020a056a0014cc00b005106eb25aebsi3043647pfu.211.2022.06.01.12.53.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 12:53:07 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=VFTvO5Q8; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.fr Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7C9242010F3; Wed, 1 Jun 2022 12:14:54 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245230AbiEaNYt (ORCPT + 99 others); Tue, 31 May 2022 09:24:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236113AbiEaNYq (ORCPT ); Tue, 31 May 2022 09:24:46 -0400 Received: from mout-xforward.gmx.net (mout-xforward.gmx.net [82.165.159.14]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6855462A2F for ; Tue, 31 May 2022 06:24:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1654003477; bh=VAysqpypj8lgtjmNvnE6i4S+p+KwnwkxLOL/g3kOSZw=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=VFTvO5Q8V3M376SLyB36qGc5EBBspXseif/5AkUs43jQ0G6plR9w1LOAK1lHbBv2v Uc5TXq7uIn+dkoxUXIFz0m1neJyLladvN0IegeYV9U9b8N7ZErkK3dhQPF/VmnlHGR Mixg6GDZRALt8cCJGff5DURFBMbMZHBsYjrjYUt0= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [100.120.147.234] ([84.17.52.175]) by mail.gmx.net (mrgmx005 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MIdeR-1nzcES0Ve9-00EfRh; Tue, 31 May 2022 15:24:37 +0200 Message-ID: Date: Tue, 31 May 2022 15:24:35 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: PROBLEM: with daemon.c after y2038 on 32-bits Kernel Content-Language: en-US To: Szabolcs Nagy Cc: Adhemerval Zanella , Arnd Bergmann , y2038@lists.linaro.org, libc-alpha@sourceware.org, linux-kernel@vger.kernel.org References: <4b83ea18-e106-e7ec-d1d9-daa74aeaf990@linaro.org> From: =?UTF-8?Q?Arnaud_Pana=c3=afotis?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Antivirus: Avast (VPS 220531-2, 31/5/2022), Outbound message X-Antivirus-Status: Clean X-Provags-ID: V03:K1:OXiv5Ofe7WJMq9bAohX5C1VNgstjS1X2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pUNvfig+tmprvU7rKutEkzcmpclU+PaqV6+b gXmlneLgxgmhyoW4QWYh7y/TIehAoMTVDEoEOUyTi8lnisE/vXI6eAGhNH8HNxpDLAveXIY5P yg5AK+qDSdQuiMAO2Rv70yGSvcFYKE46ruGpEgqO3VH4uRU7xBGubTk7itd8+26oqVBaj2clf hefeR42E26o0YZCKmNgTVa0FXQlkz/mmVx6DGuRItpJoiP32v2O6NGh+6I2tJ3/Xvatx9Uqze Rs6AunGZfjOtq8pnq/XpRXaYwIW1qqVylLHwlIahk4gB4hC+ylBlNRC0ZhcaLlDICXpiALJxO ZU1hxKAlOOpQBhDJk+dh+5tJ X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 31/05/2022 15:02, Szabolcs Nagy wrote: > The 05/31/2022 14:16, Arnaud Pana=C3=AFotis 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 timestamp= s. >>>>> Are you able to rebuild the ssh binary (or your entire distro, if th= at'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. Not really, I'm working on an existing project that was developed before with Glibc. If I remember correctly some packages used by the project did not build with musl (even with the previous version of Kernel). The purpose of my mission was to analyze how to pass y2038 on embedded devices (2 Linux and 1 Windows), now is to build the solution. Upgrading Glibc and Buildroot were easier than switching to musl due what was done before. I probably would have to change many elements (packages, init scripts...) if I'd switched to musl. Now both y2038 Linux works with glibc, this subject is the third I raised (mysqld solved by a patch I made, cp binutils with issue from fchmodat (bug 29097)). =2D- L'absence de virus dans ce courrier =C3=A9lectronique a =C3=A9t=C3=A9 v=C3= =A9rifi=C3=A9e par le logiciel antivirus Avast. https://www.avast.com/antivirus