From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 81996C282F6 for ; Mon, 21 Jan 2019 09:05:50 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 00F75214DA for ; Mon, 21 Jan 2019 09:05:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 00F75214DA Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 43jlyM3QS5zDqYV for ; Mon, 21 Jan 2019 20:05:47 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=209.85.217.67; helo=mail-vs1-f67.google.com; envelope-from=geert.uytterhoeven@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Received: from mail-vs1-f67.google.com (mail-vs1-f67.google.com [209.85.217.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 43jllT1WrlzDqX0 for ; Mon, 21 Jan 2019 19:56:21 +1100 (AEDT) Received: by mail-vs1-f67.google.com with SMTP id e7so12171851vsc.2 for ; Mon, 21 Jan 2019 00:56:21 -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=VjnAXF2FCXPOlhhOx/k7mCIwWDFF1hjf68bfUm6lvhYe+mEK7Zzlyx8ePskgjdKUTw m12EUGOeX3KctrZWQavPMkCMbaO0fWZBkIXy3AJqMg32AbUJumi9GQTe8iSsctiVy63H hZXaq2HF5MrIIrEMU8Mw4gcomPUB5/p/Mek8njocfNj84oB6AdMefkNH9dpaiTrpkm+T kbWvKVBNMFJvNz7AcQA3vnkclzwvu495BGD8UbFdqhipvUgXrl9WbSsGsny4RaIYlJ04 b4XJm+cAie4NjZRdF5tlGQGMkNYK1gK9gnfWT9mEnxcor3NUS9L4CFm7sm54TyJpHfb1 1cFA== X-Gm-Message-State: AJcUukc6xrTfMI2BQ3ermNojNR3+jC1Q3BlvJONz1sFdQcv8D+yNUSuu r+SKNDJtnsUzx8Q9B8DzRCCbqGpgye+W3XdQTrE= X-Google-Smtp-Source: ALg8bN5Zv5T9HgEze01gQpDUuzyqM6YeldP0GcLXE8vieJqOlkOh/z7Dnz2dgUAbu8nwMIPAviPimX4i+NMBPPzq9wY= 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 Content-Type: text/plain; charset="UTF-8" X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rich Felker , "linux-ia64@vger.kernel.org" , Linux-sh list , Heiko Carstens , linux-mips@vger.kernel.org, Max Filippov , netdev , Deepa Dinamani , "H. Peter Anvin" , sparclinux , Linux-Arch , linux-s390 , y2038 Mailman List , Helge Deller , the arch/x86 maintainers , Russell King , Ingo Molnar , Firoz Khan , Catalin Marinas , Matt Turner , Fenghua Yu , Will Deacon , Linux FS Devel , linux-m68k , Andy Lutomirski , Thomas Gleixner , Linux ARM , Michal Simek , Tony Luck , Parisc List , Linux API , Linux Kernel Mailing List , Paul Burton , "Eric W. Biederman" , alpha , Martin Schwidefsky , Andrew Morton , linuxppc-dev , "David S. Miller" Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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