From a56b63f41dc779a86573ae77814c14c1db156398 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 13 Dec 2013 16:01:54 +0100 Subject: [PATCH 1/1] man: document more error codes for sd_bus_request_name() --- TODO | 2 +- man/sd_bus_request_name.xml | 22 +++++++++++++++++++--- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/TODO b/TODO index 79864971d..a6947804a 100644 --- 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 diff --git a/man/sd_bus_request_name.xml b/man/sd_bus_request_name.xml index 039b9627e..23d49fb4c 100644 --- a/man/sd_bus_request_name.xml +++ b/man/sd_bus_request_name.xml @@ -56,7 +56,7 @@ int sd_bus_request_name sd_bus* bus const char *name - unsigned flags + uint64_t flags @@ -64,8 +64,6 @@ sd_bus* bus const char *name - - @@ -164,6 +162,24 @@ name. + + -ESRCH + + It was attemted to + release a name that is currently not + registered on the + bus. + + + + -EADDRINUSE + + It was attemted to + release a name that is owned by a + different peer on the + bus. + + -EINVAL -- 2.30.2