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_id128_get_machine.xml | 41 ++++++++++++++++++++++++++--------------- 1 file changed, 26 insertions(+), 15 deletions(-) (limited to 'man/sd_id128_get_machine.xml') diff --git a/man/sd_id128_get_machine.xml b/man/sd_id128_get_machine.xml index 43ee26d..59f3266 100644 --- a/man/sd_id128_get_machine.xml +++ b/man/sd_id128_get_machine.xml @@ -1,6 +1,6 @@ + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> @@ -63,6 +63,12 @@ sd_id128_t *ret + + int sd_id128_get_invocation_app_specific + sd_id128_t app_id + sd_id128_t *ret + + @@ -126,12 +132,16 @@ for details. The ID is cached internally. In future a different mechanism to determine the invocation ID may be added. + sd_id128_get_invocation_app_specific() derives an application-specific ID from + the invocation ID. + Note that sd_id128_get_machine_app_specific(), - sd_id128_get_boot(), sd_id128_get_boot_app_specific(), and - sd_id128_get_invocation() always return UUID Variant 1 Version 4 compatible IDs. - sd_id128_get_machine() will also return a UUID Variant 1 Version 4 compatible ID on - new installations but might not on older. It is possible to convert the machine ID non-reversibly into a - UUID Variant 1 Version 4 compatible one. For more information, see + sd_id128_get_boot(), sd_id128_get_boot_app_specific(), + sd_id128_get_invocation() and + sd_id128_get_invocation_app_specific always return UUID Variant 1 Version 4 + compatible IDs. sd_id128_get_machine() will also return a UUID Variant 1 Version 4 + compatible ID on new installations but might not on older. It is possible to convert the machine ID + non-reversibly into a UUID Variant 1 Version 4 compatible one. For more information, see machine-id5. It is hence guaranteed that these functions will never return the ID consisting of all zero or all one bits (SD_ID128_NULL, SD_ID128_ALLF) — with the possible exception of @@ -262,20 +272,21 @@ As man:sd-id128(3) macro: sd_id128_get_machine_app_specific() was added in version 233. sd_id128_get_boot_app_specific() was added in version 240. sd_id128_get_app_specific() was added in version 255. + sd_id128_get_invocation_app_specific() was added in version 256. See Also - - systemd1, - systemd-id1281, - sd-id1283, - machine-id5, - systemd.exec5, - sd_id128_randomize3, - random4 - + + systemd1 + systemd-id1281 + sd-id1283 + machine-id5 + systemd.exec5 + sd_id128_randomize3 + random4 + -- cgit v1.2.3