diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-12-13 16:01:54 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-12-13 16:01:54 +0100 |
commit | a56b63f41dc779a86573ae77814c14c1db156398 (patch) | |
tree | 00a4f9c5bf7611380000746548aec19f14166517 | |
parent | 043ccd8383a36a9d4f7b37c04670c9e6a57f391d (diff) |
man: document more error codes for sd_bus_request_name()
-rw-r--r-- | TODO | 2 | ||||
-rw-r--r-- | man/sd_bus_request_name.xml | 22 |
2 files changed, 20 insertions, 4 deletions
@@ -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 diff --git a/man/sd_bus_request_name.xml b/man/sd_bus_request_name.xml index 039b9627e3..23d49fb4ca 100644 --- a/man/sd_bus_request_name.xml +++ b/man/sd_bus_request_name.xml @@ -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> @@ -165,6 +163,24 @@ </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 |