From patchwork Fri Jan 18 16:18:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10770895 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 33FA017FB for ; Fri, 18 Jan 2019 16:21:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 213512F828 for ; Fri, 18 Jan 2019 16:21:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1EAF42F829; Fri, 18 Jan 2019 16:21:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C6FA62F859 for ; Fri, 18 Jan 2019 16:21:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728926AbfARQVk (ORCPT ); Fri, 18 Jan 2019 11:21:40 -0500 Received: from mout.kundenserver.de ([217.72.192.73]:53055 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728014AbfARQVj (ORCPT ); Fri, 18 Jan 2019 11:21:39 -0500 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.145]) with ESMTPA (Nemesis) id 1Macay-1hMKfG0Vje-00cCjZ; Fri, 18 Jan 2019 17:19:48 +0100 From: Arnd Bergmann To: y2038@lists.linaro.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Cc: Arnd Bergmann , mattst88@gmail.com, linux@armlinux.org.uk, catalin.marinas@arm.com, will.deacon@arm.com, tony.luck@intel.com, fenghua.yu@intel.com, geert@linux-m68k.org, monstr@monstr.eu, paul.burton@mips.com, deller@gmx.de, benh@kernel.crashing.org, mpe@ellerman.id.au, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, dalias@libc.org, davem@davemloft.net, luto@kernel.org, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, jcmvbkbc@gmail.com, akpm@linux-foundation.org, deepa.kernel@gmail.com, ebiederm@xmission.com, firoz.khan@linaro.org, linux-alpha@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-ia64@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, netdev@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [PATCH v2 24/29] x86/x32: use time64 versions of sigtimedwait and recvmmsg Date: Fri, 18 Jan 2019 17:18:30 +0100 Message-Id: <20190118161835.2259170-25-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20190118161835.2259170-1-arnd@arndb.de> References: <20190118161835.2259170-1-arnd@arndb.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:bjQ71ntGniqBqrHuJ7nhcM56lXeeQkbnuYFrI+Mn+AONKiu8hm3 ZfdgXFhiGNnHO//AoluNzCeO0kL22YQqbQi2edF+nGFhQKlnAM/wFiwMct2rm/oTbQw/dfG NW0sAWRGPprfVUER8dgBX8W4nNi71voW7ClXKpr6DLa2bdedfAUlZPkAvfVw5mQVYt4bn+U 9SZ+sG+tOw97WshAsE8Lw== X-UI-Out-Filterresults: notjunk:1;V03:K0:f7vyNs/hjFE=:E5JYxrKYfXSvspqvYDThi2 zRdSFKHKhBC95XRLLIotBJDFxRWr8YE9hRuVm5cixnR2Fat15uciTsUrb3Nee+8V/9jkdsp7S 7WQMM6z4Rx8tQmY/ttpZhsD/obv2S33VJQhYwjv8ByKaOYStUY1Y9Caq1E6j8nODtLwNPc+AO MYhQEB5zgWu/X+w7nncFL2M+sWivBIQgy2ZHTbQYaUvsaBNUBb3znK61r6tod2EiA1Xq8ZtNx 7trJlzqoshtQNs+l4LuQRLbI9vW0d0dyGGaiOHosMtJZhdeq6RRD8lc4zL2wgZ9/ly5GiNwpk AMoTJv2+3lrX7qJRkmPRvAVO6DQcibJPGHlmcXioT/AaRWC5ZIbDBDePtYofOW7vFfoqCyNOQ 072BSrqwXTzKiU5zn+zO2AI0UL9lPLChurlNcEiH0C+VvNgvI4CHjkDe//ntGe27GCCnH1Dr6 M4yjGrMJu+6aeFMcJo4w1UQHuEk+tkPXVC5exxExIV2SGo7/uArDS6u7ynjcFwosWZnfhzJJg bu861G0bv4iR2J8ABEMMvocoGN1fdydxMJvzB+vPbuRYBvmajg4bWH3Vesl9pCNRLGcb5Dl4M TICdFyVBNbKDvw0KF+9aOvpQDltHGoXNTnsHKd1AMNWQkP0W4NSJ242NO6hZzGvKuC3YniV8g Bptn5bsjlGFQqXFY2de7WXKnd6mrxFJcDg7t5q+EChvral9mavvP3PSWDyFO8CPtHHMIarTDn UBFzp4GLcnISS7CrL8RcfhB+mANlkmqu671lFQ== Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP x32 has always followed the time64 calling conventions of these syscalls, which required a special hack in compat_get_timespec aka get_old_timespec32 to continue working. Since we now have the time64 syscalls, use those explicitly. Signed-off-by: Arnd Bergmann --- arch/x86/entry/syscalls/syscall_64.tbl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/entry/syscalls/syscall_64.tbl b/arch/x86/entry/syscalls/syscall_64.tbl index f0b1709a5ffb..43a622aec07e 100644 --- a/arch/x86/entry/syscalls/syscall_64.tbl +++ b/arch/x86/entry/syscalls/syscall_64.tbl @@ -361,7 +361,7 @@ 520 x32 execve __x32_compat_sys_execve/ptregs 521 x32 ptrace __x32_compat_sys_ptrace 522 x32 rt_sigpending __x32_compat_sys_rt_sigpending -523 x32 rt_sigtimedwait __x32_compat_sys_rt_sigtimedwait +523 x32 rt_sigtimedwait __x32_compat_sys_rt_sigtimedwait_time64 524 x32 rt_sigqueueinfo __x32_compat_sys_rt_sigqueueinfo 525 x32 sigaltstack __x32_compat_sys_sigaltstack 526 x32 timer_create __x32_compat_sys_timer_create @@ -375,7 +375,7 @@ 534 x32 preadv __x32_compat_sys_preadv64 535 x32 pwritev __x32_compat_sys_pwritev64 536 x32 rt_tgsigqueueinfo __x32_compat_sys_rt_tgsigqueueinfo -537 x32 recvmmsg __x32_compat_sys_recvmmsg +537 x32 recvmmsg __x32_compat_sys_recvmmsg_time64 538 x32 sendmmsg __x32_compat_sys_sendmmsg 539 x32 process_vm_readv __x32_compat_sys_process_vm_readv 540 x32 process_vm_writev __x32_compat_sys_process_vm_writev