Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6159968imu; Mon, 21 Jan 2019 04:17:14 -0800 (PST) X-Google-Smtp-Source: ALg8bN4kQNFBKiC8sEL//FZNjVwhb2BCK8oHHpoMcMbwnWXKVGFd7DVUWUJfYkV0q1YFw+TkJaZD X-Received: by 2002:a62:3811:: with SMTP id f17mr30085673pfa.206.1548073034303; Mon, 21 Jan 2019 04:17:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548073034; cv=none; d=google.com; s=arc-20160816; b=K2wCO+fUh9LhQRRE+//bZZzxevfjY5JvODz9b+B9J706nq5Uq2SdQGTNx5Qdj55/eU QBDGqaZm/0rmFoJEMDux8yhSdyrY2xmyGUSMB7x23d1/fv4FywzZL8IE39j6flOUHOP+ dTkZV8BUeM/uUsSqNNEC7uOMyFvmdQ2Xb9s/iqfjuytBP3LwKkqIb/G3O3q8lBdxQFGZ /TK+GK6/iQwTMsNzKny1RGjE96h0ecXzsNdzn/nphzy6CfpXLkPtAAye6ox38K+30nqs 723d7MyPvXz93Nf/RkPh4lvUcxtBySH8WTRkPtZm8HhzwcZ0XwuO24USHeYzNFI4ewAX aGyA== 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=4deAijecvunf18Mu1SpU/CTmHMXUeQFeu4hNvZCNlEo=; b=dVQqsMw0NP1/xuEpgglW6AC3rZpsvPYE4ssVAjxOpoQjCrTDUy8r3cDcBvaR2PKqdD HjjjFg8VOwSImCa7lxdfSrtrVK9Ot15KR2KWd5VZE3LIAsF/4YpCFiu1jbOrj3Uilb41 SyEavOM0O66ps4ejmj/hbxlfOOCFfJGgSw67wR9qrM6FLT0qs3RaLLaOASKA0rX3H276 DdM5a9vDm2IJe4fB1fR5PVTUQ/DjIm9rqUi01V/8TbWClXLaqE7GhRq0w0t82Jtzm08E y1zAJ6s/NKBOPBsoQ7DWgauGW0Lqlm+G0dnczOx3PDh4jopWCi4w9arQsQp+oZRk9t+x stIQ== 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 b1si12372845plc.332.2019.01.21.04.16.45; Mon, 21 Jan 2019 04:17:14 -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 S1728412AbfAUMPi (ORCPT + 99 others); Mon, 21 Jan 2019 07:15:38 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:41708 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728380AbfAUMPg (ORCPT ); Mon, 21 Jan 2019 07:15:36 -0500 Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x0LC5sm1052431 for ; Mon, 21 Jan 2019 07:15:35 -0500 Received: from e06smtp04.uk.ibm.com (e06smtp04.uk.ibm.com [195.75.94.100]) by mx0a-001b2d01.pphosted.com with ESMTP id 2q5ctdb65h-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 21 Jan 2019 07:15:35 -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:15:32 -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:15:22 -0000 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x0LCFLl829687808 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 21 Jan 2019 12:15:21 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9ADEC11C066; Mon, 21 Jan 2019 12:15:21 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 921E611C04C; Mon, 21 Jan 2019 12:15:20 +0000 (GMT) Received: from osiris (unknown [9.152.212.95]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Mon, 21 Jan 2019 12:15:20 +0000 (GMT) Date: Mon, 21 Jan 2019 13:15:19 +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 28/29] y2038: rename old time and utime syscalls References: <20190118161835.2259170-1-arnd@arndb.de> <20190118161835.2259170-29-arnd@arndb.de> MIME-Version: 1.0 In-Reply-To: <20190118161835.2259170-29-arnd@arndb.de> X-TM-AS-GCONF: 00 x-cbid: 19012112-0016-0000-0000-0000024848AE X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19012112-0017-0000-0000-000032A27988 Message-Id: <20190121121519.GE4020@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=675 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1901210096 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:34PM +0100, Arnd Bergmann wrote: > The time, stime, utime, utimes, and futimesat system calls are only > used on older architectures, and we do not provide y2038 safe variants > of them, as they are replaced by clock_gettime64, clock_settime64, > and utimensat_time64. > > However, for consistency it seems better to have the 32-bit architectures > that still use them call the "time32" entry points (leaving the > traditional handlers for the 64-bit architectures), like we do for system > calls that now require two versions. > > Note: We used to always define __ARCH_WANT_SYS_TIME and > __ARCH_WANT_SYS_UTIME and only set __ARCH_WANT_COMPAT_SYS_TIME and > __ARCH_WANT_SYS_UTIME32 for compat mode on 64-bit kernels. Now this is > reversed: only 64-bit architectures set __ARCH_WANT_SYS_TIME/UTIME, while > we need __ARCH_WANT_SYS_TIME32/UTIME32 for 32-bit architectures and compat > mode. The resulting asm/unistd.h changes look a bit counterintuitive. > > This is only a cleanup patch and it should not change any behavior. > > Signed-off-by: Arnd Bergmann ... > arch/s390/include/asm/unistd.h | 2 +- For the s390 bits: Acked-by: Heiko Carstens