Skip to content

Hi Linux-bluetooth,

Howard Chung linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8doc: add description of SetServiceAllowListdoc/admin_policy-api.txt doc/device-api.txt+41 -00 replies
2/8lib: add hash functions for bt_uuid_tlib/uuid.c lib/uuid.h+24 -00 replies
3/8core: add AdminPolicy InterfaceMakefile.am src/adapter.c src/adapter.h +8 more+428 -50 replies
4/8input/hog: block connection by policyprofiles/input/hog.c+22 -00 replies
5/8audio: Remove Media1 interface when a2dp source disallowedprofiles/audio/a2dp.c profiles/audio/avrcp.c+5 -00 replies
6/8core: add properties IsBlockedByPolicy and ServiceAllowListsrc/admin_policy.c src/device.c src/device.h+85 -50 replies
7/8core: store ServiceAllowList into settingssrc/adapter.c src/adapter.h src/admin_policy.c+105 -00 replies
8/8core: Initialize uuid_str_arr to NULLsrc/adapter.c+1 -10 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchMiao-chen ChouDaniel WinklerAlain MichaudSonny Sasaka
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b R-b
6/8R-b
7/8R-b
8/8R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [Bluez PATCH 0/8] Hi Linux-bluetooth,

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

This series is to add a new method |SetServiceAllowList| in D-Bus API to control what services can be connected by specifying UUID allow list. Users can query a device property |IsBlockedByPolicy| to tell if some of the services are currently restricted. Since we plan to add more methods to limit different bluetooth functionalities, we also introduce a new interface for this purpose. This series has been tested via sending commands with dbus-send manually on chromebook octopus and eve.

Thanks,
Howard

Howard Chung (7):
doc: add description of SetServiceAllowList
lib: add hash functions for bt_uuid_t
core: add AdminPolicy Interface
input/hog: block connection by policy
audio: Remove Media1 interface when a2dp source disallowed
core: add properties IsBlockedByPolicy and ServiceAllowList
core: store ServiceAllowList into settings

Sonny Sasaka (1):
core: Initialize uuid_str_arr to NULL

 Makefile.am              |   3 +-
 doc/admin_policy-api.txt |  34 +++++
 doc/device-api.txt       |   7 +
 lib/uuid.c               |  21 +++
 lib/uuid.h               |   3 +
 profiles/audio/a2dp.c    |   2 +
 profiles/audio/avrcp.c   |   3 +
 profiles/input/hog.c     |  22 +++
 src/adapter.c            | 148 +++++++++++++++++++-
 src/adapter.h            |   5 +
 src/admin_policy.c       | 292 +++++++++++++++++++++++++++++++++++++++
 src/admin_policy.h       |  23 +++
 src/device.c             |  79 ++++++++++-
 src/device.h             |   2 +
 src/profile.c            |  39 ++++++
 src/profile.h            |   5 +
 src/service.c            |  21 +++
 src/service.h            |   1 +
 18 files changed, 705 insertions(+), 5 deletions(-)
 create mode 100644 doc/admin_policy-api.txt
 create mode 100644 src/admin_policy.c
 create mode 100644 src/admin_policy.h
Signature · 1 line
2.31.0.291.g576ba9dcdaf-goog