From patchwork Fri Nov 29 14:38:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 13888740 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 69C8BD6EC15 for ; Fri, 29 Nov 2024 14:41:00 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tH29N-0003JU-C6; Fri, 29 Nov 2024 09:39:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tH29L-0003IZ-Qz for qemu-devel@nongnu.org; Fri, 29 Nov 2024 09:39:16 -0500 Received: from nyc.source.kernel.org ([2604:1380:45d1:ec00::3]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tH29K-0005yB-9D for qemu-devel@nongnu.org; Fri, 29 Nov 2024 09:39:15 -0500 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 42223A43E63; Fri, 29 Nov 2024 14:37:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BC217C4CECF; Fri, 29 Nov 2024 14:39:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1732891144; bh=oR7mFu4Wwhx1slZASJe1AsJDdyPKqTADjzMhvy6/VLQ=; h=From:To:Cc:Subject:Date:From; b=ntJzVOka6XOS+gfZttijGjDIvc1D6wi0fItcHZEPouvw6zGp/3dRyemzFsP0Zaq9R 1a1nRudfHxF8FqBG5LKspn8uL4+6THEFLHM1/74p63kn8vOZwhNRomVs58a4EGvw8/ 67YxrsgPy/nUNkdOWFJOiDBxO9ghRwuAoP4mN8ygEy0DYeA8TPHfyVOF1hfoCYDJCb 0ZuSwSa315zJeZn+81/ui2T+Ga9N49jA9hup4y4ALFxTazTzynEEjrm4yAZxgd/9AY 83kq5kieXSUl53cf7vVVAYfOFfBqpLPqu1MeR51p2r6GOpSS8Vmp1kBVDV25MhTj1+ 7QvY/9T4n339A== From: deller@kernel.org To: Laurent Vivier , qemu-devel@nongnu.org Cc: deller@gmx.de Subject: [PATCH 0/6] linux-user: Add support for various missing netlink sockopt entries Date: Fri, 29 Nov 2024 15:38:55 +0100 Message-ID: <20241129143901.11291-1-deller@kernel.org> X-Mailer: git-send-email 2.47.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2604:1380:45d1:ec00::3; envelope-from=deller@kernel.org; helo=nyc.source.kernel.org X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org From: Helge Deller This patchset adds various missing sockopt calls, so that qemu linux-user is able to successfully build the debian gupnp package in a chroot. Tested with a 32-bit big-endian hppa linux-user chroot running on a phyiscal x86-64 little-endian host. This fixes debian's bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1044651 Signed-off-by: Helge Deller Helge Deller (6): linux-user: netlink: Add missing IFA_PROTO to host_to_target_data_addr_rtattr() linux-user: Use unique error messages for cmsg parsing linux-user: netlink: Add IP_PKTINFO cmsg parsing linux-user: netlink: Add emulation of IP_MULTICAST_IF linux-user: netlink: add netlink neighbour emulation linux-user: netlink: Add missing QEMU_IFLA entries linux-user/fd-trans.c | 137 +++++++++++++++++++++++++++++++++++++++++- linux-user/syscall.c | 29 +++++++-- 2 files changed, 161 insertions(+), 5 deletions(-)