Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1358561pxx; Fri, 30 Oct 2020 08:14:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWTKD0z/8p3jh7cfyRBwMJhIM0xD69X1k495CAU0d3UayWNFEzf3JagRNxwECkSOOn9OvC X-Received: by 2002:a17:906:2548:: with SMTP id j8mr2896219ejb.140.1604070895885; Fri, 30 Oct 2020 08:14:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604070895; cv=none; d=google.com; s=arc-20160816; b=FZ5I0R/zmwUYtJI2drFzagFQJhPWx7b73/4RQSfgjbNfw4v+AALvTr8L+LRlL9BarZ QpwJAbPqc71vL+bUN1QjTCjx6quyc740kmGb39N/7jM7YLfI+1yFoE7A8Uc54Zbd5qtE DJmrTBj+ckSk1nR1JlEj8MHXWLIhgO9ahuTy0pX/M9xXtZsPcLKJ7xoZunEuv5+YZc9i xtSXcItC1AltoXulI/yHPZUj5gYDjCaE4C6oWmRq57OivhwCv/EnT6aedTB0IJufYETB pre1zeLRLZY2MSFDWuEVX1ABGm/4d4sPNQSKNqkbnuw2DnuYSorOC5PPTdu6PlG44+8Y zrsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=9wGjxMvPHeaomJM6gSl6Q4fS9j3pKCTwNKb3PNq3yZo=; b=Qb7x2j/p1/EuHfPmvNcYUt6/EKoxkjv7okQeDtxTxi2r2C1/LOIQtAXdpz2ACJMbdj /RUGdqJbyahWT0sLhLFuLeDnpwlIvuINICYFsEJV3QnHP9Fpgr0wep4RR75BNALY/1l9 2IKGi5I3x1CdU7OlCVH2259I2ZnGW6jGpJawaHO/3Ly1gbmRfT66mfvhuit4gL3qtykt ALcdxfswOJfcddSeiGRyLfug6aWql5s0W4xxVnDkILauYWmLW2YmmRYgWKjsV9Iso3HI 8bUN9Czum0lGQFEvmtko7pW8shaU4FZXwf/+raA9SZ7eQyM5HBz8iVx0XP+As5Mffk/u KubA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=LQFVw4VU; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=b4KDRU00; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d22si3992280ejc.554.2020.10.30.08.14.32; Fri, 30 Oct 2020 08:14: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; dkim=pass header.i=@linutronix.de header.s=2020 header.b=LQFVw4VU; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=b4KDRU00; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726773AbgJ3PK3 (ORCPT + 99 others); Fri, 30 Oct 2020 11:10:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725975AbgJ3PK2 (ORCPT ); Fri, 30 Oct 2020 11:10:28 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95C0AC0613CF for ; Fri, 30 Oct 2020 08:10:28 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1604070626; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9wGjxMvPHeaomJM6gSl6Q4fS9j3pKCTwNKb3PNq3yZo=; b=LQFVw4VUE7tdqEBCFqu31Pz7As2+jhO0blrnSzV5nUp0hVM16cQGyQmsZSzkSCmIyZ3qFj Po0pj2R3tixui1jUox7SIBiwSdzC4mxePcZwOHKRIDIb0bl4/ZrzR2HMxYZD0P31ZRiGFX dR3+uInKvkT8vGEwzMrf0Judr7/X5iYcW512fa8F0e0ZArODZKUEaVsuWuhwIsMdWtgPFb lRFIu1a5KB+zEKNQO7IZUU5IgvtXQTUT4O/6lrHR7nC5cE5JuRPYcxxKMwXJl4B/dU4293 d0rZ8ik/Hi0MJEQxrKaww9raLmyJ4VjK4Y2bxUl3Ye9O9qeKW2iHpGoiuQ68Xw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1604070626; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9wGjxMvPHeaomJM6gSl6Q4fS9j3pKCTwNKb3PNq3yZo=; b=b4KDRU00/mUt7SdS5Y+Dcay+FeC0fPmUHW8pIiJbNaLNqIXlR0lFb5AQsA2TzNmt6u+QdB 6g/5FLd2CTMbHsCw== To: Zack Weinberg , Cyril Hrubis Cc: Lukasz Majewski , Andrei Vagin , GNU C Library , Linux Kernel Mailing List , Dmitry Safonov Subject: Re: [Y2038][time namespaces] Question regarding CLOCK_REALTIME support plans in Linux time namespaces In-Reply-To: References: <20201030110229.43f0773b@jawa> <20201030135816.GA1790@yuki.lan> Date: Fri, 30 Oct 2020 16:10:26 +0100 Message-ID: <87sg9vn40t.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 30 2020 at 10:02, Zack Weinberg wrote: > 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. That's what virtual machines are for.