Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1234219 > unrolled thread

[PATCH 1/3] Documentation/kdbus: use valid endpoint names

Started byLukasz Skalski <l.skalski@samsung.com>
First post2015-09-28 16:50 +0200
Last post2015-09-28 17:00 +0200
Articles 3 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 1/3] Documentation/kdbus: use valid endpoint names Lukasz Skalski <l.skalski@samsung.com> - 2015-09-28 16:50 +0200
    [PATCH 2/3] Documentation/kdbus: fix copy/paste error in  kdbus.match.xml Lukasz Skalski <l.skalski@samsung.com> - 2015-09-28 16:50 +0200
    [PATCH 3/3] Documentation/kdbus: Add missing ECANCELED errno  description Lukasz Skalski <l.skalski@samsung.com> - 2015-09-28 17:00 +0200

#1234219 — [PATCH 1/3] Documentation/kdbus: use valid endpoint names

FromLukasz Skalski <l.skalski@samsung.com>
Date2015-09-28 16:50 +0200
Subject[PATCH 1/3] Documentation/kdbus: use valid endpoint names
Message-ID<qdHUB-2nN-5@gated-at.bofh.it>
Endpoint names must be prefixed with the numeric effective UID of the creator
and a dash - we shouldn't use invalid names in documentation.

Signed-off-by: Lukasz Skalski <l.skalski@samsung.com>
---
 Documentation/kdbus/kdbus.xml | 58 +++++++++++++++++++++----------------------
 1 file changed, 29 insertions(+), 29 deletions(-)

diff --git a/Documentation/kdbus/kdbus.xml b/Documentation/kdbus/kdbus.xml
index d8e7400..6bc3db7 100644
--- a/Documentation/kdbus/kdbus.xml
+++ b/Documentation/kdbus/kdbus.xml
@@ -307,35 +307,35 @@
   <refsect1>
     <title>Data structures and interconnections</title>
     <programlisting><![CDATA[
-  +--------------------------------------------------------------------------+
-  | Domain (Mount Point)                                                     |
-  | /sys/fs/kdbus/control                                                    |
-  | +----------------------------------------------------------------------+ |
-  | | Bus (System Bus)                                                     | |
-  | | /sys/fs/kdbus/0-system/                                              | |
-  | | +-------------------------------+ +--------------------------------+ | |
-  | | | Endpoint                      | | Endpoint                       | | |
-  | | | /sys/fs/kdbus/0-system/bus    | | /sys/fs/kdbus/0-system/ep.app  | | |
-  | | +-------------------------------+ +--------------------------------+ | |
-  | | +--------------+ +--------------+ +--------------+ +---------------+ | |
-  | | | Connection   | | Connection   | | Connection   | | Connection    | | |
-  | | | :1.22        | | :1.25        | | :1.55        | | :1.81         | | |
-  | | +--------------+ +--------------+ +--------------+ +---------------+ | |
-  | +----------------------------------------------------------------------+ |
-  |                                                                          |
-  | +----------------------------------------------------------------------+ |
-  | | Bus (User Bus for UID 2702)                                          | |
-  | | /sys/fs/kdbus/2702-user/                                             | |
-  | | +-------------------------------+ +--------------------------------+ | |
-  | | | Endpoint                      | | Endpoint                       | | |
-  | | | /sys/fs/kdbus/2702-user/bus   | | /sys/fs/kdbus/2702-user/ep.app | | |
-  | | +-------------------------------+ +--------------------------------+ | |
-  | | +--------------+ +--------------+ +--------------+ +---------------+ | |
-  | | | Connection   | | Connection   | | Connection   | | Connection    | | |
-  | | | :1.22        | | :1.25        | | :1.55        | | :1.81         | | |
-  | | +--------------+ +--------------+ +--------------------------------+ | |
-  | +----------------------------------------------------------------------+ |
-  +--------------------------------------------------------------------------+
+  +----------------------------------------------------------------------------+
+  | Domain (Mount Point)                                                       |
+  | /sys/fs/kdbus/control                                                      |
+  | +------------------------------------------------------------------------+ |
+  | | Bus (System Bus)                                                       | |
+  | | /sys/fs/kdbus/0-system/                                                | |
+  | | +-------------------------------+ +----------------------------------+ | |
+  | | | Endpoint                      | | Endpoint                         | | |
+  | | | /sys/fs/kdbus/0-system/bus    | | /sys/fs/kdbus/0-system/0-foo     | | |
+  | | +-------------------------------+ +----------------------------------+ | |
+  | | +--------------+ +--------------+ +--------------+ +-----------------+ | |
+  | | | Connection   | | Connection   | | Connection   | | Connection      | | |
+  | | | :1.22        | | :1.25        | | :1.55        | | :1.81           | | |
+  | | +--------------+ +--------------+ +--------------+ +-----------------+ | |
+  | +------------------------------------------------------------------------+ |
+  |                                                                            |
+  | +------------------------------------------------------------------------+ |
+  | | Bus (User Bus for UID 2702)                                            | |
+  | | /sys/fs/kdbus/2702-user/                                               | |
+  | | +-------------------------------+ +----------------------------------+ | |
+  | | | Endpoint                      | | Endpoint                         | | |
+  | | | /sys/fs/kdbus/2702-user/bus   | | /sys/fs/kdbus/2702-user/2702-bar | | |
+  | | +-------------------------------+ +----------------------------------+ | |
+  | | +--------------+ +--------------+ +--------------+ +-----------------+ | |
+  | | | Connection   | | Connection   | | Connection   | | Connection      | | |
+  | | | :1.22        | | :1.25        | | :1.55        | | :1.81           | | |
+  | | +--------------+ +--------------+ +----------------------------------+ | |
+  | +------------------------------------------------------------------------+ |
+  +----------------------------------------------------------------------------+
     ]]></programlisting>
   </refsect1>
 
-- 
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1234221 — [PATCH 2/3] Documentation/kdbus: fix copy/paste error in kdbus.match.xml

FromLukasz Skalski <l.skalski@samsung.com>
Date2015-09-28 16:50 +0200
Subject[PATCH 2/3] Documentation/kdbus: fix copy/paste error in kdbus.match.xml
Message-ID<qdHUB-2nN-13@gated-at.bofh.it>
In reply to#1234219
Signed-off-by: Lukasz Skalski <l.skalski@samsung.com>
---
 Documentation/kdbus/kdbus.match.xml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Documentation/kdbus/kdbus.match.xml b/Documentation/kdbus/kdbus.match.xml
index ae38e04..cbfd760 100644
--- a/Documentation/kdbus/kdbus.match.xml
+++ b/Documentation/kdbus/kdbus.match.xml
@@ -215,7 +215,10 @@ struct kdbus_cmd_match {
             <varlistentry>
               <term><constant>KDBUS_MATCH_REPLACE</constant></term>
               <listitem>
-                <para>Make the endpoint file group-accessible</para>
+                <para>
+                  Remove all entries with the given cookie before installing the
+                  new one. This allows for race-free replacement of matches.
+                </para>
               </listitem>
             </varlistentry>
 
-- 
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1234229 — [PATCH 3/3] Documentation/kdbus: Add missing ECANCELED errno description

FromLukasz Skalski <l.skalski@samsung.com>
Date2015-09-28 17:00 +0200
Subject[PATCH 3/3] Documentation/kdbus: Add missing ECANCELED errno description
Message-ID<qdI4i-2z9-11@gated-at.bofh.it>
In reply to#1234219
Signed-off-by: Lukasz Skalski <l.skalski@samsung.com>
---
 Documentation/kdbus/kdbus.message.xml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/kdbus/kdbus.message.xml b/Documentation/kdbus/kdbus.message.xml
index 0115d9d..db34116 100644
--- a/Documentation/kdbus/kdbus.message.xml
+++ b/Documentation/kdbus/kdbus.message.xml
@@ -1142,6 +1142,13 @@ struct kdbus_msg_info {
             failed with an I/O error.
           </para></listitem>
         </varlistentry>
+
+        <varlistentry>
+          <term><constant>ECANCELED</constant></term>
+          <listitem><para>
+            A synchronous message sending was cancelled.
+          </para></listitem>
+        </varlistentry>
       </variablelist>
     </refsect2>
 
-- 
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web