Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1443673rdb; Wed, 24 Jan 2024 16:07:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IGGJxR7nzK5BqIu3jmiOLZypUe875RoiPORVduJvb30hZ7p4PhbO654wH+LJmLc6NGT0L5P X-Received: by 2002:a05:6402:1393:b0:55c:9592:e5e8 with SMTP id b19-20020a056402139300b0055c9592e5e8mr96629edv.33.1706141263991; Wed, 24 Jan 2024 16:07:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706141263; cv=pass; d=google.com; s=arc-20160816; b=uSXruUrGRtWhYbYM8dwk+sdXS8JmjfFIkN+0UkNvLOe82QBaC3SIg5LT/8xqwY54l6 FX3pqyQ44WPNH82FI7y55RkJ0Af+U1vDf3SVWcY5Ho/R7ZQoXN5CVIiUSwTe85T51W5U X5VvnOKbMVnLR3Q5H+XsuW6NZA1XRqdBL4TRollgFmxfCgrhTqo8oHGOEA0CLofnFNRC /cOG3BjcztqwOOdeHQC5/ja5K+kWT30oqf+qDHBtIEfrYf5Vzxu1MoUQNjemDNOMTVLb 1/5c2dpWJTeTyenzigTt+EmEL5ud8s/kZ1L+YFMux4HsdJY91pWrJYiJNH4Mk7Ks7kCw kyyg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:from:dkim-signature; bh=eUudTluevd4xp1qPopsQwwc9UNXcjHSzi7MU+5VDYWs=; fh=wm3knQjNzlzhSYO3l6/R1dJNTO7aXLaAzT309a/t7Bw=; b=ETiCyOZPlEkqFQgrU5dOF0d+4nTt/tBRB2/MO3AZPf18K/bGbPf+G+nvi+mt72lWsA hmcvvcaNuahTfUKEpJRQ4ii05Es/jjW22ql5bgrEDsiRZYQC1fGSRMeKSd+AFPj9oXqV QURMIOltaSDcX6TdeIznhbumQvL8Tqv/sEs1Dt93yfA/DiHqP52Pvqg7QRoKaHNPqMYD ycWP+6BwLBRPIlrSPQY8646vtKyTdKXjquFjU4A9Fb75Ks5eHhFrWYD2BRfDo2Nnt9+v BQKFsEJLkPXx0zMvO6JfDJii8BLfRNiepbCvE4zd8e3cLHSzxwUVyifibtWMM87Oq83z MqTw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eLLTgQsS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-bluetooth+bounces-1333-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-1333-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id eo13-20020a056402530d00b0055c6e195f04si2886461edb.71.2024.01.24.16.07.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 16:07:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-1333-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eLLTgQsS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-bluetooth+bounces-1333-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-1333-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id B9CC01F21EB5 for ; Thu, 25 Jan 2024 00:07:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1DBBC23A7; Thu, 25 Jan 2024 00:07:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="eLLTgQsS" X-Original-To: linux-bluetooth@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 78AA67F for ; Thu, 25 Jan 2024 00:07:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706141249; cv=none; b=LLktDOiO9nK6eKHg71wZaHLsNzYfm7BSttG+cFa7H7gmmwInJat/j0ctlZLHjjZFpiAweTbgA5o69+RwfTD344u/9DOoNQn+rTl/p7tpASjRjQtaAckgykZ5/DTyOuuFBBIF6Jlv2m8E+17oT+bSzieAEUAkxkQlWg/S3/URlX8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706141249; c=relaxed/simple; bh=YPAuJR/p/8YBl67ki2/Jzj4r23FKOVbW0WP58ypVgAA=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=NDxjo4KamwXaMWWWKI8wRtorA+B2RTbw6MyUJLiAo5T3TiFxgdYUN4pdk7YggXIPhagqEWv1ReT4xQMLP1RDpVRMfPfI9jn8dtvIO3Pu8IOeoThj0lezm84qpLDR3cWSgdFSrCIx1rjc0WTQUykAj6ithC8GoXPBF1xJFzdgnDI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=eLLTgQsS; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 1854BC433F1; Thu, 25 Jan 2024 00:07:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706141249; bh=YPAuJR/p/8YBl67ki2/Jzj4r23FKOVbW0WP58ypVgAA=; h=From:Subject:Date:To:Cc:Reply-To:From; b=eLLTgQsSz9MlJHAxAb9WmyDvo0AqFvsgXNyq5z+L+b7DpddDNagQWZ43h5DSiqmi+ 4/7IrNXMdhlDkUUxiTwlzGd67jWUsQPt3WlZGCk0qFqhFR5W2PLZUWOoMbiyiFrOwT nEP+a0wcnfRjH1+cge944VCjuUWHfQO7Fy47gn1EA0ooGi0YqBuUCPs7bwOgRzLgIG PgTFSO3WofEUE1tWLATqmYgLdhyncxgyCsFhLAZlDNsyRztagv6Yg4wX1DRS6AXOMK 71+wQI4d6oDTZ/PSNwOGTL6eFYqqRR7p58pp7RDF09LgnLmE6OUVFvh30lA7SNRQYP WAtULiiQptBdw== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 01CDAC46CD2; Thu, 25 Jan 2024 00:07:29 +0000 (UTC) From: Emil Velikov via B4 Relay Subject: [PATCH BlueZ v3 0/8] Remove support for external plugins Date: Thu, 25 Jan 2024 00:07:25 +0000 Message-Id: <20240125-rm-ext-plugins-v3-0-d141f7870bb6@gmail.com> Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAD2msWUC/3XMSw6CMBSF4a2Qjq25XEq1jtyHcdBiCzfhlRYbD GHvFkYkxuE5yfcvLFhPNrBbtjBvIwUa+jSKU8aqRve15fRKmyGggDyX3HfczhMf23dNfeBGg7m WqIVCwxIavXU078HHM+2GwjT4z96P+fb+TcWcA5eoFDgDl0Kqe91pas/V0LEtFfHAUfxwTLxEI RRIB6VzR76u6xfgaueE6wAAAA== To: linux-bluetooth@vger.kernel.org Cc: Emil Velikov X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1706141247; l=1630; i=emil.l.velikov@gmail.com; s=20230301; h=from:subject:message-id; bh=YPAuJR/p/8YBl67ki2/Jzj4r23FKOVbW0WP58ypVgAA=; b=HNArrLqxiC3iZPqkNKtXD9jGm1G0gvmackOIqOhzPqx/Jh3BHX0d+th3YagonYzGTfx8PSuGC K1hCQIhfwJNCt8+4x0bUabDVqb2hGvAx7JNaJ9ljYlqYh47vbFhkMiQ X-Developer-Key: i=emil.l.velikov@gmail.com; a=ed25519; pk=qeUTVTNyI3rcR2CfNNWsloTihgzmtbZo98GdxwZKCkY= X-Endpoint-Received: by B4 Relay for emil.l.velikov@gmail.com/20230301 with auth_id=35 X-Original-From: Emil Velikov Reply-To: Hello everyone, Here's v3 fixing a small bug with the previous patches, which was tripping the CI. Link to the previous revision can be found below. Thanks Emil - Link to v2: https://lore.kernel.org/r/20240124-rm-ext-plugins-v2-0-5244906f05ff@gmail.com --- Emil Velikov (8): configure, README: introduce --enable-external-plugins obexd: factor out external plugin support bluetoothd: remove external-dummy plugin bluetoothd: convert external sixaxis plugin to builtin bluetoothd: factor out external plugin support bluetoothd: don't export internal API bluetoothd: change plugin loading alike obexd android: export only (android) entrypoint from the modules Makefile.am | 17 ++---- Makefile.obexd | 2 + Makefile.plugins | 8 +-- README | 13 +++++ android/Makefile.am | 3 + android/hal-audio.c | 1 + android/hal-bluetooth.c | 1 + android/hal-sco.c | 1 + configure.ac | 10 ++++ obexd/src/obexd.h | 2 +- obexd/src/plugin.c | 93 +++++++++++++++++++++---------- obexd/src/plugin.h | 4 ++ plugins/external-dummy.c | 28 ---------- src/btd.h | 2 +- src/plugin.c | 140 +++++++++++++++++++++++++++++------------------ src/plugin.h | 16 ++++++ 16 files changed, 209 insertions(+), 132 deletions(-) --- base-commit: a9d1f6f6a625607de6c3f5b7a40a3aac5f36c02b change-id: 20240116-rm-ext-plugins-ba0b852a492b Best regards, -- Emil Velikov