summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorKyle Huey <khuey@kylehuey.com>2020-09-23 14:19:09 -0700
committerLennart Poettering <lennart@poettering.net>2020-09-24 09:22:45 +0200
commitfbccb980e5b48375047114777d203401a9e33c6c (patch)
treef7da1fa0e018f29462d97f082f4b3415d15fe5f1 /docs
parent6de6f4891f0a051cf317dcc65e49d21b3ca1783c (diff)
downloadsystemd-fbccb980e5b48375047114777d203401a9e33c6c.tar.gz
random-util: Add an environment variable to disable RDRAND.
SYSTEMD_RDRAND=0 will prevent using RDRAND even on systems whose CPUID claims to support it. All other values have no effect. Fixes: #17112
Diffstat (limited to 'docs')
-rw-r--r--docs/ENVIRONMENT.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/ENVIRONMENT.md b/docs/ENVIRONMENT.md
index ea433a497a..38752c9169 100644
--- a/docs/ENVIRONMENT.md
+++ b/docs/ENVIRONMENT.md
@@ -80,6 +80,9 @@ All tools:
honoured on systems built with libxcrypt and is ignored on systems using
glibc's original, internal crypt() implementation.)
+* `$SYSTEMD_RDRAND=0` — if set, the RDRAND instruction will never be used,
+ even if the CPU supports it.
+
systemctl:
* `$SYSTEMCTL_FORCE_BUS=1` — if set, do not connect to PID1's private D-Bus