Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp12386226rwd; Fri, 23 Jun 2023 05:34:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6shh+VQVtBDBV51hlD6weYL0FekS80Dbb45mw9VgBWEl+aMN2/qx9M/TU5AS4gpOLol8/K X-Received: by 2002:a05:6871:6b81:b0:18e:a4b9:8388 with SMTP id zh1-20020a0568716b8100b0018ea4b98388mr15620296oab.48.1687523660485; Fri, 23 Jun 2023 05:34:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687523660; cv=none; d=google.com; s=arc-20160816; b=N0D9cHclSC8EpfhLGxTq4ZyoWpw1mAzHgQYQ/qnlbvhpovFI6HWOga1d9oXuFPolZk 9rbTvJnqzQpuxj3eocf/ukCz7/JPS52J+f5iiPzVJtfscIlXjA/uWbe6308I/Wq5bdn8 L+Nro8q07PgDWqHYkzMNyGUvC53kul/BPjvU6oQBeYrs0P39nf1kMfKfOgwGHSDEiW+A SSTwDi45cs8QfzirTiOukAvGb0oqOkYPe+VeyUKQiLq84p5fO9AfUEXFUVSdLY5IUaat cWqoqvv3Q3k0dcU5TTr0hGFsx+mbOtravUYMzQfIu8elOYJMM2B17aP4NcS+iVd0ckZA 2Nuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=7nmio/fHbSnQOdpU+CQW+uYygjBm49Sbsk3QSQa6OsM=; b=hX3iWiYQ+oiQASCCv4NQ6E/v3EhTUS4i0mazn+wmYgOh8c1C4tWaChuskEPxIiWdKj q1Ez3c7acFqkxxobtDBJ4wqQoqxmvZ8YGElYWvIg7rpjIdFqeAEYhyimOrOVhqQFeBtZ H93l4d0MyMW4Z6eOXWLIHhDNoFJpmujCy9ta7yGjHcgHsWiSZo3sJZ/V7KBlWJ99Ta69 EUam7hDQ86iLpdIXsXbaeqKiUq2+9psnVt4iJUe02+maJDNeIvfzYT4pHJ+RzpHlA7sK c0yBssnm9SXvU/cIhOXGQp/nuZIM9HCJ6Wq9yqWj++ZTSQ23DWRhv7yuSJmiZPlFEpp5 a1mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QSha6iZz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t70-20020a637849000000b0053f0cdab820si4666071pgc.259.2023.06.23.05.34.05; Fri, 23 Jun 2023 05:34:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QSha6iZz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229745AbjFWMYp (ORCPT + 99 others); Fri, 23 Jun 2023 08:24:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230117AbjFWMYo (ORCPT ); Fri, 23 Jun 2023 08:24:44 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4606483; Fri, 23 Jun 2023 05:24:43 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 95ECD61A43; Fri, 23 Jun 2023 12:24:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1BB5DC433C9; Fri, 23 Jun 2023 12:24:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687523082; bh=9QiOf6qH4XnQzo7TTnAIieZs1DEpVgYd0lypn1ely/w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QSha6iZzPSfi13u534mCB7gH52LyolCeBRYwXLX8GscGHt37xr8ihXJRO6HQ3rFBx xLYuq5sSD948PvTEHqTi/FSfTf20uLepazpxKnkKuCXKw9J999Pv4gl3GnrbSQoFaE CuJ7aliSeSxNFqqk16S9Qc9uogdfyBWFM+QwXn/0qlrF5BtGqHV0XEdZVsJ9DTGD30 wS1jLrZWyMatcxGUr7McOixUFIPlT0ERuAM6vTTacnDxmoZpCxGczH5KKTQRxmwUEV YBrFM6OgyKkhUCum2ZpQR7H+chapbSx93+gfk+4OlIvmVMxqJ2vu9etMWtjJLVRy2m tq5qrm6t1eLzA== Date: Fri, 23 Jun 2023 14:24:37 +0200 From: Christian Brauner To: Alexander Mikhalitsyn Cc: "Von Dentz, Luiz" , Stephen Rothwell , Marcel Holtmann , Johan Hedberg , Linux Kernel Mailing List , Linux Next Mailing List , Jakub Kicinski Subject: Re: linux-next: build failure after merge of the bluetooth tree Message-ID: <20230623-baldigen-eisstadion-38bd00a856fb@brauner> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 23, 2023 at 11:23:57AM +0200, Alexander Mikhalitsyn wrote: > On Fri, Jun 23, 2023 at 10:34 AM Alexander Mikhalitsyn > wrote: > > > > On Fri, Jun 23, 2023 at 12:28 AM Von Dentz, Luiz > > wrote: > > > > > > Hi Stephen, Alexander, > > > > Dear friends, > > > > > > > > Looks like we have a similar problem as to: > > > > > > https://lore.kernel.org/lkml/20230524081933.44dc8bea@kernel.org/ > > > > > > That said for unix socket it was decided to not allow it to be build as module, which is something I don't think we are willing to do for bluetooth, so we have to find a way to get around pidfd_prepare, which seems to be called due to the use of scm_recv (it is also used by netlink btw). > > > > Ugh, yep. That's bad and we can't workaround it like we did for unix sockets. > > > > Originally, Christian had objections against exporting the > > pidfd_prepare function [1] > > > > [1] https://lore.kernel.org/all/20230523-flechten-ortsschild-e5724ecc4ed0@brauner/ > > > > +cc Christian > > Idea. (-: We can introduce a new function like "scm_recv_light" that Seems fine to me.