X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsd_bus_creds_get_pid.xml;h=d61ec19cb84ff7f5d8ace5dc7e5d02cb0f0916dd;hp=fcc5557163ab2a36b9bb3edd071a6469ae07f561;hb=e45fc5e738b0b7700e8b4f3c4b25c58a49b44b27;hpb=b7ea3f3ed6204dca31f8f2a84b667c1783259c5b
diff --git a/man/sd_bus_creds_get_pid.xml b/man/sd_bus_creds_get_pid.xml
index fcc555716..d61ec19cb 100644
--- a/man/sd_bus_creds_get_pid.xml
+++ b/man/sd_bus_creds_get_pid.xml
@@ -1,4 +1,4 @@
-
+
@@ -44,7 +44,6 @@ along with systemd; If not, see .
sd_bus_creds_get_pid
- sd_bus_creds_get_pid_starttime
sd_bus_creds_get_tid
sd_bus_creds_get_uid
sd_bus_creds_get_gid
@@ -67,6 +66,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
@@ -81,12 +81,6 @@ along with systemd; If not, see .
pid_t *pid
-
- int sd_bus_creds_get_pid_starttime
- sd_bus_creds *c
- uint64_t *usec
-
-
int sd_bus_creds_get_tid
sd_bus_creds *c
@@ -219,6 +213,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 +230,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.
@@ -238,10 +238,6 @@ along with systemd; If not, see .
sd_bus_creds_get_pid() will retrieve the
PID (process identifier).
- sd_bus_creds_get_pid_starttime() will
- retrieve the time since the start of the epoch in microseconds
- since the process was started.
-
sd_bus_creds_get_tid() will retrieve the
TID (thread identifier).
@@ -268,7 +264,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 +348,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 +399,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.