Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp485128rdb; Tue, 23 Jan 2024 05:56:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IGQqll4EoLed2vdnHoJE6BWuJ1fmWznKAqbu4g5vmRK6bQD7UvgPUO2FU8lxeis7Hxa4kKQ X-Received: by 2002:a17:903:2b04:b0:1d7:75a0:3c86 with SMTP id mc4-20020a1709032b0400b001d775a03c86mr479714plb.66.1706018218130; Tue, 23 Jan 2024 05:56:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706018218; cv=pass; d=google.com; s=arc-20160816; b=ojrMg/gVRmSPtnU5D6sxcGqK2a90y6PLLi6FKhJRnznGOUqIqhCbg1HTlK7uwv8cXM yHW+gd8sj9fLAqHG3pzbbQP1fGg6Rr2rnYDAtdKOGJ1qNKRvvCUrlAVNag60KrPFr4ie zMRouMuWmNB6eS9Dc5eN9DuVbKZV1JUX3fXy3nTm+01KNDSgKC7A1mmti1XNSjy47Vtg iAH9izLs7bffV0iWTDGJ+0bCmXyZhMCRRzH3jhxhV9UTZC9HTF3EG0AHyPZR2TBJWmi+ hL0g74cJGw4UGwNJWgrsybOyeYlkW2PSUAJeBAJiZXDDe10ny6yGs5FKrOEi5ZOsqjuz JXPQ== 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=L1cJlA3h4MfALXkKdXeo+eGjEAn5Xxg7KkGHkfmXzj0=; fh=F5jCGqwT+YHwA2XmAjO/fLaiReA5Rv8hWnfUCfotH+A=; b=ubCTBbTQdEPzJbsymUeVSQozkNpMs7k40P7d9AuO+gPxnSDkPcwlScS2y5cwT3XJc/ FWOtYYgn8fz8ELY1t0Uu6Me91LTlfoMB929dJm1BrFwcM5qvhTzef2zfIQW9tvHs5K8i Nm8h8SOB028LeG0FxFBYx0d5VaaVGM/7x8rk/Xc655E9hwb6vRUwthgFtOSKZ/Zhf/YX gLShdph39HI4tmFNvWpvDHd+f8jAs9GqOel+p+808wRPHZ3CjhFpEUlLxUXaZ7cB/1x8 Swuq670Dv/4UW4xEh/a6L6IHYxY2cTk3J4f4RSa3kus12OeHRrzJOfQtPQTJRqBvPAHF Zgtw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=CKqrGcrU; 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-1261-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-1261-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id z3-20020a170903018300b001d6f65293bbsi1660297plg.208.2024.01.23.05.56.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 05:56:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-1261-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=CKqrGcrU; 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-1261-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-1261-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 07F2E28D934 for ; Tue, 23 Jan 2024 13:55:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C613C5F858; Tue, 23 Jan 2024 13:54:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="CKqrGcrU" X-Original-To: linux-bluetooth@vger.kernel.org Received: from mail-yw1-f174.google.com (mail-yw1-f174.google.com [209.85.128.174]) (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 E43905F872 for ; Tue, 23 Jan 2024 13:54:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706018058; cv=none; b=Ldn+9jnuLxWT4VpnuQR4bWy1YQqsAQLPV8HVLSiuEHUvIfetYfK7mizj03WstsXMeJQHE+r7sPFaz+h+MRhP1IF34+Md2sUfTIRtaJETBUk3+u+dlqB1cJWifMoKbRP6VytKcSv1tDY0/4NIf4BmZmviX6aVFd9M+4x6yrppZsE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706018058; c=relaxed/simple; bh=kZnEpml4U4egk6gG2SkuKjUjgvtpATJO6s23K59nszg=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=TFftW221xMpaSVh0NiRHN4FhAr5S452nHCJOvKuwDsPaualCtfNQ/ZrsH+SqoYjp4GmhIjBMv7bS0TQShXbJjMoukOQebOu3GkX6gIZyhNRgAYn7tAzkObcRYta0L4iuGAMtMeUCpmkAaackGYqfRsL7XRZ6o0MGRB1VpMRFhd4= 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=CKqrGcrU; arc=none smtp.client-ip=209.85.128.174 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-yw1-f174.google.com with SMTP id 00721157ae682-5fc2e997804so37947277b3.3 for ; Tue, 23 Jan 2024 05:54:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706018056; x=1706622856; 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=L1cJlA3h4MfALXkKdXeo+eGjEAn5Xxg7KkGHkfmXzj0=; b=CKqrGcrU4Q+OPSDukLRiclAOHiDmJHFekTnJsKspD1+wtLmDJmpLUA68O1i0EpPVfo iPJeP3c94zw6dGX0qgdD9cA7aLpAkrZIJTw4YckDuoQz6oewd/ROA2h8bDQP3sJOT044 jjkdWA6Tjk1ctkff2TvyYVeJchgmjrJvAV/93crMSnFBc3UI2HTeRI72lgLlI4Jww3/4 lWMNFxyhCDpAGx5Y8P+qV0XlqBk6bsLgr0xG6nM8BR6fi8R8moe4jLXLEy1wKsXE5l0r xaBEGZ8pXOBZHb3MIcw1i017XjldhFtX2sMJp42BjamqOOrlZsRnxK1qVb25sTmKeSBe 4/bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706018056; x=1706622856; 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=L1cJlA3h4MfALXkKdXeo+eGjEAn5Xxg7KkGHkfmXzj0=; b=UkxymRFjQdp33aHX/SquLWtQ+owHoM9es+DiBeuDDLJpFzHaPIJALooPoau77v8gEv tOqTwCIWK3eGpjR8yHWnfgE2qpISK6DhMua3psFXgKLyRKpFacskuIqJgbbCbxDO7acr 4YnIsPBBRZl4f9BQ2ZQdNSTwCL2dynUEW7MoVf49vSLR/7nlFbLjbOLBWxo73uPuEE1l HaO4JSQn+8VuC+11O3p47uMfFRfZHOVxG8/T4KC0m8g1KH0wxQz13GZFY+OXrsikmG+y cjVHBG6v45gResDVjX8kPlTfYYshF1r0IImodLVAvTvpcEP+ulxQv0E5oXSr7ZSU2ETz TQ2g== X-Gm-Message-State: AOJu0YyFzq7QmU17liMS6383DxBnTQ4qoi25GRaOTkmpexv+b1zOuSce ANQ90xhHEGGLpP8JAezI6Xdo8qi7pkLRREKtu84c7+rBzuzxNvw68W2jE7qcvXP+aEYkKpbgyD1 eD5XWKHWmedKOHpAUCejiDWUVKnI= X-Received: by 2002:a81:6e85:0:b0:5ec:c970:19b6 with SMTP id j127-20020a816e85000000b005ecc97019b6mr4667982ywc.17.1706018055768; Tue, 23 Jan 2024 05:54:15 -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 13:54:03 +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 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 the > > 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? -Emil