From fc53809803cd2bc2434e312b19a18fa36776da12 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 05:50:40 +0200 Subject: Adding upstream version 256. Signed-off-by: Daniel Baumann --- man/sd_bus_creds_get_pid.xml | 57 ++++++++++++++++++++++++++------------------ 1 file changed, 34 insertions(+), 23 deletions(-) (limited to 'man/sd_bus_creds_get_pid.xml') diff --git a/man/sd_bus_creds_get_pid.xml b/man/sd_bus_creds_get_pid.xml index 66fcaa7..0630329 100644 --- a/man/sd_bus_creds_get_pid.xml +++ b/man/sd_bus_creds_get_pid.xml @@ -1,6 +1,6 @@ + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> @@ -17,6 +17,7 @@ sd_bus_creds_get_pid + sd_bus_creds_get_pidfd_dup sd_bus_creds_get_ppid sd_bus_creds_get_tid sd_bus_creds_get_uid @@ -64,6 +65,12 @@ pid_t *pid + + int sd_bus_creds_get_pidfd_dup + sd_bus_creds *c + int *ret_fd + + int sd_bus_creds_get_ppid sd_bus_creds *c @@ -289,11 +296,14 @@ sd_bus_creds_get_mask3 to determine the mask of fields available. - sd_bus_creds_get_pid() will retrieve - the PID (process identifier). Similarly, - sd_bus_creds_get_ppid() will retrieve the - parent PID. Note that PID 1 has no parent process, in which case - -ENXIO is returned. + sd_bus_creds_get_pid() will retrieve the PID (process identifier). Similarly, + sd_bus_creds_get_ppid() will retrieve the parent PID. Note that PID 1 has no parent + process, in which case -ENXIO is returned. + + sd_bus_creds_get_pidfd_dup() will retrieve the PID file descriptor (pidfd), + see pidfd_open2 for + details. The file descriptor is duplicated and thus must be closed by the caller. sd_bus_creds_get_tid() will retrieve the TID (thread identifier). @@ -529,9 +539,9 @@ sd_bus_creds_get_selinux_context(), sd_bus_creds_get_audit_session_id(), sd_bus_creds_get_audit_login_uid(), - sd_bus_creds_get_unique_name(), and - sd_bus_creds_get_well_known_names() were added in version 209. - sd_bus_creds_get_ppid(), + sd_bus_creds_get_unique_name(), + sd_bus_creds_get_well_known_names(), + sd_bus_creds_get_ppid(), sd_bus_creds_get_uid(), sd_bus_creds_get_euid(), sd_bus_creds_get_suid(), @@ -540,25 +550,26 @@ sd_bus_creds_get_sgid(), sd_bus_creds_get_fsgid(), sd_bus_creds_get_supplementary_gids(), - sd_bus_creds_get_tty(), and - sd_bus_creds_get_description() were added in version 220. - sd_bus_creds_get_user_slice() was added in version 223. + sd_bus_creds_get_tty(), + sd_bus_creds_get_description(), and + sd_bus_creds_get_user_slice() were added in version 221. + sd_bus_creds_get_pidfd_dup() was added in version 256. See Also - - systemd1, - sd-bus3, - sd_bus_creds_new_from_pid2, - fork2, - execve2, - credentials7, - free3, - proc5, - systemd.journal-fields7 - + + systemd1 + sd-bus3 + sd_bus_creds_new_from_pid2 + fork2 + execve2 + credentials7 + free3 + proc5 + systemd.journal-fields7 + -- cgit v1.2.3