Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6163987imu; Mon, 21 Jan 2019 04:21:26 -0800 (PST) X-Google-Smtp-Source: ALg8bN4/I0FXTZ/fdguuzOfD8zHA6bUxbNtEd8CvWr2NnBXOdt0avZM578Ckem7+F8MSJA1/PUvD X-Received: by 2002:a17:902:b90b:: with SMTP id bf11mr29677797plb.284.1548073286643; Mon, 21 Jan 2019 04:21:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548073286; cv=none; d=google.com; s=arc-20160816; b=0sf3FYO9wyI9Ei9bq5T4or34HDctQGgQSkPRwFkm7IyTnGUE5AIakaYQpHKgdlPbKB rliU1ON9HidUd+yQTaQIC7/OPVb9QpDBVJE5gYvazDaDx6qf1ZeexNUvbqcT8cRH17A/ eb/Xj8I22AnXbk1Aco/T2JU11tUYgH2RYB6j0hDEOmIU4tgn4yrqKUrHaq1bsEk4QR/Y E5K+0/eSLWIQQuXisiSpnlAa9Dc9/tsYdIgLdbEj2KoGCtZoeqw5Cm2GV0yVaEaCtQ32 DNqbHwRAGwkgQ1wgpACHLkSMBDWa9C6jLFuKhMFSdPyxiOpo+PgJapW8NwdjA+Jz/zZp Y1NQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:message-id:in-reply-to:mime-version :references:subject:cc:to:from:date; bh=I+gTeqf6sEFSAR5OzdBvGy1nx/ppFzjdjr7opGi2zg8=; b=KRh/908/Pn0Gq69G7izHBk3rDoncuY+O3STpWnHm7V+QpOeI1rGKXaguGPfSsLy/8D ETZnnBaPnOfGfPKzzKq9JbkHH1SZeiLkqWqDczfpF5vOtwqBjQHMdRkeoLcFVHhbNi6A 5AkilIt9Z/gE5PIapE95RXrU8fWzg70dY7ssKM7Mve6ioBVfLnQefqY8wsbgrWZ0gVoV CrgLzGAWEvWDmE4Z3eRW75mHxR8AeBE7uNscncOG0Gf+FjM/5Awg4EUM0Qk8sQAGGUvx xavmKNThwe/I/msHXjMyecI2y/UADhB+aiuqStRHSCX52GPCcqPHbfKFOvmGhsPidrn3 yi3Q== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e9si12464447plt.181.2019.01.21.04.21.03; Mon, 21 Jan 2019 04:21:26 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728477AbfAUMTq (ORCPT + 99 others); Mon, 21 Jan 2019 07:19:46 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:41380 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728318AbfAUMTl (ORCPT ); Mon, 21 Jan 2019 07:19:41 -0500 Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x0LCJJ6w106298 for ; Mon, 21 Jan 2019 07:19:39 -0500 Received: from e06smtp04.uk.ibm.com (e06smtp04.uk.ibm.com [195.75.94.100]) by mx0b-001b2d01.pphosted.com with ESMTP id 2q5chmcah9-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 21 Jan 2019 07:19:39 -0500 Received: from localhost by e06smtp04.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 21 Jan 2019 12:19:36 -0000 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp04.uk.ibm.com (192.168.101.134) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Mon, 21 Jan 2019 12:19:27 -0000 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x0LCJQuZ60817412 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 21 Jan 2019 12:19:26 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 528CF5204F; Mon, 21 Jan 2019 12:19:26 +0000 (GMT) Received: from osiris (unknown [9.152.212.95]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTPS id 4C7C552051; Mon, 21 Jan 2019 12:19:25 +0000 (GMT) Date: Mon, 21 Jan 2019 13:19:24 +0100 From: Heiko Carstens 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, catalin.marinas@arm.com, 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, 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 References: <20190118161835.2259170-1-arnd@arndb.de> <20190118161835.2259170-30-arnd@arndb.de> MIME-Version: 1.0 In-Reply-To: <20190118161835.2259170-30-arnd@arndb.de> X-TM-AS-GCONF: 00 x-cbid: 19012112-0016-0000-0000-000002484921 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19012112-0017-0000-0000-000032A279F9 Message-Id: <20190121121923.GF4020@osiris> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit Content-Disposition: inline X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-01-21_07:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=517 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1901210097 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 > --- > arch/s390/kernel/syscalls/syscall.tbl | 20 +++++++++ For the s390 bits: Acked-by: Heiko Carstens