kdbus-doc: fix policy doc on default behaviour on buses and custom endpoints
authorDjalal Harouni <tixxdz@opendz.org>
Fri, 3 Oct 2014 23:21:57 +0000 (00:21 +0100)
committerDaniel Mack <daniel@zonque.org>
Sat, 4 Oct 2014 08:19:07 +0000 (10:19 +0200)
Operations are denied by default on default endpoints unless they are
covered by one of the implicit policy rules.

Operations are denied by default on custom endpoints unless the policy
is instructed to allow some exceptions...

The custom endpoint policy if any goes on top of the bus policy.

Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
kdbus.txt

index 889565c21653790e1798a3a415d0e440a8a91117..37526647d201eac2c5654f528f13dd8f726b4bf5 100644 (file)
--- a/kdbus.txt
+++ b/kdbus.txt
@@ -1268,10 +1268,13 @@ holder connection) or a custom endpoint.
 
 See section 8.1 for more details on the validity of well-known names.
 
-Default endpoints of buses never have a policy database. There is no way to
-modify the policy of those endpoints, so their default policy is to allow all
-operations. Custom endpoint always have a policy, and by default, a policy
-database is empty.
+Default endpoints of buses always have a policy database. The default
+policy is to deny all operations except for operations that are covered by
+implicit policies. Custom endpoints always have a policy, and by default,
+a policy database is empty. Therefore, unless policy rules are added, all
+operations will also be denied by default.
+
+See section 11.5 for more details on implicit policies.
 
 A set of policy rules is described by a name and multiple access rules, defined
 by the following struct.