From f3ce631bbc917b75b8dbfb5b9747b7cde24e7ae9 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 20 Aug 2021 10:53:23 +0200 Subject: [PATCH] man: reference getrandom(2) instead of urandom from sd_id128_randomize() page It's 2021, /dev/urandom is mostly a thing of the past now. --- man/sd_id128_randomize.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/man/sd_id128_randomize.xml b/man/sd_id128_randomize.xml index 52fa089ec35..2df3547d407 100644 --- a/man/sd_id128_randomize.xml +++ b/man/sd_id128_randomize.xml @@ -35,12 +35,11 @@ Description - sd_id128_randomize() generates a new - randomized 128-bit ID and returns it in - ret. Every invocation returns a new - randomly generated ID. This uses the - /dev/urandom kernel random number - generator. + sd_id128_randomize() generates a new randomized 128-bit ID and returns it in + ret. Every invocation returns a new randomly generated ID. This uses the + getrandom2 + kernel random number generator. Note that sd_id128_randomize() always returns a UUID Variant 1 Version 4 compatible ID. It is hence guaranteed that this function will never return the ID consisting of all zero @@ -72,7 +71,8 @@ systemd1, sd-id1283, machine-id5, - random4, + getrandom2, + random4, sd_id128_get_machine3 -- 2.47.3