From patchwork Mon Feb 18 21:07:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 158647 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp2935597jaa; Mon, 18 Feb 2019 13:08:52 -0800 (PST) X-Google-Smtp-Source: AHgI3IZPHmJqVd+3tTswFADaV00HCMPPL3agFoiRwzjsjffA8uQFKbp3nKLNqGQ9j2uu+85f5CXk X-Received: by 2002:a63:1b49:: with SMTP id b9mr20667348pgm.112.1550524132554; Mon, 18 Feb 2019 13:08:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550524132; cv=none; d=google.com; s=arc-20160816; b=VGnqaH3uXTaoQLYRnGPOZSuw0iEX/fDRGLeYhmsG3H1RUm0nM10FNBCn2hWrxtcO14 IifzJmh/zTI4l4bHEtV8lWIVmn9OTq3a+ShA/2o7lNfOXBRegOh1liuB9cMi0rHEdVgz +kedafkJQKdFaH4KF4lkG63rF0pFGf18FLzPT8kWDhmR6DVG/Y+N18A/xlwbyz9s3XyB 1f9z4TZjhbPyCfV7i+otbm6IZMt+bmNsHBJ+4S0ECTzHq0x2X3chsGqin8je6+7NtUb2 Q6BRvBaWhVrjOm1JHKsicQ/XKskijkVW40qr6HKynOQD1iJrrNhxFFjuxTM+U+nZOl36 GSdQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=xW+9nrIkZQTEkqgq/vptkigJEVkAMfCRmoIi6W5fckA=; b=hphUNmSlTZE0pgISJouwmxcE0PouNkr5uB2D951ffiTNS24WIp9dFDy9RVF81YV/Cc 8sXL5u/r5DiMOpoFh3HYl7kGPDs8VztqZehpDROTo6dfbBiA4baSp5OUIRoQvbIuvVJk zjLmE481KfHCtfM3HGgYQTOVCnDCq6BG9nuxDSRd+PT8YyX58JQ0vn1toyKYjrS2xekV +mf8/wb/kVqgYVk+mkKEv+/dDHOprILm+ulkzcKD/cfTAKaH3xT3QxTYHYL0F6gGOuyD D7sFN82Lo9f8eBt+Z9UoKgbpDFp7Zeiz/BU8yUwSBnTsA7dnsw2/SOvSMe2YK+NykqrY 5zWQ== 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 b6si14114329pgg.2.2019.02.18.13.08.51; Mon, 18 Feb 2019 13:08:52 -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 S1730218AbfBRVIu (ORCPT + 32 others); Mon, 18 Feb 2019 16:08:50 -0500 Received: from mout.kundenserver.de ([212.227.17.13]:40305 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728154AbfBRVIA (ORCPT ); Mon, 18 Feb 2019 16:08:00 -0500 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.145]) with ESMTPA (Nemesis) id 1MlO9r-1hL1UD3zaP-00liHH; Mon, 18 Feb 2019 22:07:29 +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 6/8] checksyscalls: fix up mq_timedreceive and stat exceptions Date: Mon, 18 Feb 2019 22:07:10 +0100 Message-Id: <20190218210712.3503891-7-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20190218210712.3503891-1-arnd@arndb.de> References: <20190218210712.3503891-1-arnd@arndb.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:UgT5qLzBRe8uGhCU9AyHn5Jt9cfHoQ+D0/iLF4gMTpdoEuzsO5q poQ3zyyety+N59s3VxhuXLURLB1ufFgiJP7cPrbxRJTMbWMQ7K0uKTGBFu/NpnSZWaFSdog T5gcp2hhQXO/x3YKwmnCZyKSdPjGDBSytrIMMHzUDbw9nXiaOEcLEtNWS47SPtFe0pvedzm Ahdkq9w/U6TCxmxQhHcnQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:FXDoJv4Bfvw=:6GGmsD/rmCT7ei5OeBL7DH t9coJHnvAkWeYWrmUafR5IWBjDhHbw2hVsAkjpwqjvj3M0jVTAtvr7aqtTJp3u2S6u2FYnMqW oespDKsgf17cgnskdeI7Sy/It7HDngnnl74fqB+LbOq6/d7fW09m7xuwmbqLX9HGP30okqkVC l7Rv7RBccaKtbAvSmZmfBLGqy4RvBP2v1u7W8bw0wCcDCNj/9OGlxnPdKoduPuCDMljPNKkFg JTtgWH8cJKfZZ2jO2wbH+O8AtgAx2NPL0R3zDybKPp0Dsvbr4choUvo5Ukzb/LYmpBH/5SqTj 0eUWMq3UHbkVx8A/WLYPvrRLXGGufyIG3fJukEQka4tWA9POcGL7GbFZdx6cX1YBavQM6+ByU zU4K+JW1rJnKBnsQVgKCCms9O+DsmmG7AUmR4yF7tA00HB40Cy1HsgjbxYpo0aWBks6MLe+8E S7M6NSY9pyhl8HXrsGEtNZYBhlLUN0Cgw0vl8vgW3V9gq7fPe+GUbtgAxR7VsfN4YHZACoZ/p IzfbkPLQA2l7yP0ln+KZkpHc+jEUnWcCy6Leah+mx8/eM2RAQSXAVtrOZGtmgJWqm69jQKts1 eeB3ScSFFC+r9IGdyNPr8m6apR0guzuUaE1Vw6q+1wIVfXRrJu6sT7SocYw82+e3UcDNhEurI 7gyiHW/RS/RFQmAfCFQy82U8gb9TOHsW93BtxnO0Uva0vatR8Yfwov25b1QvqBmgsxezJ9Bpq o0d2GWfT3VWHoeSTt3tl9IAc2q/hmZNKR3+1xg== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org mq_timedreceive was spelled incorrectly, and we need exceptions for new architectures that leave out newstat or stat64, implementing only statx() now. Fixes: 48166e6ea47d ("y2038: add 64-bit time_t syscalls to all 32-bit architectures") Fixes: bf4b6a7d371e ("y2038: Remove stat64 family from default syscall set") Signed-off-by: Arnd Bergmann --- scripts/checksyscalls.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) -- 2.20.0 diff --git a/scripts/checksyscalls.sh b/scripts/checksyscalls.sh index ffd635efbdca..a18b47695f55 100755 --- a/scripts/checksyscalls.sh +++ b/scripts/checksyscalls.sh @@ -30,13 +30,10 @@ cat << EOF #define __IGNORE_readlink /* readlinkat */ #define __IGNORE_symlink /* symlinkat */ #define __IGNORE_utimes /* futimesat */ -#if BITS_PER_LONG == 64 #define __IGNORE_stat /* fstatat */ #define __IGNORE_lstat /* fstatat */ -#else #define __IGNORE_stat64 /* fstatat64 */ #define __IGNORE_lstat64 /* fstatat64 */ -#endif #ifndef __ARCH_WANT_SET_GET_RLIMIT #define __IGNORE_getrlimit /* getrlimit */ @@ -138,7 +135,7 @@ cat << EOF #define __IGNORE_io_pgetevents #define __IGNORE_recvmmsg #define __IGNORE_mq_timedsend -#define __IGNORE_mq_timedreceiv +#define __IGNORE_mq_timedreceive #define __IGNORE_semtimedop #define __IGNORE_rt_sigtimedwait #define __IGNORE_futex