Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5988196imu; Mon, 21 Jan 2019 00:58:20 -0800 (PST) X-Google-Smtp-Source: ALg8bN4aPGqkR8/16zVQIcCYwqXak3m0N+ksS1+NbBacB1J4IVMwjyMpc/g+dczBY0eVID4ZlSH2 X-Received: by 2002:a17:902:2b8a:: with SMTP id l10mr27851010plb.70.1548061100521; Mon, 21 Jan 2019 00:58:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548061100; cv=none; d=google.com; s=arc-20160816; b=WhwgNzYXKXWmhDFXgiHDQGXSAurNRn3/H5mvbIMcj0V3xESpkZhID3mqSTe1O/l52F mZtoGN4itAepxBz394++B7OHHWkSjW++6YBsRJoCKbXnFFrvQ9XNgvc/emTdRTTt00D0 HM2J4dJtTQwkw47a5nAFkixEWmIlaAU7HILEjy2V56DMNnYNH0Np9m/muXDXNelYUDj1 EHuFTogxYh8QhXEVq0rHCT0N3cSi/lLvPXzZxpd6VKyafkZbVJstCmXYas9xIT8GQtQi sLaH3HQ3IbmrcJK3qp633wtJ/gl+ySJ98vKEm2fK/ssq98iNwfY6lSQnubA+gC6lIx67 Qbog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=Uun2AU3eJW+aX9fhOUjPPIC4XfawfY9i9oS9NgvU6Z4=; b=awzz5XYqVjf5eK8qsfpW6F2bYyHPPIMvhT45F7o7oTGwTyMvVVNp9EaT3F0VRT+wBN ds3u55SCTmg7Fn82TxHfyzekzvDU8gtANmu/7KIfgF31MOble7tij1Mh/K8aprTt/GIr DRPbpGi1ipKDDMmO5hNQO6cD1bHY+x1mZrMmLsEZa2Uv9HjTp6Rtjoweau99gZu5VEt7 RsSLYK3mNg4us9tJPKweWKWYNGxJOQ/8xZRIpyf/xrDPYMmC0sW3X7o7Nk7gAl6Vm94c gTGFJkagou3ulhwoZsluAIgXDyXJJNl6vsivQ8aggVUk3UrQ38E8VnhR+A4l2ImWQxRi iXow== 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 w190si12590376pgd.338.2019.01.21.00.58.05; Mon, 21 Jan 2019 00:58:20 -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 S1729966AbfAUI4Y (ORCPT + 99 others); Mon, 21 Jan 2019 03:56:24 -0500 Received: from mail-vs1-f65.google.com ([209.85.217.65]:43551 "EHLO mail-vs1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729860AbfAUI4V (ORCPT ); Mon, 21 Jan 2019 03:56:21 -0500 Received: by mail-vs1-f65.google.com with SMTP id x1so12141390vsc.10; Mon, 21 Jan 2019 00:56:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Uun2AU3eJW+aX9fhOUjPPIC4XfawfY9i9oS9NgvU6Z4=; b=PA94EDL2K5Zfg09NwyH7gxdqMe6rq+6Bkpa47ZcNK5VdQjSTqyqa6JZ1fXWyPhowNt c6IClQjbx8pFE/DO5rNy0KHS6RVO0Z+e8l+54jRGpTjt/3Z3MvtdLyEe1yvkjhXNRfWI Jb19x2LXb/cYhYPzJwzqsFh08m4oULnJw4cbmRAYyrBjslBCh6QNXjEu8NMYC//eiEaI 8q2SyHlZzA6PLW2azL2DHW41QNoL7qSQtWVaUe1rbaCVmwV/ZIMGcMe9KT6VoBZs1V7P 0pHpWjj1pUONqi0Hsr9coxDhg2flvzYOExkA+SWNwgB6xb7QRbyJJ2B2bU8pd1G85f5q TbBg== X-Gm-Message-State: AJcUukd0PKrObwi5L7kBSeX3zvIe9pZX09bWlI24/MY9yfaYyfnZ/5XX Hs8I2lClRVTqzqukhDI8jX3mUww2/jAy30NFx84= X-Received: by 2002:a67:f43:: with SMTP id 64mr11966034vsp.166.1548060979206; Mon, 21 Jan 2019 00:56:19 -0800 (PST) MIME-Version: 1.0 References: <20190118161835.2259170-1-arnd@arndb.de> <20190118161835.2259170-29-arnd@arndb.de> In-Reply-To: <20190118161835.2259170-29-arnd@arndb.de> From: Geert Uytterhoeven Date: Mon, 21 Jan 2019 09:56:06 +0100 Message-ID: Subject: Re: [PATCH v2 28/29] y2038: rename old time and utime syscalls To: Arnd Bergmann Cc: y2038 Mailman List , Linux API , Linux Kernel Mailing List , Linux-Arch , Matt Turner , Russell King , Catalin Marinas , Will Deacon , Tony Luck , Fenghua Yu , Michal Simek , Paul Burton , Helge Deller , Benjamin Herrenschmidt , Michael Ellerman , Martin Schwidefsky , Heiko Carstens , Rich Felker , "David S. Miller" , Andy Lutomirski , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , "the arch/x86 maintainers" , Max Filippov , Andrew Morton , Deepa Dinamani , "Eric W. Biederman" , Firoz Khan , alpha , Linux ARM , "linux-ia64@vger.kernel.org" , linux-m68k , linux-mips@vger.kernel.org, Parisc List , linuxppc-dev , linux-s390 , Linux-sh list , sparclinux , netdev , Linux FS Devel Content-Type: text/plain; charset="UTF-8" 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 5:21 PM 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/m68k/include/asm/unistd.h | 4 ++-- > arch/m68k/kernel/syscalls/syscall.tbl | 10 +++++----- For m68k: Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds