man: document more error codes for sd_bus_request_name()

This commit is contained in:
Lennart Poettering 2013-12-13 16:01:54 +01:00
parent 043ccd8383
commit a56b63f41d
2 changed files with 20 additions and 4 deletions

2
TODO
View file

@ -425,7 +425,6 @@ Features:
- nspawn: investigate whether we can support the same as LXC's - nspawn: investigate whether we can support the same as LXC's
lxc.network.type=phys mode, and pass through entire network lxc.network.type=phys mode, and pass through entire network
interfaces to the container 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: maybe explicitly reset loginuid?
- nspawn: make it work for dwalsh and shared /usr containers -- tmpfs mounts as command line parameters, selinux exec context - 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). - 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 SOCK_RAW, NETLINK_AUDIT) fail the the appropriate error code that
makes the audit userspace to think auditing is not available in the makes the audit userspace to think auditing is not available in the
kernel. kernel.
- support taking a btrfs snapshot at startup and dropping it afterwards
* cryptsetup: * cryptsetup:
- cryptsetup-generator: allow specification of passwords in crypttab itself - cryptsetup-generator: allow specification of passwords in crypttab itself

View file

@ -56,7 +56,7 @@
<funcdef>int <function>sd_bus_request_name</function></funcdef> <funcdef>int <function>sd_bus_request_name</function></funcdef>
<paramdef>sd_bus* <parameter>bus</parameter></paramdef> <paramdef>sd_bus* <parameter>bus</parameter></paramdef>
<paramdef>const char *<parameter>name</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>sd_bus* <parameter>bus</parameter></paramdef>
<paramdef>const char *<parameter>name</parameter></paramdef> <paramdef>const char *<parameter>name</parameter></paramdef>
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
@ -164,6 +162,24 @@
name.</para></listitem> name.</para></listitem>
</varlistentry> </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> <varlistentry>
<term><varname>-EINVAL</varname></term> <term><varname>-EINVAL</varname></term>