Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp6139069ybx; Mon, 11 Nov 2019 04:32:33 -0800 (PST) X-Google-Smtp-Source: APXvYqz9im2m2AzbxNVRljNjduIPVE0sagVAlzL1y0zFrBqfxvWViLQgO2Fv1YZuCWeL+soREMwT X-Received: by 2002:a17:906:448e:: with SMTP id y14mr23039559ejo.136.1573475553061; Mon, 11 Nov 2019 04:32:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573475553; cv=none; d=google.com; s=arc-20160816; b=o3DqJarLsrYkVdxR5aYAXsj+X4ob+gmlC8+JJM741zpt222PKqbHII7W05kVDDKljx A34UDMnN5v80bNDS0NcB+/Gm0Hygj2NiChyR0sqpSOGAYaf/ht9QltA7exH7pjLAzaol db6RQNliQntDZYltkIahWa3DgqbBaxPJ6DhsggDxH5+VQTkUOfT+JgAEwqpgV5W58GRI KHfolawwaS5wgx89TcfILkVUBXqY5XCP3pHMfBFduZBiEw09jGo8v3oUacK/psnuq0+C si+lka/KcYdN/n9qy2I2Eqi4HnZ796RyUyEOvuuG78NNBOBN6k9nLuPY8y1Np6A6B4Pb bC8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=l09pp5vkgcPePzG498e2788Af/fcn5bW4RlxJuU23vI=; b=mv6QQ4LuiCyqrDpOTrfWXAI4MCVNtwGmQwbLhXDeIhJVADACQ84iroJLZDceguiojl lBmii9L6855/Fs4WWyDQ/PQi/uC4OyOPytK/OJQx/DFhlkCR8w0DxUJhEcPH9xA1h5tV jZ+AW87t89kVWorjir7EF5w8f7YSFzkic/gInD+nOFB8hz2GC/sM6bx3KsRg4LwT1UZ8 Kd291WUf0mhD3+JyHqVh7MEqtXNjZHja4+SS3ndg8+u78Bdcl7G2QySmM6Nie17qrnpx pUX+02qRAZIcbKs7woiwzpokdvKvc2NXYVyirXljvWGmS1jri5HsTALFq8dEHgd4iefo H0xA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j17si9683799ejd.314.2019.11.11.04.32.03; Mon, 11 Nov 2019 04:32:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726964AbfKKMbV (ORCPT + 99 others); Mon, 11 Nov 2019 07:31:21 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:48188 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726946AbfKKMbV (ORCPT ); Mon, 11 Nov 2019 07:31:21 -0500 Received: from p54ac5540.dip0.t-ipconnect.de ([84.172.85.64] helo=wittgenstein) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1iU8qk-0000Ls-Tz; Mon, 11 Nov 2019 12:31:18 +0000 Date: Mon, 11 Nov 2019 13:31:18 +0100 From: Christian Brauner To: Arnd Bergmann Cc: y2038@lists.linaro.org, linux-kernel@vger.kernel.org, Ingo Molnar , Peter Zijlstra , Thomas Gleixner , Geert Uytterhoeven , Christian Brauner , linux-api@vger.kernel.org Subject: Re: [PATCH 23/23] y2038: allow disabling time32 system calls Message-ID: <20191111123116.upuqpdetbxdmfp3i@wittgenstein> References: <20191108210236.1296047-1-arnd@arndb.de> <20191108211323.1806194-14-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20191108211323.1806194-14-arnd@arndb.de> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 08, 2019 at 10:12:22PM +0100, Arnd Bergmann wrote: > At the moment, the compilation of the old time32 system calls depends > purely on the architecture. As systems with new libc based on 64-bit > time_t are getting deployed, even architectures that previously supported > these (notably x86-32 and arm32 but also many others) no longer depend on > them, and removing them from a kernel image results in a smaller kernel > binary, the same way we can leave out many other optional system calls. > > More importantly, on an embedded system that needs to keep working > beyond year 2038, any user space program calling these system calls > is likely a bug, so removing them from the kernel image does provide > an extra debugging help for finding broken applications. > > I've gone back and forth on hiding this option unless CONFIG_EXPERT > is set. This version leaves it visible based on the logic that > eventually it will be turned off indefinitely. > > Signed-off-by: Arnd Bergmann Acked-by: Christian Brauner