Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp534694rdb; Tue, 23 Jan 2024 07:09:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IFCq1UHWjuPOXZK8DKKAFR9rrCdIkOOO2niDvxrl4E9RlAU2weGaOeEWCCdFceMcxD6MQ+O X-Received: by 2002:a05:620a:430c:b0:783:4849:afdf with SMTP id u12-20020a05620a430c00b007834849afdfmr8292198qko.57.1706022573304; Tue, 23 Jan 2024 07:09:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706022573; cv=pass; d=google.com; s=arc-20160816; b=UF2jVOX7UykGhdVBwS5Sp5H15gl6+QTYh08l8foVKbaTYQVgtSo/cjL33W4f2HCLgb NVTQ4z9xfsHZ7Zrt9BLCjGPynj2CXU64MNfmaPsK3l6JwwrzEM3wXWwJvcV1iKdStpuj JeEDu+GUqX+rbgc3OO3hSuPe/T2lsm5cKK5LTt+5u/cTUFQ/n3xocyM7tDE/1lcoEZEk yPK8kAdHlMKvIrw7lv+5in6QU2C0gq0XeEqKKUY6QJdl8FjaKRTS0LZ6dxyjMbJqOSUD WUxAbrbryJ6uVIjUV0XGsOajRwB1LvQjoeXWHfrgqEKyS3VMKrmo21l6/5NWrAaqEKU3 UIDw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=F7VudIcvJSX4LNklYqs4aBtlROOo4UizMxhfkYUDRSg=; fh=F5jCGqwT+YHwA2XmAjO/fLaiReA5Rv8hWnfUCfotH+A=; b=lIADHWJPjyJFMGnhcepSvYb0EwRnZoPmDEVkdrEJqje8f6zVVivac4aqxwuTyF5lpF DOq9N37u0iB9VclDSFFc9zx34uR7T05jSVDc0Wzqg+fkQzfG/YLVDaDRNHXbLZgNvXlp V6bLpPVJLKdnK47t/WxTqTAFcpXHyR9HNpcVEahudAjadEKrkqqzwZoAK67Xh/oNH2zG QBJL4Xl4RdFriCic87a1VgHv5+4W0WiIA8z0BwUXL0PAMs2BCB5kNedNoD1IjzbnDI5/ u86oQi3CPUkmbRlphbSa29Q7y5BOcgy//R8LO2IyXLSWHuourr6wgdtBiXxZ4C3eQ6cg aBfQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=nsArs03B; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-bluetooth+bounces-1270-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-1270-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 9-20020ac85949000000b0042a4bfc4e6asi2125570qtz.452.2024.01.23.07.09.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 07:09:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-1270-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=nsArs03B; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-bluetooth+bounces-1270-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-1270-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id F423A1C2109D for ; Tue, 23 Jan 2024 15:09:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 423785FB9E; Tue, 23 Jan 2024 15:09:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nsArs03B" X-Original-To: linux-bluetooth@vger.kernel.org Received: from mail-ot1-f52.google.com (mail-ot1-f52.google.com [209.85.210.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4EE3B41A85 for ; Tue, 23 Jan 2024 15:09:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706022567; cv=none; b=CYkq7fJW+n0yOKJ3s9WknusgVXu7YtO2d1+MwRsLGULUKO3+i4HtJ4SFD1Hy6oifRFiKhRJJwkk+JV8Glo039hw0g2aEGmfmRGrW2hx1GOB/pU68aURQqwzQYFQdAdp8kAGxSkfwvyfSmjc6HxvXZPkz57ey+dc5qGwNNayMMQY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706022567; c=relaxed/simple; bh=KAqpawEFW49hi7iVGRhJ4EG/tCqhQzAJ/JDouIaV2Rc=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=QSOpp8SlRRxjSEI9KXFQds5C3jupI4PWyVGmxwnvhuOf2C/zs7cbvcf1p8huJeH08Tqfzvhu0lygE+OxjsKiLe0YYHdFbT2i8V0PPEIoltPnPinbSZsld8uzCkGYUUeRhxr8jxNklKjH4F2POQSSRQa59ShnQYe+YlHeB5xSz0Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=nsArs03B; arc=none smtp.client-ip=209.85.210.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ot1-f52.google.com with SMTP id 46e09a7af769-6de83f5a004so3015476a34.1 for ; Tue, 23 Jan 2024 07:09:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706022565; x=1706627365; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=F7VudIcvJSX4LNklYqs4aBtlROOo4UizMxhfkYUDRSg=; b=nsArs03BJnE7gzohYU4f4tHHNDIXTAX1nI81uVIl9Q/mrVLMiifaaQuIZiAsdy7VQI F5/hDky/uwAJKEhOy6iS2rgKnwTo5FgCk/EQ0duoNx8BfLYbTmAUT0cSDenbgT+Bhx8f a0UKi0ieHiHSZkhL2st5JHf7XLhVBc0iykCD3Tuj1MGWD3TxIoj/LxtF8U/k6mkUOejJ dO/CweJM1kV3og9PVOPwAXcni4mleVJp6vcWbRyjtjlnSsiXamzt+iSKLSPwOVrIRF+P MVaRBFJggdwLfMRgFrcKL6/v7ZVQVKScqNzZ2nBs3UHQ5Zf83+L1ZjPB4ijZ5dirodXN gqVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706022565; x=1706627365; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=F7VudIcvJSX4LNklYqs4aBtlROOo4UizMxhfkYUDRSg=; b=n/iRkr6h+ZRPFEEiKLQCRZeWY+AUyAObvcyeuSy3Ll7zLLUrWQ7efJtxrwULmk4HMg BXb7WFUZ/uc/20wFoBi7Givp5+OKSNflfdsNisV7KZM98S2A/BXf9+C+pwzLyhFeWxuF yxrvkpjyj4IxgTq4BcvxApJSxpKZKgGnlOSqLWZ+qEIA6NEM/WPbZoxDkIZcD2UrFuRw /h9bR8qGbfyBq1FJnUtGtHu4uG7k9JJsdN8X7ndVAWPO1/PXzwvPhB9ukul5BAnVmNNF KAbUeguUKMhgvayCxxPVVTZ1Rg+KFQkVsyy1bjWPkxxrWhCEQjh0LXNELUXk+RE32S9W 1Ggg== X-Gm-Message-State: AOJu0YwD+bzXPTJ5Kpho/dJzgRvk0hO74jTZgl2v8fA2FuloYwCXxry9 4tZstLdh18TxiBz6dIUlKDwZaTfSecn+ROqv4lDlqDa3f9Mx/XHKJQl+MnF9rh8vM15yrU5uvE1 L/dVXOzwQ8VnlyernuLsOuXHWWxc= X-Received: by 2002:a05:6830:71a1:b0:6e0:16cb:4b5c with SMTP id el33-20020a05683071a100b006e016cb4b5cmr7200938otb.54.1706022565304; Tue, 23 Jan 2024 07:09:25 -0800 (PST) Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240116-rm-ext-plugins-v1-0-62990fb07369@gmail.com> In-Reply-To: From: Emil Velikov Date: Tue, 23 Jan 2024 15:09:13 +0000 Message-ID: Subject: Re: [PATCH BlueZ 0/8] Remove support for external plugins To: Luiz Augusto von Dentz Cc: linux-bluetooth@vger.kernel.org, Emil Velikov Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 23 Jan 2024 at 14:00, Luiz Augusto von Dentz wrote: > > Hi Emil, > > On Tue, Jan 23, 2024 at 8:54=E2=80=AFAM Emil Velikov wrote: > > > > On Mon, 22 Jan 2024 at 18:35, Luiz Augusto von Dentz > > wrote: > > > > > > Hi Emil, > > > > > > On Tue, Jan 16, 2024 at 9:19=E2=80=AFAM Emil Velikov via B4 Relay > > > wrote: > > > > > > > > Greetings one and all, > > > > > > > > In this series, we prune support for external plugins and cleanup t= he > > > > associated code. The inspiration here is multiple-fold: > > > > - the plugins are under linked - generally a bad idea > > > > - the plugins use undefined, unscoped, unversioned internal API > > > > - the main daemons expose their internal API increasing their size > > > > > > Im not so sure I want to remove the external plugins support > > > completely, but I do understand that normally distros don't really > > > want to have it enabled in production due to the reasons mentioned > > > above, but I think we could find a middle ground here by disabling it > > > by default but still let systems to re-enable it if they have some > > > custom plugin that they may still want to use as external plugin. > > > > > > > Thanks for the feedback. Sure, I can convert this to a "configure > > --support-external-plugins", where all the presently removed code will > > be compiled out. > > > > Still not entirely sure how external plugins are supposed to work, > > considering the API/ABI mentioned earlier - any pointers? Do you know > > of any example plugins that you can mention? > > Not really, well just the sixaxis but that can be converted to be > built-in, but that being external means that there could be external > plugins we don't know about thus why I think we would be better to > have a flag to re-enable them just in case. Anyway I think for sixaxis > we could just have it as built-in since it seems popular enough with > the likes of steam deck, etc. > Ack, much appreciated. Will send v2 shortly. Emil