From patchwork Mon Feb 18 21:07:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 158643 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp2935231jaa; Mon, 18 Feb 2019 13:08:30 -0800 (PST) X-Google-Smtp-Source: AHgI3IYxpkVgt0DJkx8CXzVJOrl35gAYnNDldQSAzT+obg0TIcZd3iUapCXXGyqwMBNPjw0BKZSH X-Received: by 2002:a65:4842:: with SMTP id i2mr20704435pgs.176.1550524110912; Mon, 18 Feb 2019 13:08:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550524110; cv=none; d=google.com; s=arc-20160816; b=MKuZn6rj768D3IghE1EytsmBGS0+Uxi2YlZP2BjDBfLpiOjDz2rRGOvIOn4HbhhD8p CFqCV5yFaqJvY5hfdHtD+wISq5BwGkdXgp2kTVU7NtobzkkUf/rDn89Rpkq0FUNlV0hp UL2JdDtz68MaaMhpJpUA3cXvK3nFH/+Le0GWQQgdL5n25iDoOlGeDFj3ACgdWsqqNJOk sYXgnPvxyxFpbYMMIivmo9lR3YKCIA6Vo6Wf6Z8jyelhKobTeMw/j5R1KI67y9Y+mbuc +rtaXJdxfZ9/rGyipkSXzp3WlGJ5JhkaWWh6rZ1Pk7++mPU3A2nVI6U3cvJwEiqZqIsM HroA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=45J4ZV924rKzpzNI+b+iSb/fc8MDaG0dQcN+54bQ8h8=; b=cwc7RV2zwOXnnugCMPlhv6Hg4bAkhIoZq8wg8/AI41toQMbBkpR9cbOCc9Ls1UhZKv wKWRX2QkKXtqUt5UJo/t1UmSpBDfOIOvbiZiqJG+ZGweIdStQTryMrePbEvFNTcd9wiy 0pa8muWQy+SXWEoHOeZRtQ+0JvsrjcwcGWJ6wqj46jk8koCxNGOamha37F8yok63HFrb Uw96FYz7WKMUpMpc9CqtGEp6ml3ryZvnG9xLmn3yjQguFgUuHKpL4XMotHxA6NyNPz/E GU8KVnChOtVeXTWaAYvEOibEfUPr6GsZvLqAgFIakMDMv6aelwMH7EL+fZWI0OQqmoQG 7JOg== 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 g63si6236239pgc.382.2019.02.18.13.08.30; Mon, 18 Feb 2019 13:08:30 -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 S1729088AbfBRVIG (ORCPT + 32 others); Mon, 18 Feb 2019 16:08:06 -0500 Received: from mout.kundenserver.de ([212.227.17.13]:49771 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728055AbfBRVH7 (ORCPT ); Mon, 18 Feb 2019 16:07:59 -0500 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.145]) with ESMTPA (Nemesis) id 1Mbj7g-1hTVem3oWU-00dE5E; Mon, 18 Feb 2019 22:07:23 +0100 From: Arnd Bergmann To: y2038@lists.linaro.org Cc: Thomas Gleixner , linux-arch@vger.kernel.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, yury.norov@gmail.com, linux-arm-kernel@lists.infradead.org, linux-hexagon@vger.kernel.org, uclinux-h8-devel@lists.sourceforge.jp, Stafford Horne , Vineet Gupta , Palmer Dabbelt , Guo Ren , Greentime Hu , arnd@arndb.de, linux-riscv@lists.infradead.org, Guan Xuetao Subject: [PATCH 0/8] y2038: remove time32 ABI on rv32 and csky Date: Mon, 18 Feb 2019 22:07:04 +0100 Message-Id: <20190218210712.3503891-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:bewU9ZGmWDBtcDorCLKIF2OaAK8VSnBIubbe5DS6pS/6b8qt/SS f6LXyp4kr6e6Z3kldb3eHoHSBObighrIEpHcdRLjtlUPPrk5QaLjeSKlsAalGwaRwzXX4i9 I83r7JDkzhbY1oGOcJJFrP/4x2NukuhHqN2o+gloMkAatap4+DzKebOdWAJ22I/7kBwNYRi 1mAoh4l7XSz+NHzV2I+ZQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:++/WGXsV8HA=:0G8jutlWE0HQkQ4WJ8Mb7c KiLTRFlvlB8D5fy2LLKwEBvdniXHVLQV/K02hHS0WqbLmncvVe9AO/1/nOwnpTNMPA1W/Uho8 IcoZGgfbRm0vGPpPsIfypOitumOArxmY/Vs6CNuM7akXOgVqwFd2ineAvikWOCzEobBxGakGd 7AleQ8CwfhvspfbAQbk2LS0SaSJkHRQVHJEOCyuP/wlz5budE5RuA1gdrdFB/wzqs2Y2ikqg2 wQifJ1JpoGpCzNexZvBEw61IhCOd7J5zv6OVwCQOHHGuDwTQ3HQfTyI011wozNiwu2SIBqOkn E1cI2rmf6MdhLdAkPtUhYwUWPs8TZY43ERGOWO8FjeCk33FQZXbWNjOdbO67u/5iZI5RVH59+ GUZqpSIRTFMwS1BewtQz/J0DOeQ/6VeHxTeSTgiptXAbdcY0/bpNLgf8e68qhrnov48b2VUJm BMHkXb/DJXGgoWJNGbmCVG/chPZI0HvUvUXY6tAWGK0r+Cx3OZCBJwm068oRCLs0b/cJSa/LS JQemRph4DrHk//s+R+YfjRnXaelFSEW6uTnjgbm4L1fVOhoqDV3sdL3bPwM6zsaCmJY1UEGH1 ROzslqjkbtkvJagvVWMVIEkWjTQ9H+ENnSfylSAz2AIYZX1JlVEguoT7+yom8s95pckxI1BUE +SfLFDshAmo1Iz+rTA+QYorObhMRmETUNiseYSOOx8yjZfOUfYG83cQQ08crrIoNv6o3uKdWE YTKfcKNTEPtOrDWOeBedIyB8a+3LOR22Eh10vg== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a follow-up to the y2038 syscall patches that Thomas already merged. Both the csky and riscv maintainers have requested that the time_t syscall ABI should be completely converted before an official glibc port is merged. The series achieves this in a few steps: - A couple of bug fixes for minor regressions I introduced in the original series - A couple of older patches from Yury Norov that I had never merged in the past, these fix up the openat/open_by_handle_at and getrlimit/setrlimit syscalls to disallow the old versions of off_t and rlimit. - Hiding the deprecated system calls behind an #ifdef in include/uapi/asm-generic/unistd.h - Changing the two architectures to use the new style syscall ABI for all three types: loff_t, rusage, and time_t. Arnd Bergmann (5): asm-generic: Make time32 syscall numbers optional unicore32: Fix __ARCH_WANT_STAT64 definition checksyscalls: fix up mq_timedreceive and stat exceptions csky: Use latest system call ABI riscv: Use latest system call ABI Yury Norov (3): compat ABI: use non-compat openat and open_by_handle_at variants 32-bit userspace ABI: introduce ARCH_32BIT_OFF_T config option asm-generic: Drop getrlimit and setrlimit syscalls from default list arch/Kconfig | 15 ++++++++ arch/arc/Kconfig | 1 + arch/arc/include/uapi/asm/unistd.h | 2 ++ arch/arm/Kconfig | 1 + arch/arm64/include/uapi/asm/unistd.h | 2 ++ arch/c6x/Kconfig | 1 + arch/c6x/include/uapi/asm/unistd.h | 2 ++ arch/h8300/Kconfig | 1 + arch/h8300/include/uapi/asm/unistd.h | 2 ++ arch/hexagon/Kconfig | 1 + arch/hexagon/include/uapi/asm/unistd.h | 2 ++ arch/m68k/Kconfig | 1 + arch/microblaze/Kconfig | 1 + arch/mips/Kconfig | 1 + arch/nds32/Kconfig | 1 + arch/nds32/include/uapi/asm/unistd.h | 2 ++ arch/nios2/Kconfig | 1 + arch/nios2/include/uapi/asm/unistd.h | 2 ++ arch/openrisc/Kconfig | 1 + arch/openrisc/include/uapi/asm/unistd.h | 2 ++ arch/parisc/Kconfig | 1 + arch/powerpc/Kconfig | 1 + arch/riscv/include/uapi/asm/unistd.h | 1 + arch/riscv/kernel/vdso/Makefile | 2 ++ arch/sh/Kconfig | 1 + arch/sparc/Kconfig | 1 + arch/unicore32/Kconfig | 1 + arch/unicore32/include/uapi/asm/unistd.h | 4 ++- arch/x86/Kconfig | 1 + arch/x86/um/Kconfig | 1 + arch/xtensa/Kconfig | 1 + include/linux/fcntl.h | 2 +- include/uapi/asm-generic/unistd.h | 46 ++++++++++++++++++++++-- scripts/checksyscalls.sh | 15 ++++++-- 34 files changed, 112 insertions(+), 8 deletions(-) -- 2.20.0