chiark / gitweb /
man: document more error codes for sd_bus_request_name()
authorLennart Poettering <lennart@poettering.net>
Fri, 13 Dec 2013 15:01:54 +0000 (16:01 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 13 Dec 2013 15:01:54 +0000 (16:01 +0100)
TODO
man/sd_bus_request_name.xml

diff --git a/TODO b/TODO
index 7986497..a694780 100644 (file)
--- a/TODO
+++ b/TODO
@@ -425,7 +425,6 @@ Features:
   - nspawn: investigate whether we can support the same as LXC's
     lxc.network.type=phys mode, and pass through entire network
     interfaces to the container
-  - nspawn: maybe add a way to drop additional caps, in addition to add additional caps
   - nspawn: maybe explicitly reset loginuid?
   - nspawn: make it work for dwalsh and shared /usr containers -- tmpfs mounts as command line parameters, selinux exec context
   - refuses to boot containers without /etc/machine-id (OK?), and with empty /etc/machine-id (not OK).
@@ -433,6 +432,7 @@ Features:
     SOCK_RAW, NETLINK_AUDIT) fail the the appropriate error code that
     makes the audit userspace to think auditing is not available in the
     kernel.
+  - support taking a btrfs snapshot at startup and dropping it afterwards
 
 * cryptsetup:
   - cryptsetup-generator: allow specification of passwords in crypttab itself
index 039b962..23d49fb 100644 (file)
@@ -56,7 +56,7 @@
                                 <funcdef>int <function>sd_bus_request_name</function></funcdef>
                                 <paramdef>sd_bus* <parameter>bus</parameter></paramdef>
                                 <paramdef>const char *<parameter>name</parameter></paramdef>
-                                <paramdef>unsigned <parameter>flags</parameter></paramdef>
+                                <paramdef>uint64_t <parameter>flags</parameter></paramdef>
                         </funcprototype>
 
                         <funcprototype>
@@ -64,8 +64,6 @@
                                 <paramdef>sd_bus* <parameter>bus</parameter></paramdef>
                                 <paramdef>const char *<parameter>name</parameter></paramdef>
                         </funcprototype>
-
-
                 </funcsynopsis>
         </refsynopsisdiv>
 
                         </varlistentry>
 
                         <varlistentry>
+                                <term><varname>-ESRCH</varname></term>
+
+                                <listitem><para>It was attemted to
+                                release a name that is currently not
+                                registered on the
+                                bus.</para></listitem>
+                        </varlistentry>
+
+                        <varlistentry>
+                                <term><varname>-EADDRINUSE</varname></term>
+
+                                <listitem><para>It was attemted to
+                                release a name that is owned by a
+                                different peer on the
+                                bus.</para></listitem>
+                        </varlistentry>
+
+                        <varlistentry>
                                 <term><varname>-EINVAL</varname></term>
 
                                 <listitem><para>A specified parameter