From patchwork Thu Jun 20 16:23:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 805998 Delivered-To: patch@linaro.org Received: by 2002:a5d:508d:0:b0:362:4979:7f74 with SMTP id a13csp378132wrt; Thu, 20 Jun 2024 09:25:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW0ChR5NyRK3vxqhpHrMQ+ZAau9lZtKHaqNRBNHnEcbcELx+jibuLadYcmcyMdoetQbauyNDxSepZeMLaqgUQ14 X-Google-Smtp-Source: AGHT+IHQoDdIkh0F49KIwYvN97x270HMP72J4yHWrq01zz7jJXmYd76lAWl5yWQxjOPPom3zv96O X-Received: by 2002:a05:6808:1483:b0:3d2:17c9:23e9 with SMTP id 5614622812f47-3d51b96641amr7280504b6e.4.1718900727514; Thu, 20 Jun 2024 09:25:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718900727; cv=pass; d=google.com; s=arc-20160816; b=v4EMFk9o7lpgUhzb2ZsiH/KxMKa8XklFA95avb83zJFkueaMEAnDjJtUts+UnV7P7z vFhQEVrjC5vVXPPUYgscnkK6UcuvkI0IgcwxUf8gywXViTkyZCqwgMhHJCUAKb4AHsgm 9nafr0AXdYhkz5ylG8ubbEf9p6NeLWt2llQUYHcgNqEIBbB0g39n/QYA4ANzlljJDsVN PjAj82JCfC37OYHA8E8hVVq9rskrTnqb1PQknLvcLkxvycIUxKugZNkA3WrX9EGW8S+F O4ZiWmoJtPMY0n08y18Mbz2BfgcG9tR1UCUvumiT0xc+2InQe3R9uEL0jMHFE2GAcWgw MwOg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=OD8KJgqf5NbaFRxf+/A12kJSWOjVM56JtJ94p/AqpxU=; fh=xSIq547Z/8+2mwrThk5NmWwnmadq1eVmQ35PeXz4rpA=; b=V7tok3azjd8DjVP18B/JVzm4zcwD0cF4gDwBAY8QFlGA1qd0OfMJE5/B6rTHS4SPu5 OouPAmCKkia4DrIrPmtw3OlACt6111YofSV5DsJEe42RzYls4VJznJGDL+7h/LElauey ttIZrygrXBi6RhtPxodixUGmyVkyvKWptaFM3br0Dp3rqxp9sQI+MpbQSe0S+Mz7T1xL EWhRkGhWKfTJIE7esUsavRJUMJ1aSYKHscedmtQWIs/nSRtZPPYUHJ6lTrnS7QdqBmdh 4mZ6lRXvAgEtpFwQf0TbMz1Axm3yKWNSFik/tYQbicHlOghqrvoxWHar8TDiMJX9UAGE cPrg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OMV332YN; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="libc-alpha-bounces+patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id a1e0cc1a2514c-80f52602386si1064554241.169.2024.06.20.09.25.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jun 2024 09:25:27 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OMV332YN; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="libc-alpha-bounces+patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 06F783894C0A for ; Thu, 20 Jun 2024 16:25:27 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by sourceware.org (Postfix) with ESMTPS id D77CD3894C00 for ; Thu, 20 Jun 2024 16:24:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D77CD3894C00 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=kernel.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D77CD3894C00 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2604:1380:40e1:4800::1 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718900662; cv=none; b=diidL98HCLOj7sNZ4fX9VYqMT7OWjo5+ifGaAEJgprvXjF96vL4LuIspuCdK+xfEbbbBHK0mMIbwmulKQFHdAXfdsILX6mork9iZj6/BKf/9J2tXiyd8WqxeafWg2WI4Tbi1CwCa+3vJWRyX0c/htHFO5ZFWMHhIq9QLYukiJek= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718900662; c=relaxed/simple; bh=SxsG/TmKgeAvUmRAEjqsJKtLdqJlcUTp92xZHqYPbCE=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=R+Zpes8GbLw2BWcIEWRsoHyKvPN/LvyYKiFxrJLW2mJy/1gizIPNykXuMXaqNKlHowqRVUIzrOEUvC1MH8VurCBGzXG8OXwsXR4D2HdIncXbHeWoYvVfXsxdX+VJbxoGLpsh2HuNMotpIzsKYTw7Sg/k3ukGCxSfNX7TktMf/S8= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id B171BCE274F; Thu, 20 Jun 2024 16:24:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5F7DDC4AF0A; Thu, 20 Jun 2024 16:24:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718900656; bh=SxsG/TmKgeAvUmRAEjqsJKtLdqJlcUTp92xZHqYPbCE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OMV332YN3UjvJEF4PnM8J7A3bK1CfCxAJvquL4L87vNJ73iww9j8NMyNmkVNBsvmV oELQxErXhDcG6P1rKt8y5lu6a2LtBjPDcBah6AiMLmVxYXeGEBhJxOd4/D1epMMzGZ R142uU7a0qh37b/GbHePGcf2G6lBDkIXJDHA3VULLtdkpyqDFbxpJJwYBlv8bNnybT NRdb50Ap1szpwu+NWMfOfVqEAO3pAtzZW5KC2NWeEgPMl+6NXwN5MlGV9mMt/0P1So DLVL2wKXmHzpfpxUnklRuzv1N+j+tSSs3o7VuHKcFzF8ECtFLmrSwZtTUw4SUAvjB1 Yb913TxCniLxA== From: Arnd Bergmann To: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Arnd Bergmann , Thomas Bogendoerfer , linux-mips@vger.kernel.org, Helge Deller , linux-parisc@vger.kernel.org, "David S. Miller" , Andreas Larsson , sparclinux@vger.kernel.org, Michael Ellerman , Nicholas Piggin , Christophe Leroy , "Naveen N . Rao" , linuxppc-dev@lists.ozlabs.org, Brian Cain , linux-hexagon@vger.kernel.org, Guo Ren , linux-csky@vger.kernel.org, Heiko Carstens , linux-s390@vger.kernel.org, Rich Felker , John Paul Adrian Glaubitz , linux-sh@vger.kernel.org, "H. Peter Anvin" , Alexander Viro , Christian Brauner , linux-fsdevel@vger.kernel.org, libc-alpha@sourceware.org, musl@lists.openwall.com, ltp@lists.linux.it Subject: [PATCH 06/15] parisc: use correct compat recv/recvfrom syscalls Date: Thu, 20 Jun 2024 18:23:07 +0200 Message-Id: <20240620162316.3674955-7-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240620162316.3674955-1-arnd@kernel.org> References: <20240620162316.3674955-1-arnd@kernel.org> MIME-Version: 1.0 X-Spam-Status: No, score=-10.8 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+patch=linaro.org@sourceware.org From: Arnd Bergmann Johannes missed parisc back when he introduced the compat version of these syscalls, so receiving cmsg messages that require a compat conversion is still broken. Use the correct calls like the other architectures do. Fixes: 1dacc76d0014 ("net/compat/wext: send different messages to compat tasks") Signed-off-by: Arnd Bergmann --- arch/parisc/kernel/syscalls/syscall.tbl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/parisc/kernel/syscalls/syscall.tbl b/arch/parisc/kernel/syscalls/syscall.tbl index b13c21373974..39e67fab7515 100644 --- a/arch/parisc/kernel/syscalls/syscall.tbl +++ b/arch/parisc/kernel/syscalls/syscall.tbl @@ -108,7 +108,7 @@ 95 common fchown sys_fchown 96 common getpriority sys_getpriority 97 common setpriority sys_setpriority -98 common recv sys_recv +98 common recv sys_recv compat_sys_recv 99 common statfs sys_statfs compat_sys_statfs 100 common fstatfs sys_fstatfs compat_sys_fstatfs 101 common stat64 sys_stat64 @@ -135,7 +135,7 @@ 120 common clone sys_clone_wrapper 121 common setdomainname sys_setdomainname 122 common sendfile sys_sendfile compat_sys_sendfile -123 common recvfrom sys_recvfrom +123 common recvfrom sys_recvfrom compat_sys_recvfrom 124 32 adjtimex sys_adjtimex_time32 124 64 adjtimex sys_adjtimex 125 common mprotect sys_mprotect