From: Lennart Poettering Date: Fri, 20 Aug 2021 08:53:23 +0000 (+0200) Subject: man: reference getrandom(2) instead of urandom from sd_id128_randomize() page X-Git-Tag: v250-rc1~797^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f3ce631bbc917b75b8dbfb5b9747b7cde24e7ae9;p=thirdparty%2Fsystemd.git 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. --- 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