X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=man%2Fsd_bus_creds_new_from_pid.xml;h=ca9cab72926f182ea97ebcc8dd420c8a5b158ddd;hb=eea10b26f78806d7b244af7d37f75fd567c69610;hp=b4d7d61d0faeda5a5936d1b87ec4d1ff2521fec6;hpb=f5df066d1d28920e49cf03d5950330138ea4f236;p=thirdparty%2Fsystemd.git diff --git a/man/sd_bus_creds_new_from_pid.xml b/man/sd_bus_creds_new_from_pid.xml index b4d7d61d0fa..ca9cab72926 100644 --- a/man/sd_bus_creds_new_from_pid.xml +++ b/man/sd_bus_creds_new_from_pid.xml @@ -1,40 +1,13 @@ - - + + + - - - + sd_bus_creds_new_from_pid systemd - - - - A monkey with a typewriter - Zbigniew - Jędrzejewski-Szmek - zbyszek@in.waw.pl - - @@ -210,7 +183,7 @@ for the credential fields that could not be determined atomically at peer connection time, and which were later added by reading augmenting credential data from - /proc. Similarly, for credential objects + /proc/. Similarly, for credential objects retrieved via sd_bus_get_owner_creds(), the mask is set for the fields that could not be determined atomically at bus creation time, but have been augmented. Similarly, for @@ -270,7 +243,7 @@ sd_bus_creds_get_augmented_mask() returns the mask of fields that have been augmented from data in - /proc, and are thus not suitable for + /proc/, and are thus not suitable for authorization decisions. sd_bus_creds_ref() always returns the @@ -288,66 +261,65 @@ not needed anymore, this reference should be destroyed with sd_bus_creds_unref3. - - - Errors + + Errors - Returned errors may indicate the following problems: + Returned errors may indicate the following problems: - + - - -ESRCH + + -ESRCH - Specified pid could not - be found. - + Specified pid could not be found. + - - -EINVAL + + -EINVAL - Specified parameter is invalid - (NULL in case of output - parameters). - + Specified parameter is invalid (NULL in case of output + parameters). + - - -ENOMEM + + -ENOMEM - Memory allocation failed. - + Memory allocation failed. + - - -EOPNOTSUPP + + -EOPNOTSUPP - One of the requested fields is unknown to the local system. - - + One of the requested fields is unknown to the local system. + + + + + - Notes - - sd_bus_creds_new_from_pid() and the - other calls described here are available as a shared library, - which can be compiled and linked to with the - libsystemd pkg-config1 - file. + History + sd_bus_creds_new_from_pid(), + sd_bus_creds_get_mask(), + sd_bus_creds_ref(), and + sd_bus_creds_unref() were added in version 209. + sd_bus_creds_get_augmented_mask() was added in version 223. + sd_bus_creds_unrefp() was added in version 229. See Also - - systemd1, - sd-bus3, - sd_bus_creds_get_pid3, - sd_bus_get_name_creds3, - sd_bus_get_owner_creds3, - sd_bus_message_get_creds3 - + + systemd1 + sd-bus3 + sd_bus_creds_get_pid3 + sd_bus_get_name_creds3 + sd_bus_get_owner_creds3 + sd_bus_message_get_creds3 +