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 40FA7C282DB for ; Mon, 21 Jan 2019 08:56:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1BBD520989 for ; Mon, 21 Jan 2019 08:56:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730010AbfAUI4a (ORCPT ); Mon, 21 Jan 2019 03:56:30 -0500 Received: from mail-vs1-f66.google.com ([209.85.217.66]:37589 "EHLO mail-vs1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729971AbfAUI40 (ORCPT ); Mon, 21 Jan 2019 03:56:26 -0500 Received: by mail-vs1-f66.google.com with SMTP id n13so12183765vsk.4; Mon, 21 Jan 2019 00:56:24 -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=gZ5xKfwCuPvjsbs8ypviK2wVON115JbrXd6QLz3o9YM=; b=bHADKebxrqlhIG5XMxev/TeKvRHwYPxkUnLwFwnvUCi/5vHpmRA63HSlijAEcbAxvc NMngcDHCI1ROYq98D8pE/SJBcFeSaytXK212uzydt7PN3WPWtHACtTz5UcFPNTiCBY2k Dee+Xgwe/Xt4yhjiBttzSLjHem8ZB6zDmvkX5zfEnNMaFhYSxWBbDiwlFU8eyez5VccI kM7SH9oZWvvF+avF6RQ/Zt0VHy7Hns8qSRl7woVXnAzfUIVMXTm8bqx6/vdkKCo2THsL YDq1XtzmWmG7QLD5iCWT9vvJQjC5Uu9hTgDqDFsBy1nsaH2xcQGCyN6qeyqs9GPdozA8 h74w== X-Gm-Message-State: AJcUukeODy/Zyn10VHLunphFNiXdTmE4OBhNYsXwZj0LujD7kPSb3BhJ 8tkLSjd2nX0KJ5xKLZPFuhAkcJLaK0n4POVaujM= X-Google-Smtp-Source: ALg8bN6oQTjQTvMkhu0RSRQU3eG9DnGNZiAO15hurqtwS01M6srTDPs1MhTBku760Abay4RjwT0+IVQlARbp3cdEMM8= X-Received: by 2002:a67:c202:: with SMTP id i2mr11527790vsj.11.1548060984197; Mon, 21 Jan 2019 00:56:24 -0800 (PST) MIME-Version: 1.0 References: <20190118161835.2259170-1-arnd@arndb.de> <20190118161835.2259170-30-arnd@arndb.de> In-Reply-To: <20190118161835.2259170-30-arnd@arndb.de> From: Geert Uytterhoeven Date: Mon, 21 Jan 2019 09:56:11 +0100 Message-ID: Subject: Re: [PATCH v2 29/29] y2038: add 64-bit time_t syscalls to all 32-bit architectures 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-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org On Fri, Jan 18, 2019 at 5:25 PM 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/m68k/kernel/syscalls/syscall.tbl | 20 +++++++++ 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