diff mbox series

[Bluez,v8,13/13] doc: add admin policy file storage description

Message ID 20210803161319.Bluez.v8.13.Ide727bc4654c80ce67a268b624a6c5a0f79a11e1@changeid
State New
Headers show
Series Admin policy series | expand

Commit Message

Yun-hao Chung Aug. 3, 2021, 8:22 a.m. UTC
From: Yun-Hao Chung <howardchung@chromium.org>

This adds storage description of admin policy file in
doc/settings-storage.txt

---

(no changes since v1)

 doc/settings-storage.txt | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
diff mbox series

Patch

diff --git a/doc/settings-storage.txt b/doc/settings-storage.txt
index d21150f09ecb..1d96cd66d94f 100644
--- a/doc/settings-storage.txt
+++ b/doc/settings-storage.txt
@@ -36,6 +36,7 @@  root, named based on the address, which contains:
 
  - a settings file for the local adapter
  - an attributes file containing attributes of supported LE services
+ - an admin policy file containing current values of admin policies
  - a cache directory containing:
     - one file per device, named by remote device address, which contains
     device name
@@ -50,6 +51,7 @@  So the directory structure is:
     /var/lib/bluetooth/<adapter address>/
         ./settings
         ./attributes
+	./admin_policy_settings
         ./cache/
             ./<remote device address>
             ./<remote device address>
@@ -140,6 +142,24 @@  Sample:
   Value=4578616D706C6520446576696365
 
 
+Admin Policy file format
+======================
+
+The admin policy file stores the current value of each admin policy.
+
+[General] group contains:
+
+  ServiceAllowlist	List of		List of service UUID allowed by
+			strings		adapter in 128-bits format, separated
+					by ','. Default is empty.
+
+Sample:
+  [General]
+  ServiceAllowlist=
+
+
+
+
 CCC file format
 ======================