Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5988140imu; Mon, 21 Jan 2019 00:58:16 -0800 (PST) X-Google-Smtp-Source: ALg8bN4hZIvG/VopdHdq7VCu9fwsjfVNge1DuwL6T2Pg+atyjBnAWoR2VQJOkwWT8TY/gNbuCGpz X-Received: by 2002:a65:534b:: with SMTP id w11mr27499165pgr.125.1548061095942; Mon, 21 Jan 2019 00:58:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548061095; cv=none; d=google.com; s=arc-20160816; b=VvpBYuOEXz1qazmEPs16vwxT8R+j3XyJXYBMDCDqGOIhDYfS4Q+4zURQJJv1jcBrOs RTrk7Vk1eOac1i24DeDIs1odks1XHAvSg5wsfcUvTv+UwU8NYgu8enJWst74s9HZi1lh MEHULYxqxnqU+FQbxJYBvIjD1NUrrLaI802yXReCc/I9BopiqjM9i1Y78p2tTQauJFIZ lkUYgfAPhNbO600wLyAn1fVBepL+oOGLUwFSYHEUV62+qqK3CMXji7WYfdPlNciIOlEr 7zcaQLdIhzTD4Lkj9th/hdczgRT+akAyCVHkC5QDl1SWOYF6EDyLnAN+I/4lDpffASZu L39Q== 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=gZ5xKfwCuPvjsbs8ypviK2wVON115JbrXd6QLz3o9YM=; b=a78OxqFQ0iwyywaQd19+/ipBc2Y6pALkj+MhygwM6/i8tVjEmh1k7C6Kz9zD0Ps4fP OJ56Y7qVMJdtY8Wr7/NzBNNH0h/b5zdol2QFP8SJUBdtmjsgYVPieJpMnB08eCDmGwd5 ElJVCFVjKTNO33WC3UOm+1N61h+NoUOUQJ/TNNxZS8i6x87V1zmsdePYHe+z8cRyK05N az4L9YZ0qYONjmRPj6sDxb+20KQgyCx8ro9+qYpIInfwe6jb4JBIHvzuwWId4fh62WPl jmRf2yUphB4YvmANqel/Do+KXzX804p/TsXzdWL4aTWG4IOpezSXOaNa6Cx1aWg8zaPr IYxw== 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 t4si10537579pgb.97.2019.01.21.00.58.00; Mon, 21 Jan 2019 00:58:15 -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 S1730033AbfAUI4b (ORCPT + 99 others); Mon, 21 Jan 2019 03:56:31 -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-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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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