Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp613357imu; Fri, 25 Jan 2019 07:57:38 -0800 (PST) X-Google-Smtp-Source: ALg8bN6kYg/KK4BVGqQTwLamu/4k1hrj0/BmIp9/g/QH7zgui8eYLuvVwms8N/uXGiAhixcDoUIi X-Received: by 2002:a17:902:2:: with SMTP id 2mr11850159pla.228.1548431858857; Fri, 25 Jan 2019 07:57:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548431858; cv=none; d=google.com; s=arc-20160816; b=o6i+OKgV+Mh0wBkpSrr9PamMwDG2C0A3O+Ch2YZHaZHBKMr0SgeQS2CLyGxvnT7dmi T/aWFao7LPWT3km/qrD6hvJBQduABkGvvvj1w0j/U11Dghx2ECGqs4clIeBKKLlhVR9D gSO+HkhdvoiVT/ww7JSaZTJadJNehYf8+pbiqrOWudnlDvfYDbaCGeHlPnbNJOumwxxT WzbfeKJrzHOG6nYfKZqSE1HjGaH7dQjh52Jc15jfVmoywvelF+fEO7nF+orpt/GS1QSG gyLemMjIKdKYufZ1fYHRGpVCMh8xTscHqGHKhN2xOZeoG0pqZT0FhXj+I/ANUp4K0uma 1xMA== 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=4upjQPCKDEiRwAs3wMy75yVBK36WZdCX7gKPu2r9mTo=; b=y2cZ/ZVJdK6F/eDDKqZ0VWKIV1V32G2t9tVnkZDMrzRAsfuV6QniT/1bM+fPdydNiC y+zW8MEMHPYNKUq7EGSRqjSW4aHYeDsVP3wcP5q2upz7blPsI4wKIdeTZuDoKK9hDLJ4 hXNQXsTQNHl1veIKPeWohSCg5Ml8i70FlPOXbEE33tYwOCdZBug7iwIRGU2Sg1eUuI1j 6AcZFjGIa8n4QS2xKHPsVihw3dK77HP2nn+9lMoXwpsU9v3D3P3LEm2MV2xJr2y9Ohrt YjEBsfTYCmzUsTf+008mD8B3y6uHGFpfwTTdW3CDcH0/YbfI8wtqSz5IlejqQLXv5rbG 8J0w== 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 l10si27188167pls.162.2019.01.25.07.57.21; Fri, 25 Jan 2019 07:57:38 -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 S1728641AbfAYPzy (ORCPT + 99 others); Fri, 25 Jan 2019 10:55:54 -0500 Received: from foss.arm.com ([217.140.101.70]:49568 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726256AbfAYPzx (ORCPT ); Fri, 25 Jan 2019 10:55:53 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C2BC2A78; Fri, 25 Jan 2019 07:55:52 -0800 (PST) Received: from arrakis.emea.arm.com (arrakis.cambridge.arm.com [10.1.196.113]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 5A0403F5AF; Fri, 25 Jan 2019 07:55:46 -0800 (PST) Date: Fri, 25 Jan 2019 15:55:43 +0000 From: Catalin Marinas To: Arnd Bergmann Cc: y2038@lists.linaro.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, mattst88@gmail.com, linux@armlinux.org.uk, will.deacon@arm.com, tony.luck@intel.com, fenghua.yu@intel.com, geert@linux-m68k.org, monstr@monstr.eu, paul.burton@mips.com, deller@gmx.de, benh@kernel.crashing.org, mpe@ellerman.id.au, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, dalias@libc.org, davem@davemloft.net, luto@kernel.org, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, jcmvbkbc@gmail.com, akpm@linux-foundation.org, deepa.kernel@gmail.com, ebiederm@xmission.com, firoz.khan@linaro.org, linux-alpha@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-ia64@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, netdev@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH v2 29/29] y2038: add 64-bit time_t syscalls to all 32-bit architectures Message-ID: <20190125155542.GI25901@arrakis.emea.arm.com> References: <20190118161835.2259170-1-arnd@arndb.de> <20190118161835.2259170-30-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190118161835.2259170-30-arnd@arndb.de> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 18, 2019 at 05:18:35PM +0100, Arnd Bergmann wrote: > This adds 21 new system calls on each ABI that has 32-bit time_t > today. All of these have the exact same semantics as their existing > counterparts, and the new ones all have macro names that end in 'time64' > for clarification. > > This gets us to the point of being able to safely use a C library > that has 64-bit time_t in user space. There are still a couple of > loose ends to tie up in various areas of the code, but this is the > big one, and should be entirely uncontroversial at this point. > > In particular, there are four system calls (getitimer, setitimer, > waitid, and getrusage) that don't have a 64-bit counterpart yet, > but these can all be safely implemented in the C library by wrapping > around the existing system calls because the 32-bit time_t they > pass only counts elapsed time, not time since the epoch. They > will be dealt with later. > > Signed-off-by: Arnd Bergmann Acked-by: Catalin Marinas (as long as compat follows the arm32 syscall numbers)