X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsd_bus_creds_get_pid.xml;h=e0f8909e87d7ecf8b903fb9e5e2989dd687cbc9e;hb=6dfcc64bb5c67ec2e026715146c19acf93dab31a;hp=fcc5557163ab2a36b9bb3edd071a6469ae07f561;hpb=b7ea3f3ed6204dca31f8f2a84b667c1783259c5b;p=elogind.git
diff --git a/man/sd_bus_creds_get_pid.xml b/man/sd_bus_creds_get_pid.xml
index fcc555716..e0f8909e8 100644
--- a/man/sd_bus_creds_get_pid.xml
+++ b/man/sd_bus_creds_get_pid.xml
@@ -1,4 +1,4 @@
-
+
@@ -67,6 +67,7 @@ along with systemd; If not, see .
sd_bus_creds_get_audit_login_uid
sd_bus_creds_get_unique_name
sd_bus_creds_get_well_known_names
+ sd_bus_creds_get_connection_name
Retrieve fields from a credentials object
@@ -219,6 +220,12 @@ along with systemd; If not, see .
char ***name
+
+ int sd_bus_creds_get_connection_name
+ sd_bus_creds *c
+ const char **name
+
+
@@ -230,7 +237,7 @@ along with systemd; If not, see .
sd_bus_creds_new_from_pid3,
in which case it will describe the specified process, or it may be
created by
- sd_bus_get_peer_creds3,
+ sd_bus_get_owner_creds3,
in which case it will describe the process at the other endpoint
of a connection.
@@ -268,7 +275,7 @@ along with systemd; If not, see .
sd_bus_creds_get_cmdline() will retrieve
- an array of command-line arguments (as stored in
+ an array of command line arguments (as stored in
/proc/pid/cmdline).
@@ -352,6 +359,13 @@ along with systemd; If not, see .
url="http://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-names-bus">The
D-Bus specification.
+ sd_bus_creds_get_connection_name() will
+ retrieve a descriptive name of the bus connection of the
+ peer. This name is useful to discern multiple bus connections by
+ the same peer, and may be altered by the peer with the
+ sd_bus_set_name()3
+ call.
+
All functions that take a const
char** parameter will store the answer there as an
address of a NUL-terminated string. It will be valid as long as
@@ -396,7 +410,7 @@ along with systemd; If not, see .
sd_bus_get_user_unit(),
sd_bus_get_slice(),
sd_bus_get_session(), and
- sd_bus_get_owner_uid() if the sender is not
+ sd_bus_get_name_creds_uid() if the sender is not
part of a systemd system unit, systemd user unit, systemd
slice, logind session, or a systemd user session.