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 79864971daa8ef94bfb2db5aea31db31cf684ded..a6947804aa16cd1438fd531e80942e01e7b9d82e 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: 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).
   - 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.
     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
 
 * cryptsetup:
   - cryptsetup-generator: allow specification of passwords in crypttab itself
index 039b9627e3ac00aa3b778c251ae0154ac76ad755..23d49fb4caa15305a92c723911e878ad8d5ef8c8 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>
                                 <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>
                         </funcprototype>
 
                         <funcprototype>
@@ -64,8 +64,6 @@
                                 <paramdef>sd_bus* <parameter>bus</parameter></paramdef>
                                 <paramdef>const char *<parameter>name</parameter></paramdef>
                         </funcprototype>
                                 <paramdef>sd_bus* <parameter>bus</parameter></paramdef>
                                 <paramdef>const char *<parameter>name</parameter></paramdef>
                         </funcprototype>
-
-
                 </funcsynopsis>
         </refsynopsisdiv>
 
                 </funcsynopsis>
         </refsynopsisdiv>
 
                                 name.</para></listitem>
                         </varlistentry>
 
                                 name.</para></listitem>
                         </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>
 
                         <varlistentry>
                                 <term><varname>-EINVAL</varname></term>