Skip to content

Howard Chung linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14lib: add hash functions for bt_uuid_tlib/uuid.c lib/uuid.h+30 -03 replies
2/14unit: add uuid unit testsunit/test-uuid.c+48 -00 replies
3/14core: add is_allowed property in btd_servicesrc/service.c src/service.h+35 -00 replies
4/14core: add adapter and device allowed_uuid functionssrc/adapter.c src/adapter.h src/device.c +1 more+158 -10 replies
5/14core: add device state and state callbackssrc/device.c src/device.h+77 -02 replies
6/14audio: Remove Media1 interface when a2dp source disallowedprofiles/audio/a2dp.c profiles/audio/avrcp.c+5 -03 replies
7/14plugins: add a new plugin for admin_policyMakefile.plugins bootstrap-configure configure.ac +1 more+40 -00 replies
8/14plugins/admin_policy: add admin_policy adapter driverplugins/admin_policy.c+67 -00 replies
9/14plugins/admin_policy: add ServiceAllowList methodplugins/admin_policy.c+122 -13 replies
10/14plugins/admin_policy: add ServiceAllowList propertyplugins/admin_policy.c+57 -00 replies
11/14plugins/admin_policy: add device state callbackplugins/admin_policy.c+87 -00 replies
12/14plugins/admin_policy: add AffectedByPolicy propertyplugins/admin_policy.c+76 -20 replies
13/14plugins/admin_policy: persist policy settingsplugins/admin_policy.c+164 -10 replies
14/14core: fix a possible crash when removing devicessrc/device.c+4 -10 replies

Reviews trailers per patch

13 of 14 patches have a Reviewed-by or Acked-by.

PatchMiao-chen ChouShyh-In Hwang
1/14R-b
2/14R-b
3/14R-b
4/14R-b
5/14R-b
6/14R-b
7/14R-b R-b
8/14R-b
9/14R-b
10/14R-b
11/14R-b
12/14R-b
13/14R-b
14/14

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Bluez PATCH v1 00/14]

From: Yun-Hao Chung <[email protected]>

Hi manintainers,

This series is to
1. Implement a few methods in core so that a plugin can have control of allowing / disallowing certain service connections.
2. Implement the AdminPolicy plugin. The plugin provides interfaces AdminPolicySet and AdminPolicyStatus. For each policy, users should set the value thorugh AdminPolicySet and query the current setting through AdminPolicyStatus. We separeted these two interfaces so that developers can assign different groups of users to these interfaces. Currently the only policy is ServiceAllowList, which make bluez only allow a list of service by specified their UUIDs, but the plugin is also expected to provide more controls over other bluez behaviors.
Since the second part is a plugin, it might not be necessary to land in upstream tree.

Thanks.

Howard Chung (2):
lib: add hash functions for bt_uuid_t
audio: Remove Media1 interface when a2dp source disallowed

Yun-Hao Chung (12):
unit: add uuid unit tests
core: add is_allowed property in btd_service
core: add adapter and device allowed_uuid functions
core: add device state and state callbacks
plugins: add a new plugin for admin_policy plugins/admin_policy: add admin_policy adapter driver plugins/admin_policy: add ServiceAllowList method plugins/admin_policy: add ServiceAllowList property plugins/admin_policy: add device state callback plugins/admin_policy: add AffectedByPolicy property plugins/admin_policy: persist policy settings
core: fix a possible crash when removing devices

 Makefile.plugins       |   5 +
 bootstrap-configure    |   1 +
 configure.ac           |   4 +
 lib/uuid.c             |  27 ++
 lib/uuid.h             |   3 +
 plugins/admin_policy.c | 599 +++++++++++++++++++++++++++++++++++++++++
 profiles/audio/a2dp.c  |   2 +
 profiles/audio/avrcp.c |   3 +
 src/adapter.c          |  90 +++++++
 src/adapter.h          |   8 +
 src/device.c           | 128 ++++++++-
 src/device.h           |  15 ++
 src/service.c          |  33 +++
 src/service.h          |   2 +
 unit/test-uuid.c       |  48 ++++
 15 files changed, 966 insertions(+), 2 deletions(-)
 create mode 100644 plugins/admin_policy.c
Signature · 1 line
2.32.0.93.g670b81a890-goog