Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1316586pxx; Fri, 30 Oct 2020 07:21:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3ZTcYcxYkl9ql9RJUKRhiyF+aYqiRYsou7dhh2A4er+BzncJYzfTnHaOjMTHCYjZvlD6J X-Received: by 2002:aa7:d3d0:: with SMTP id o16mr2641552edr.47.1604067715696; Fri, 30 Oct 2020 07:21:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604067715; cv=none; d=google.com; s=arc-20160816; b=FFlSZ5PDoxmzvQ3soIy9Cd1NAUhLr9TzTUJ/mxWamPaXwIzsVAZuybOe/ioBkcnWpy O6yxqVOhUd1UPqU+Yd31Ka4KTP281H84GVVcE/DPgJ6JqbNuXkB/6NbQne2xmyI+OYHN uu3WzgSxIecmdN6O4N3sKIjeNMJHGUQjcsMfmt9Vh1rm+UohMuSM5DLfYuWb0ZnR/BJK ztfarFGuNMy/OysYKAakkBEO1V/ktqRIM+e5QDv4UDnQi+SUhsb3T2g5mrGJgoDpRJtO WCzEHQJC+6UVeNGFUPyoVmleRIQx9qpxHXbKkJTvMIYa6qA5DmvamkRRGlQUXK9biGSD vY4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=oEOZCMosOSMnTJgtJMTlXx8FNSY2PM5L8lNCqp4XWTc=; b=k+JW2OCOKrEkXXUH2f5ccta/UmfgRMz58VYHDJ1UQPmzt6B6GUC8cQLTiOJm6ikDGZ dcLfAEn0zclBgbk4L2CGjf5dEVYzeL4AO4ZekqkxIzQ5ax4/l0WpUszKaUyy/uD3dOVp MnK0VrcMLvK9vvSPno7YVcXZiOqfRWQmyoKAUP6DkiFSufXMO1VP2eIRGyFxQDnzFLu8 Xps/e4G2qu+mJWnD+Wo2EtH+XgXEGZzNsDdOSAFfboAuGs/iY8o1+/9mc5AQIScHGME8 j9NIiZD1ucNvdHyYnBWKaSZu/mLzlQOE4/VpHfevAoZieRXwdw47dGApQgi3PEA88B0R 7bZg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bo1si4376214ejb.697.2020.10.30.07.21.33; Fri, 30 Oct 2020 07:21:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726491AbgJ3OSK (ORCPT + 99 others); Fri, 30 Oct 2020 10:18:10 -0400 Received: from l2mail1.panix.com ([166.84.1.75]:52470 "EHLO l2mail1.panix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725834AbgJ3OSJ (ORCPT ); Fri, 30 Oct 2020 10:18:09 -0400 X-Greylist: delayed 924 seconds by postgrey-1.27 at vger.kernel.org; Fri, 30 Oct 2020 10:18:09 EDT Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by l2mail1.panix.com (Postfix) with ESMTPS id 4CN3sx748pzDTD for ; Fri, 30 Oct 2020 10:02:45 -0400 (EDT) Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) by mailbackend.panix.com (Postfix) with ESMTPSA id 4CN3sx0g0gz1f9f for ; Fri, 30 Oct 2020 10:02:45 -0400 (EDT) Received: by mail-ej1-f46.google.com with SMTP id 7so8817516ejm.0 for ; Fri, 30 Oct 2020 07:02:45 -0700 (PDT) X-Gm-Message-State: AOAM531TOLUaX9vwHWw53k7zZnNiUXnu/ZtcarnWgLJZ4jLJnA4PcWgw md/KDQoP9P5pQgx8H23NmdqOpaWGh0m7NxNAqYU= X-Received: by 2002:a17:906:2895:: with SMTP id o21mr2759315ejd.332.1604066564183; Fri, 30 Oct 2020 07:02:44 -0700 (PDT) MIME-Version: 1.0 References: <20201030110229.43f0773b@jawa> <20201030135816.GA1790@yuki.lan> In-Reply-To: <20201030135816.GA1790@yuki.lan> From: Zack Weinberg Date: Fri, 30 Oct 2020 10:02:29 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [Y2038][time namespaces] Question regarding CLOCK_REALTIME support plans in Linux time namespaces To: Cyril Hrubis Cc: Lukasz Majewski , Thomas Gleixner , Andrei Vagin , GNU C Library , Linux Kernel Mailing List , Dmitry Safonov Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 30, 2020 at 9:57 AM Cyril Hrubis wrote: > > According to patch description [1] and time_namespaces documentation > > [2] the CLOCK_REALTIME is not supported (for now?) to avoid complexity > > and overhead in the kernel. ... > > To be more specific - [if this were supported] it would be possible to modify time after time_t > > 32 bit overflow (i.e. Y2038 bug) on the process running Y2038 > > regression tests on the host system (64 bit one). By using Linux time > > namespaces the system time will not be affected in any way. > > And what's exactly wrong with moving the system time forward for a > duration of the test? Interference with other processes on the same computer? Some of us *do* like to run the glibc test suite on computers not entirely devoted to glibc CI. zw